return FALSE;
}
/* Try to create the AoE bus. */
- new_bus = bus__create();
+ new_bus = WvBusCreate();
if (!new_bus) {
DBG("Failed to create AoE bus!\n");
goto err_new_bus;
IN PDEVICE_CAPABILITIES
);
extern winvblock__lib_func void WvBusInit(WV_SP_BUS_T);
-extern winvblock__lib_func WV_SP_BUS_T bus__create(void);
+extern winvblock__lib_func WV_SP_BUS_T WvBusCreate(void);
extern winvblock__lib_func winvblock__bool STDCALL bus__add_child(
IN OUT WV_SP_BUS_T,
IN struct device__type *
* WV_S_BUS_T, track it in a global list, as well as populate the bus
* with default values.
*/
-winvblock__lib_func WV_SP_BUS_T bus__create(void) {
+winvblock__lib_func WV_SP_BUS_T WvBusCreate(void) {
struct device__type * dev;
WV_SP_BUS_T bus;
goto err_already_established;
}
/* Create the bus. */
- bus = bus__create();
+ bus = WvBusCreate();
if (!bus) {
- DBG("bus__create() failed for the main bus.\n");
+ DBG("WvBusCreate() failed for the main bus.\n");
status = STATUS_INSUFFICIENT_RESOURCES;
goto err_bus;
}