[Etherboot-developers] PCI_CONFIG patch
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Timothy L. <tim...@us...> - 2003-01-22 00:18:37
|
Hi Looking for the "486 R" problem, I decided to disable PCI by removeing -DCONFIG_PCI from the Config file. As a result, I received errors trying to compile pci_io.c. I did the following, but since I don't know if this is the best way to handle it, I did not cvs it. With the patch in place, everything seemed to compile correctly. Tim *** arch/i386/core/pci_io.c Tue Jan 21 19:59:32 2003 --- arch/i386/core/pci_io.c-new Tue Jan 21 20:01:49 2003 *************** *** 12,17 **** --- 12,18 ---- */ #include "etherboot.h" #include "pci.h" + #ifdef CONFIG_PCI #ifdef CONFIG_PCI_DIRECT #define PCIBIOS_SUCCESSFUL 0x00 *************** void find_pci(int type, struct pci_devic *** 332,334 **** --- 333,336 ---- #endif return scan_pci_bus(type, dev); } + #endif |