diff --git a/hermit/arch/x86/kernel/pci.c b/hermit/arch/x86/kernel/pci.c index 8e99dca03..4a9a78624 100644 --- a/hermit/arch/x86/kernel/pci.c +++ b/hermit/arch/x86/kernel/pci.c @@ -32,7 +32,9 @@ #include #include +#ifdef WITH_PCI_IDS #include "pcihdr.h" +#endif /* * PCI configuration registers @@ -182,6 +184,7 @@ int print_pci_adapters(void) counter, adapters[bus][slot] & 0xffff, (adapters[bus][slot] & 0xffff0000) >> 16); +#ifdef WITH_PCI_IDS for (i=0; i