Changeset 6c6a95d2 in mainline
- Timestamp:
- 2011-05-06T15:46:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1ce4189, 3b543d5, 78dbf5b, ba17f5b
- Parents:
- 075c1eb (diff), 9350e837 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/drv
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ehci-hcd/ehci-hcd.ma
r075c1eb r6c6a95d2 2 2 10 pci/ven=1002&dev=4386 3 3 10 pci/ven=1002&dev=4396 4 10 pci/ven=1002&dev=4373 4 5 10 pci/ven=1022&dev=7463 5 6 10 pci/ven=1022&dev=7808 -
uspace/drv/ohci/hc.c
r075c1eb r6c6a95d2 334 334 { 335 335 assert(instance); 336 usb_log_debug("Requesting OHCI control.\n"); 336 337 /* Turn off legacy emulation */ 337 338 volatile uint32_t *ohci_emulation_reg = … … 339 340 usb_log_debug("OHCI legacy register %p: %x.\n", 340 341 ohci_emulation_reg, *ohci_emulation_reg); 341 *ohci_emulation_reg = 0;342 *ohci_emulation_reg &= ~0x1; 342 343 343 344 /* Interrupt routing enabled => smm driver is active */ -
uspace/drv/ohci/ohci.ma
r075c1eb r6c6a95d2 1 1 10 pci/ven=106b&dev=003f 2 2 10 pci/ven=10de&dev=0aa5 3 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 -
uspace/drv/ohci/pci.c
r075c1eb r6c6a95d2 46 46 47 47 #include "pci.h" 48 49 #define PAGE_SIZE_MASK 0xfffff00050 51 #define HCC_PARAMS_OFFSET 0x852 #define HCC_PARAMS_EECP_MASK 0xff53 #define HCC_PARAMS_EECP_OFFSET 854 55 #define CMD_OFFSET 0x056 #define CONFIGFLAG_OFFSET 0x4057 58 #define USBCMD_RUN 159 60 #define USBLEGSUP_OFFSET 061 #define USBLEGSUP_BIOS_CONTROL (1 << 16)62 #define USBLEGSUP_OS_CONTROL (1 << 24)63 #define USBLEGCTLSTS_OFFSET 464 65 #define DEFAULT_WAIT 1000066 #define WAIT_STEP 1067 48 68 49 /** Get address of registers and IRQ for given device.
Note:
See TracChangeset
for help on using the changeset viewer.