diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-02-03 01:28:20 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-02-03 10:38:42 -0500 |
commit | 4d8510cdcca0a6b160bb8dc3a254ab0baacb10f6 (patch) | |
tree | 03e971f2bc93a834a3dd57a304b9a6a17309eba4 /src/hw/usb-uhci.c | |
parent | 62ff9d5f649c6ce0d8cbea5d90080afc9870f54a (diff) | |
download | seabios-4d8510cdcca0a6b160bb8dc3a254ab0baacb10f6.tar.gz |
pci: Split low-level pci code from higher-level 'struct pci_device' code
Split pci.c into pci.c and pcidevice.c. The low-level code that
interacts directly with the PCI devices remains in pci.c, while
functions dealing with the higher level pci_device cache move to
pcidevice.c. Only pci.c is needed in 16bit mode.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb-uhci.c')
-rw-r--r-- | src/hw/usb-uhci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hw/usb-uhci.c b/src/hw/usb-uhci.c index ed7c39a4..075ed02c 100644 --- a/src/hw/usb-uhci.c +++ b/src/hw/usb-uhci.c @@ -8,7 +8,8 @@ #include "config.h" // CONFIG_* #include "malloc.h" // free #include "output.h" // dprintf -#include "pci.h" // pci_bdf_to_bus +#include "pci.h" // pci_config_writew +#include "pcidevice.h" // foreachpci #include "pci_ids.h" // PCI_CLASS_SERIAL_USB_UHCI #include "pci_regs.h" // PCI_BASE_ADDRESS_4 #include "string.h" // memset |