Oct. 14, 2011
3:33 a.m.
Some cleanups to the pciinit.c code. These are some things I noticed while tracking down the recent bug reports caused by calling ALIGN_DOWN with a zero alignment. This second version of the series is less ambitious than the first version - it's limited to simpler changes that are more obvious. -Kevin Kevin O'Connor (4): Use standard formatting for PCI info during PCI init pass. Separate pciinit.c into clearly delineated sections. Use pci->header_type in pci_bar() to avoid unnecessary pci_config_readb. Simplify pci_slot_get_irq(). src/pciinit.c | 301 +++++++++++++++++++++++++++++--------------------------- 1 files changed, 156 insertions(+), 145 deletions(-) -- 1.7.6.4