4 #define __SIMPLE_DEVICE__
13 #define DEBUGPORT_MISC_CONTROL 0x80
23 else if (hcd_idx == 2)
36 reg32 &= ~(0xf << 28);
37 reg32 |= (
port << 28);
static void write32(void *addr, uint32_t val)
static uint32_t read32(const void *addr)
void outb(u8 val, u16 port)
u8 * pci_ehci_base_regs(pci_devfn_t sdev)
#define PCI_DEV(SEGBUS, DEV, FN)
pci_devfn_t pci_ehci_dbg_dev(unsigned int hcd_idx)
void pci_ehci_dbg_set_port(pci_devfn_t dev, unsigned int port)
#define DEBUGPORT_MISC_CONTROL