diff options
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.h b/drivers/net/wireless/rt2x00/rt73usb.h index df1cc116b83..7577e0ba387 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.h +++ b/drivers/net/wireless/rt2x00/rt73usb.h | |||
@@ -267,24 +267,26 @@ struct hw_pairwise_ta_entry { | |||
267 | 267 | ||
268 | /* | 268 | /* |
269 | * MAC_CSR13: GPIO. | 269 | * MAC_CSR13: GPIO. |
270 | * MAC_CSR13_VALx: GPIO value | ||
271 | * MAC_CSR13_DIRx: GPIO direction: 0 = input; 1 = output | ||
270 | */ | 272 | */ |
271 | #define MAC_CSR13 0x3034 | 273 | #define MAC_CSR13 0x3034 |
272 | #define MAC_CSR13_BIT0 FIELD32(0x00000001) | 274 | #define MAC_CSR13_VAL0 FIELD32(0x00000001) |
273 | #define MAC_CSR13_BIT1 FIELD32(0x00000002) | 275 | #define MAC_CSR13_VAL1 FIELD32(0x00000002) |
274 | #define MAC_CSR13_BIT2 FIELD32(0x00000004) | 276 | #define MAC_CSR13_VAL2 FIELD32(0x00000004) |
275 | #define MAC_CSR13_BIT3 FIELD32(0x00000008) | 277 | #define MAC_CSR13_VAL3 FIELD32(0x00000008) |
276 | #define MAC_CSR13_BIT4 FIELD32(0x00000010) | 278 | #define MAC_CSR13_VAL4 FIELD32(0x00000010) |
277 | #define MAC_CSR13_BIT5 FIELD32(0x00000020) | 279 | #define MAC_CSR13_VAL5 FIELD32(0x00000020) |
278 | #define MAC_CSR13_BIT6 FIELD32(0x00000040) | 280 | #define MAC_CSR13_VAL6 FIELD32(0x00000040) |
279 | #define MAC_CSR13_BIT7 FIELD32(0x00000080) | 281 | #define MAC_CSR13_VAL7 FIELD32(0x00000080) |
280 | #define MAC_CSR13_BIT8 FIELD32(0x00000100) | 282 | #define MAC_CSR13_DIR0 FIELD32(0x00000100) |
281 | #define MAC_CSR13_BIT9 FIELD32(0x00000200) | 283 | #define MAC_CSR13_DIR1 FIELD32(0x00000200) |
282 | #define MAC_CSR13_BIT10 FIELD32(0x00000400) | 284 | #define MAC_CSR13_DIR2 FIELD32(0x00000400) |
283 | #define MAC_CSR13_BIT11 FIELD32(0x00000800) | 285 | #define MAC_CSR13_DIR3 FIELD32(0x00000800) |
284 | #define MAC_CSR13_BIT12 FIELD32(0x00001000) | 286 | #define MAC_CSR13_DIR4 FIELD32(0x00001000) |
285 | #define MAC_CSR13_BIT13 FIELD32(0x00002000) | 287 | #define MAC_CSR13_DIR5 FIELD32(0x00002000) |
286 | #define MAC_CSR13_BIT14 FIELD32(0x00004000) | 288 | #define MAC_CSR13_DIR6 FIELD32(0x00004000) |
287 | #define MAC_CSR13_BIT15 FIELD32(0x00008000) | 289 | #define MAC_CSR13_DIR7 FIELD32(0x00008000) |
288 | 290 | ||
289 | /* | 291 | /* |
290 | * MAC_CSR14: LED control register. | 292 | * MAC_CSR14: LED control register. |