mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
[pci] Allow pci_find_next() to return non-zero PCI segments
Separate the return status code from the returned PCI bus:dev.fn address, in order to allow pci_find_next() to be used to find devices with a non-zero PCI segment number. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -301,7 +301,7 @@ extern void adjust_pci_device ( struct pci_device *pci );
|
||||
extern unsigned long pci_bar_start ( struct pci_device *pci,
|
||||
unsigned int reg );
|
||||
extern int pci_read_config ( struct pci_device *pci );
|
||||
extern int pci_find_next ( struct pci_device *pci, unsigned int busdevfn );
|
||||
extern int pci_find_next ( struct pci_device *pci, uint32_t *busdevfn );
|
||||
extern int pci_find_driver ( struct pci_device *pci );
|
||||
extern int pci_probe ( struct pci_device *pci );
|
||||
extern void pci_remove ( struct pci_device *pci );
|
||||
|
||||
Reference in New Issue
Block a user