* detect storage controller and handle
(ata/ide/scsi busses all set controller_name) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42723 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
252add8c21
commit
e2ee3ffe9e
@ -323,7 +323,13 @@ DevicesView::AddDeviceAndChildren(device_node_cookie *node, Device* parent)
|
||||
break;
|
||||
}
|
||||
|
||||
// SCSI device
|
||||
// ATA / SCSI / IDE controller
|
||||
if (attributes[i].fName == "controller_name") {
|
||||
newDevice = new Device(parent, BUS_PCI,
|
||||
CAT_MASS, attributes[i].fValue);
|
||||
}
|
||||
|
||||
// SCSI device node
|
||||
if (attributes[i].fName == B_DEVICE_BUS
|
||||
&& attributes[i].fValue == "scsi") {
|
||||
newDevice = new DeviceSCSI(parent);
|
||||
|
Loading…
Reference in New Issue
Block a user