diff options
Diffstat (limited to 'include/pci.h')
| -rw-r--r-- | include/pci.h | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/include/pci.h b/include/pci.h index 7f67ca65426..4fbb8f6729f 100644 --- a/include/pci.h +++ b/include/pci.h @@ -697,5 +697,14 @@ void pci_write_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum,   * */  u32 pci_read_bar32(struct pci_controller *hose, pci_dev_t dev, int barnum); +/** + * pciauto_setup_rom() - Set up access to a device ROM + * + * @hose:	PCI hose to use + * @dev:	PCI device to adjust + * @return 0 if done, -ve on error + */ +int pciauto_setup_rom(struct pci_controller *hose, pci_dev_t dev); +  #endif /* __ASSEMBLY__ */  #endif /* _PCI_H */ | 
