From 8aca9ad64dca6d87794f90117d84fcb986b38b28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 3 Apr 2006 11:07:04 +0000 Subject: [PATCH] Commented out removing the /dev/bus/scsi/raw device for IDE devices. This seems to cause some problems with the device manager that needs to be investigated, see bug #393 and #389. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16978 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/bus_managers/scsi/sim_interface.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/add-ons/kernel/bus_managers/scsi/sim_interface.c b/src/add-ons/kernel/bus_managers/scsi/sim_interface.c index 2871fc30b8..1cf0b6da93 100644 --- a/src/add-ons/kernel/bus_managers/scsi/sim_interface.c +++ b/src/add-ons/kernel/bus_managers/scsi/sim_interface.c @@ -68,6 +68,9 @@ scsi_controller_added(device_node_handle parent) }; device_node_handle node; +// TODO: this seems to cause a crash in some configurations, and needs to be investigated! +// see bug #389 and #393. +#if 0 uint32 channel; if (pnp->get_attr_uint32(parent, "ide/channel_id", &channel, true) == B_OK) { @@ -75,6 +78,7 @@ scsi_controller_added(device_node_handle parent) // a bus device for those attrs[5].name = NULL; } +#endif return pnp->register_device(parent, attrs, NULL, &node); }