X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fpci.c;h=2e7044f2dbea27d12717d97b1b77e976b7d22867;hb=82b8b87c344fcd1eab22e3f3be5ad54cbb3f8f68;hp=ef4f4854e65db4cfc0a91bb4831f0487b98fcfe4;hpb=13fb068168e2826db39a481cf85033bb0156d2f9;p=palacios.git diff --git a/palacios/src/devices/pci.c b/palacios/src/devices/pci.c index ef4f485..2e7044f 100644 --- a/palacios/src/devices/pci.c +++ b/palacios/src/devices/pci.c @@ -32,7 +32,7 @@ #include #include -#ifndef DEBUG_PCI +#ifndef CONFIG_DEBUG_PCI #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -99,7 +99,7 @@ struct pci_internal { -#ifdef DEBUG_PCI +#ifdef CONFIG_DEBUG_PCI static void pci_dump_state(struct pci_internal * pci_state) { struct rb_node * node = v3_rb_first(&(pci_state->bus_list[0].devices)); @@ -875,12 +875,9 @@ struct pci_device * v3_pci_register_device(struct vm_device * pci, // add the device add_device_to_bus(bus, pci_dev); -#ifdef DEBUG_PCI +#ifdef CONFIG_DEBUG_PCI pci_dump_state(pci_state); #endif return pci_dev; } - - -