Changes in / [6c6a95d2:075c1eb] in mainline
- Location:
- uspace/drv
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ehci-hcd/ehci-hcd.ma
r6c6a95d2 r075c1eb 2 2 10 pci/ven=1002&dev=4386 3 3 10 pci/ven=1002&dev=4396 4 10 pci/ven=1002&dev=43735 4 10 pci/ven=1022&dev=7463 6 5 10 pci/ven=1022&dev=7808 -
uspace/drv/ohci/hc.c
r6c6a95d2 r075c1eb 334 334 { 335 335 assert(instance); 336 usb_log_debug("Requesting OHCI control.\n");337 336 /* Turn off legacy emulation */ 338 337 volatile uint32_t *ohci_emulation_reg = … … 340 339 usb_log_debug("OHCI legacy register %p: %x.\n", 341 340 ohci_emulation_reg, *ohci_emulation_reg); 342 *ohci_emulation_reg &= ~0x1;341 *ohci_emulation_reg = 0; 343 342 344 343 /* Interrupt routing enabled => smm driver is active */ -
uspace/drv/ohci/ohci.ma
r6c6a95d2 r075c1eb 1 1 10 pci/ven=106b&dev=003f 2 2 10 pci/ven=10de&dev=0aa5 3 4 10 pci/ven=1002&dev=4374 5 10 pci/ven=1002&dev=4375 6 7 10 pci/ven=1002&dev=4387 8 10 pci/ven=1002&dev=4388 9 10 pci/ven=1002&dev=4389 10 10 pci/ven=1002&dev=438a 11 10 pci/ven=1002&dev=438b 3 10 pci/ven=10de&dev=0aa5 -
uspace/drv/ohci/pci.c
r6c6a95d2 r075c1eb 46 46 47 47 #include "pci.h" 48 49 #define PAGE_SIZE_MASK 0xfffff000 50 51 #define HCC_PARAMS_OFFSET 0x8 52 #define HCC_PARAMS_EECP_MASK 0xff 53 #define HCC_PARAMS_EECP_OFFSET 8 54 55 #define CMD_OFFSET 0x0 56 #define CONFIGFLAG_OFFSET 0x40 57 58 #define USBCMD_RUN 1 59 60 #define USBLEGSUP_OFFSET 0 61 #define USBLEGSUP_BIOS_CONTROL (1 << 16) 62 #define USBLEGSUP_OS_CONTROL (1 << 24) 63 #define USBLEGCTLSTS_OFFSET 4 64 65 #define DEFAULT_WAIT 10000 66 #define WAIT_STEP 10 48 67 49 68 /** Get address of registers and IRQ for given device.
Note:
See TracChangeset
for help on using the changeset viewer.