Temporarily disabled bus manager iteration - this might be done differently
anyway when it's all done. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7788 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
#include <kdevice_manager.h>
|
#include <kdevice_manager.h>
|
||||||
|
|
||||||
#include <KernelExport.h>
|
#include <KernelExport.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
|
||||||
//#define TRACE_DEVICE_MANAGER
|
//#define TRACE_DEVICE_MANAGER
|
||||||
@@ -109,6 +110,9 @@ status_t
|
|||||||
device_manager_init(struct kernel_args *args)
|
device_manager_init(struct kernel_args *args)
|
||||||
{
|
{
|
||||||
status_t status;
|
status_t status;
|
||||||
|
// char name[B_FILE_NAME_LENGTH];
|
||||||
|
// size_t size = sizeof(name);
|
||||||
|
// int32 cookie;
|
||||||
|
|
||||||
TRACE(("device manager init\n"));
|
TRACE(("device manager init\n"));
|
||||||
|
|
||||||
@@ -135,6 +139,20 @@ device_manager_init(struct kernel_args *args)
|
|||||||
pnp_fs_emulation_nesting = 0;
|
pnp_fs_emulation_nesting = 0;
|
||||||
|
|
||||||
pnp_root_init_root();
|
pnp_root_init_root();
|
||||||
|
|
||||||
|
// build initial device tree; register all root bus_managers
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
cookie = 0;
|
||||||
|
while (get_next_loaded_module_name(&cookie, name, &size) == B_OK) {
|
||||||
|
if (strncmp(name, "bus_managers", 12))
|
||||||
|
continue;
|
||||||
|
|
||||||
|
dprintf(": %s\n", name);
|
||||||
|
size = sizeof(name);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user