It may also search recursively for that attribute.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16947 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-04-01 12:33:56 +00:00
parent fee490b02d
commit 84e4066d57
@@ -70,7 +70,7 @@ scsi_controller_added(device_node_handle parent)
device_node_handle node;
uint32 channel;
if (pnp->get_attr_uint32(parent, "ide/channel_id", &channel, false) == B_OK) {
if (pnp->get_attr_uint32(parent, "ide/channel_id", &channel, true) == B_OK) {
// this is actually an IDE device, we don't need to publish
// a bus device for those
attrs[5].name = NULL;