On Wed, Nov 5, 2008 at 3:42 PM, ron minnich rminnich@gmail.com wrote:
/** Set the method to be used for PCI, type I or type II */ void pci_set_method(struct device * dev) { printk(BIOS_INFO, "Finding PCI configuration type.\n"); dev->ops->ops_pci_bus = pci_check_direct(); post_code(POST_STAGE2_PHASE2_PCI_SET_METHOD); }
yeah, just set it. This is historical from when we supported type i or type ii, but nobody uses type ii
I left the infrastructure there so that it could be easily used for memory-mapped checking. Otherwise the whole file needs to die.
I also changed the function call, since it was only using the device pointer to set the operations. Now it uses the device pointer to tell it which ops to check.
Signed-off-by: Myles Watson mylesgw@gmail.com
With this change, my other patch is build tested for qemu, norwich, & serengeti.
Run-tested on qemu & serengeti.
Thanks, Myles