Fix a couple of broken FLOW traces.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27683 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -829,7 +829,7 @@ PCI::_CreateBus(PCIDev *parent, int domain, uint8 bus)
|
|||||||
PCIDev *
|
PCIDev *
|
||||||
PCI::_CreateDevice(PCIBus *parent, uint8 device, uint8 function)
|
PCI::_CreateDevice(PCIBus *parent, uint8 device, uint8 function)
|
||||||
{
|
{
|
||||||
FLOW("PCI: CreateDevice, domain %u, bus %u, dev %u, func %u:\n", parent->domain, parent->bus, dev, function);
|
FLOW("PCI: CreateDevice, domain %u, bus %u, dev %u, func %u:\n", parent->domain, parent->bus, device, function);
|
||||||
|
|
||||||
PCIDev *newDev = new(std::nothrow) PCIDev;
|
PCIDev *newDev = new(std::nothrow) PCIDev;
|
||||||
if (newDev == NULL)
|
if (newDev == NULL)
|
||||||
@@ -846,7 +846,7 @@ PCI::_CreateDevice(PCIBus *parent, uint8 device, uint8 function)
|
|||||||
_ReadBasicInfo(newDev);
|
_ReadBasicInfo(newDev);
|
||||||
|
|
||||||
FLOW("PCI: CreateDevice, vendor 0x%04x, device 0x%04x, class_base 0x%02x, class_sub 0x%02x\n",
|
FLOW("PCI: CreateDevice, vendor 0x%04x, device 0x%04x, class_base 0x%02x, class_sub 0x%02x\n",
|
||||||
newdev->info.vendor_id, newdev->info.device_id, newdev->info.class_base, newdev->info.class_sub);
|
newDev->info.vendor_id, newDev->info.device_id, newDev->info.class_base, newDev->info.class_sub);
|
||||||
|
|
||||||
// append
|
// append
|
||||||
if (parent->child == NULL) {
|
if (parent->child == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user