Changeset fefc27d in mainline for uspace/drv/ohci/ohci_regs.h


Ignore:
Timestamp:
2011-04-03T10:15:39Z (14 years ago)
Author:
Matus Dekanek <smekideki@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c399765
Parents:
4fbcd2a (diff), b8f7a0d2 (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.
Message:

merge with usb/development

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/ohci/ohci_regs.h

    r4fbcd2a rfefc27d  
    3939typedef struct ohci_regs
    4040{
    41         volatile uint32_t revision;
     41        const volatile uint32_t revision;
    4242        volatile uint32_t control;
     43#define C_CSBR_MASK (0x3)
     44#define C_CSBR_SHIFT (0)
     45#define C_PLE (1 << 2)
     46#define C_IE (1 << 3)
     47#define C_CLE (1 << 4)
     48#define C_BLE (1 << 5)
     49
     50#define C_HCFS_MASK (0x3)
     51#define C_HCFS_SHIFT (6)
     52#define C_HCFS_RESET (0x0)
     53#define C_HCFS_OPERATIONAL (0x1)
     54#define C_HCFS_RESUME (0x2)
     55#define C_HCFS_SUSPEND (0x3)
     56
     57#define C_IR (1 << 8)
     58#define C_RWC (1 << 9)
     59#define C_RWE (1 << 10)
     60
    4361        volatile uint32_t command_status;
     62#define CS_HCR (1 << 0)
     63#define CS_CLF (1 << 1)
     64#define CS_BLF (1 << 2)
     65#define CS_OCR (1 << 3)
     66#define CS_SOC_MASK (0x3)
     67#define CS_SOC_SHIFT (16)
     68
    4469        volatile uint32_t interrupt_status;
    4570#define IS_SO (1 << 0)
     
    5176#define IS_RHSC (1 << 6)
    5277#define IS_OC (1 << 30)
     78
    5379        volatile uint32_t interupt_enable;
    5480#define IE_SO   (1 << 0)
Note: See TracChangeset for help on using the changeset viewer.