fix build

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23314 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2008-01-09 17:53:30 +00:00
parent 27d6150677
commit 478a8f0151

View File

@ -473,9 +473,9 @@ channel_init(device_node_handle node, void *userCookie, void **_channelCookie)
if (1 /* debug */){
uint8 bus, device, function;
uint16 vendorID, deviceID;
dm->get_attr_uint16(node, PCI_DEVICE_BUS_ITEM, &bus, true);
dm->get_attr_uint16(node, PCI_DEVICE_DEVICE_ITEM, &device, true);
dm->get_attr_uint16(node, PCI_DEVICE_FUNCTION_ITEM, &function, true);
dm->get_attr_uint8(node, PCI_DEVICE_BUS_ITEM, &bus, true);
dm->get_attr_uint8(node, PCI_DEVICE_DEVICE_ITEM, &device, true);
dm->get_attr_uint8(node, PCI_DEVICE_FUNCTION_ITEM, &function, true);
dm->get_attr_uint16(node, PCI_DEVICE_VENDOR_ID_ITEM, &vendorID, true);
dm->get_attr_uint16(node, PCI_DEVICE_DEVICE_ID_ITEM, &deviceID, true);
TRACE("bus %3d, device %2d, function %2d: vendor %04x, device %04x\n",