[bus] Rename bus__get_dev_capabilities to WvBusGetDevCapabilities
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Fri, 17 Dec 2010 23:00:12 +0000 (18:00 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Fri, 17 Dec 2010 23:00:27 +0000 (18:00 -0500)
src/include/bus.h
src/winvblock/bus/bus.c
src/winvblock/bus/pnp.c
src/winvblock/disk/pnp.c

index 8cb8608..c2258aa 100644 (file)
@@ -73,7 +73,7 @@ typedef struct WV_BUS_NODE {
   } WV_S_BUS_NODE, * WV_SP_BUS_NODE;
 
 /* Exports. */
-extern NTSTATUS STDCALL bus__get_dev_capabilities(
+extern NTSTATUS STDCALL WvBusGetDevCapabilities(
     IN PDEVICE_OBJECT,
     IN PDEVICE_CAPABILITIES
   );
index f2c3944..d8f2149 100644 (file)
@@ -187,7 +187,7 @@ static NTSTATUS STDCALL bus__power_(
     return driver__complete_irp(irp, 0, STATUS_SUCCESS);
   }
 
-NTSTATUS STDCALL bus__get_dev_capabilities(
+NTSTATUS STDCALL WvBusGetDevCapabilities(
     IN PDEVICE_OBJECT DeviceObject,
     IN PDEVICE_CAPABILITIES DeviceCapabilities
   ) {
index 3e6e581..5924d7e 100644 (file)
@@ -220,7 +220,7 @@ static NTSTATUS STDCALL bus_pnp__query_capabilities_(
         return IoCallDriver(lower, irp);
       }
     /* Otherwise, return our parent's capabilities. */
-    status = bus__get_dev_capabilities(
+    status = WvBusGetDevCapabilities(
         dev->Parent,
         DeviceCapabilities
       );
index 5283a85..84b74bf 100644 (file)
@@ -218,12 +218,12 @@ static NTSTATUS STDCALL disk_pnp__query_capabilities_(
     bus = bus__get(device__get(dev->Parent));
     bus_lower = bus->LowerDeviceObject;
     if (bus_lower) {
-        status = bus__get_dev_capabilities(
+        status = WvBusGetDevCapabilities(
             bus_lower,
             &ParentDeviceCapabilities
           );
       } else {
-        status = bus__get_dev_capabilities(
+        status = WvBusGetDevCapabilities(
             bus->device->Self,
             &ParentDeviceCapabilities
           );