diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/pci_ehci.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/device/pci_ehci.h b/src/include/device/pci_ehci.h index 48178c8e1f..9d18bcc798 100644 --- a/src/include/device/pci_ehci.h +++ b/src/include/device/pci_ehci.h @@ -23,10 +23,13 @@ #define EHCI_BAR_INDEX 0x10 #define PCI_EHCI_CLASSCODE 0x0c0320 /* USB2.0 with EHCI controller */ +/* Return PCI BDF for an EHCI controller by a given index. PCI function + * must already be powered to respond to configuration requests. + */ pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx); + u8 *pci_ehci_base_regs(pci_devfn_t dev); void pci_ehci_dbg_set_port(pci_devfn_t dev, unsigned int port); -void pci_ehci_dbg_enable(pci_devfn_t dev, unsigned long base); #ifndef __PRE_RAM__ #if !IS_ENABLED(CONFIG_USBDEBUG) |