mirror of
https://github.com/ipxe/ipxe
synced 2026-04-04 03:00:20 +03:00
[ehci] Allow UHCI/OHCI controllers to locate the EHCI companion controller
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -239,6 +239,7 @@ struct pci_driver {
|
||||
#define PCI_BUSDEVFN( bus, slot, func ) \
|
||||
( ( (bus) << 8 ) | ( (slot) << 3 ) | ( (func) << 0 ) )
|
||||
#define PCI_FIRST_FUNC( busdevfn ) ( (busdevfn) & ~0x07 )
|
||||
#define PCI_LAST_FUNC( busdevfn ) ( (busdevfn) | 0x07 )
|
||||
|
||||
#define PCI_BASE_CLASS( class ) ( (class) >> 16 )
|
||||
#define PCI_SUB_CLASS( class ) ( ( (class) >> 8 ) & 0xff )
|
||||
|
||||
Reference in New Issue
Block a user