File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -101,21 +101,10 @@ struct ehci_regs {
101101 /* ASYNCLISTADDR: offset 0x18 */
102102 u32 async_next ; /* address of next async queue head */
103103
104- u32 reserved1 [2 ];
105-
106- /* TXFILLTUNING: offset 0x24 */
107- u32 txfill_tuning ; /* TX FIFO Tuning register */
108- #define TXFIFO_DEFAULT (8<<16) /* FIFO burst threshold 8 */
109-
110- u32 reserved2 [6 ];
111-
112- /* CONFIGFLAG: offset 0x40 */
113- u32 configured_flag ;
114- #define FLAG_CF (1<<0) /* true: we'll support "high speed" */
115-
104+ u32 reserved1 [1 ];
116105 union {
117- /* PORTSC: offset 0x44 */
118- u32 port_status [HCS_N_PORTS_MAX ]; /* up to N_PORTS */
106+ /* PORTSC: offset 0x20 */
107+ u32 port_status [1 ]; /* up to N_PORTS */
119108/* EHCI 1.1 addendum */
120109#define PORTSC_SUSPEND_STS_ACK 0
121110#define PORTSC_SUSPEND_STS_NYET 1
@@ -163,6 +152,17 @@ struct ehci_regs {
163152#define USBMODE_CM_IDLE (0<<0) /* idle state */
164153 };
165154
155+ /* TXFILLTUNING: offset 0x24 */
156+ u32 txfill_tuning ; /* TX FIFO Tuning register */
157+ #define TXFIFO_DEFAULT (8<<16) /* FIFO burst threshold 8 */
158+
159+ u32 reserved2 [6 ];
160+
161+ /* CONFIGFLAG: offset 0x40 */
162+ u32 configured_flag ;
163+ #define FLAG_CF (1<<0) /* true: we'll support "high speed" */
164+
165+
166166/* Moorestown has some non-standard registers, partially due to the fact that
167167 * its EHCI controller has both TT and LPM support. HOSTPCx are extensions to
168168 * PORTSCx
You can’t perform that action at this time.
0 commit comments