X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fpci.c;h=2e7044f2dbea27d12717d97b1b77e976b7d22867;hp=7cd114745e219c3abaf3637628171fe1a5fb8e21;hb=82b8b87c344fcd1eab22e3f3be5ad54cbb3f8f68;hpb=d34450b1e6fe3c2e1295c268c1722c669ba8d545 diff --git a/palacios/src/devices/pci.c b/palacios/src/devices/pci.c index 7cd1147..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,7 +875,7 @@ 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