fix the build

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23315 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2008-01-09 17:54:10 +00:00
parent 478a8f0151
commit 84fe450d15

View File

@ -337,9 +337,9 @@ ide_adapter_init_channel(device_node_handle node, ide_channel ide_channel,
if (1 /* debug */){
uint8 bus, device, function;
uint16 vendorID, deviceID;
pnp->get_attr_uint16(node, PCI_DEVICE_BUS_ITEM, &bus, true);
pnp->get_attr_uint16(node, PCI_DEVICE_DEVICE_ITEM, &device, true);
pnp->get_attr_uint16(node, PCI_DEVICE_FUNCTION_ITEM, &function, true);
pnp->get_attr_uint8(node, PCI_DEVICE_BUS_ITEM, &bus, true);
pnp->get_attr_uint8(node, PCI_DEVICE_DEVICE_ITEM, &device, true);
pnp->get_attr_uint8(node, PCI_DEVICE_FUNCTION_ITEM, &function, true);
pnp->get_attr_uint16(node, PCI_DEVICE_VENDOR_ID_ITEM, &vendorID, true);
pnp->get_attr_uint16(node, PCI_DEVICE_DEVICE_ID_ITEM, &deviceID, true);
TRACE("PCI-IDE: bus %3d, device %2d, function %2d: vendor %04x, device %04x\n",