Revision c44fd61c
b/hw/usb-ehci.c | ||
---|---|---|
103 | 103 |
#define PORTSC_BEGIN PORTSC |
104 | 104 |
#define PORTSC_END (PORTSC + 4 * NB_PORTS) |
105 | 105 |
/* |
106 |
* Bits that are reserverd or are read-only are masked out of values
|
|
106 |
* Bits that are reserved or are read-only are masked out of values |
|
107 | 107 |
* written to us by software |
108 | 108 |
*/ |
109 |
#define PORTSC_RO_MASK 0x007021c5
|
|
109 |
#define PORTSC_RO_MASK 0x007021c4
|
|
110 | 110 |
#define PORTSC_RWC_MASK 0x0000002a |
111 | 111 |
#define PORTSC_WKOC_E (1 << 22) // Wake on Over Current Enable |
112 | 112 |
#define PORTSC_WKDS_E (1 << 21) // Wake on Disconnect Enable |
Also available in: Unified diff