Changes in / [6c6a95d2:075c1eb] in mainline


Ignore:
Location:
uspace/drv
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ehci-hcd/ehci-hcd.ma

    r6c6a95d2 r075c1eb  
    2210 pci/ven=1002&dev=4386
    3310 pci/ven=1002&dev=4396
    4 10 pci/ven=1002&dev=4373
    5410 pci/ven=1022&dev=7463
    6510 pci/ven=1022&dev=7808
  • uspace/drv/ohci/hc.c

    r6c6a95d2 r075c1eb  
    334334{
    335335        assert(instance);
    336         usb_log_debug("Requesting OHCI control.\n");
    337336        /* Turn off legacy emulation */
    338337        volatile uint32_t *ohci_emulation_reg =
     
    340339        usb_log_debug("OHCI legacy register %p: %x.\n",
    341340                ohci_emulation_reg, *ohci_emulation_reg);
    342         *ohci_emulation_reg &= ~0x1;
     341        *ohci_emulation_reg = 0;
    343342
    344343        /* Interrupt routing enabled => smm driver is active */
  • uspace/drv/ohci/ohci.ma

    r6c6a95d2 r075c1eb  
    1110 pci/ven=106b&dev=003f
    2210 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
     310 pci/ven=10de&dev=0aa5
  • uspace/drv/ohci/pci.c

    r6c6a95d2 r075c1eb  
    4646
    4747#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
    4867
    4968/** Get address of registers and IRQ for given device.
Note: See TracChangeset for help on using the changeset viewer.