This patch series cleans up pci device initialization by introducing a helper function. This makes it easier to add more device initialization code cleanly as preparation for q35 chipset.
Isaku Yamahata (2): seabios: pci: introduce helper function to initialize a given device. seabios: pciinit: use pci device initializer helper function.
Makefile | 2 +- src/i440fx.c | 52 ++++++++++++++++++ src/i440fx.h | 17 ++++++ src/pci.c | 20 +++++++ src/pci.h | 34 ++++++++++++ src/pciinit.c | 160 ++++++++++++++++++++++++++------------------------------- 6 files changed, 197 insertions(+), 88 deletions(-) create mode 100644 src/i440fx.c create mode 100644 src/i440fx.h