[SeaBIOS] [PATCH 0/4] Use 'struct pci_device' to limit option rom execution.

2011-06-21 Thread Kevin O'Connor
This patch series extends the proliferation of 'struct pci_device' which was introduced in the last patch series. The objective of this series is to ensure that ATA devices configured to use the native ATA driver don't attempt to run an option rom on the device. This can become complex when a

[SeaBIOS] [PATCH 1/4] Use manual PCI search when making bios ram writable.

2011-06-21 Thread Kevin O'Connor
During the ram unlock phase static variables can't be written, so don't rely on the higher level PCI searching functions. This will allow for future simplification of those high level search functions. This also limits the scan for the memory locking device to the first bus - the device should

[SeaBIOS] [PATCH 3/4] Convert pci_init_device to use 'struct pci_device'.

2011-06-21 Thread Kevin O'Connor
--- src/acpi.c| 16 +++--- src/ata.c | 13 ++- src/pci.c | 33 +- src/pci.h |8 -- src/pciinit.c | 61 src/shadow.c | 10 src/smm.c |6 ++-- 7