Changeset d1984e0 in mainline for uspace/drv/uhci/uhci.h


Ignore:
Timestamp:
2011-01-28T15:47:39Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
54229db
Parents:
a8e96683
Message:

Added UHCI command register values

HC is started on initialization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci/uhci.h

    ra8e96683 rd1984e0  
    4646typedef struct uhci_regs {
    4747        uint16_t usbcmd;
    48 #define USB_CMD_
     48#define UHCI_CMD_MAX_PACKET (1 << 7)
     49#define UHCI_CMD_CONFIGURE  (1 << 6)
     50#define UHCI_CMD_DEBUG  (1 << 5)
     51#define UHCI_CMD_FORCE_GLOBAL_RESUME  (1 << 4)
     52#define UHCI_CMD_FORCE_GLOBAL_SUSPEND  (1 << 3)
     53#define UHCI_CMD_GLOBAL_RESET  (1 << 2)
     54#define UHCI_CMD_HCRESET  (1 << 1)
     55#define UHCI_CMD_RUN_STOP  (1 << 0)
     56
    4957        uint16_t usbsts;
    5058        uint16_t usbintr;
Note: See TracChangeset for help on using the changeset viewer.