commit | 76b5e7146bac15ad5357ca9e46bd8f6fd7ace3c2 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Tue Jun 21 22:52:51 2011 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Tue Jun 21 22:52:51 2011 -0400 |
tree | 000e299034fd019807e1cb561fc2307658452119 | |
parent | 278b19f49bc5f62380322f5d2f375a9fceb42a1b [diff] |
Use 'struct pci_device' to note which devices have native drivers. Remove the check in optionroms.c for CONFIG_ATA and PCI_CLASS_STORAGE_IDE with a flag in 'struct pci_device'. This ensures devices using the ATA driver that aren't in PCI_CLASS_STORAGE_IDE don't have their optionroms executed. It also allows other drivers to disable option rom execution in the future.