[SeaBIOS] [PATCH 0/7] Convert boot priority code to use 'struct pci_device'.

Kevin O'Connor kevin at koconnor.net
Sat Jul 9 20:55:48 CEST 2011


This patch series is the last of the 'struct pci_device' code
conversions.  The goal of this series is to replace the use of 'u16
bdf' with 'struct pci_device' in the boot priority code.  At the end
of this series the 'find_pci()' code, which was introduced in the
beginning of the pci_device conversion, can be removed.

-Kevin


Kevin O'Connor (7):
  Push 'struct pci_device' into USB code (instead of using u16 bdf).
  Push use of 'struct pci_device' to bootprio_find_usb().
  Push use of 'struct pci_device' to bootprio_find_pci_device().
  Push use of 'struct pci_device' to bootprio_find_fdc_device().
  Push use of 'struct pci_device' to bootprio_find_ata_device().
  Push use of 'struct pci_device' to bootprio_find_pci_rom().
  Remove now unneeded find_pci().

 src/ata.c        |   20 +++++++++++---------
 src/ata.h        |    1 +
 src/boot.c       |   37 ++++++++++++-------------------------
 src/boot.h       |   11 ++++++-----
 src/floppy.c     |    2 +-
 src/optionroms.c |    4 ++--
 src/usb-ehci.c   |   40 +++++++++++++++-------------------------
 src/usb-ehci.h   |    2 +-
 src/usb-msc.c    |    4 ++--
 src/usb-ohci.c   |    5 +++--
 src/usb-ohci.h   |    2 +-
 src/usb-uhci.c   |    5 +++--
 src/usb-uhci.h   |    2 +-
 src/usb.c        |    6 +++---
 src/usb.h        |    2 +-
 src/virtio-blk.c |    7 ++++---
 16 files changed, 67 insertions(+), 83 deletions(-)

-- 
1.7.4.4




More information about the SeaBIOS mailing list