diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-07-06 11:09:48 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-07-08 14:16:06 -0400 |
commit | 84263b0c94431e686552a322ae84678fddd22ebd (patch) | |
tree | c9c90b19cee077d30aaf3305dc51de752da133bf /drivers | |
parent | 0ac2a00c1035c749b720c4d817beea1795f02d47 (diff) |
rt2x00: Fix register comments
Fix some register documentation in the register header files.
This allows better parsing by userspace scripts which in turn
helps debugging.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500pci.h | 4 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2500usb.h | 40 |
2 files changed, 36 insertions, 8 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.h b/drivers/net/wireless/rt2x00/rt2500pci.h index cb648c30a5b3..42f376929ea9 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.h +++ b/drivers/net/wireless/rt2x00/rt2500pci.h | |||
@@ -751,7 +751,7 @@ | |||
751 | #define LEDCSR_LED_DEFAULT FIELD32(0x00100000) | 751 | #define LEDCSR_LED_DEFAULT FIELD32(0x00100000) |
752 | 752 | ||
753 | /* | 753 | /* |
754 | * AES control register. | 754 | * SECCSR3: AES control register. |
755 | */ | 755 | */ |
756 | #define SECCSR3 0x00fc | 756 | #define SECCSR3 0x00fc |
757 | 757 | ||
@@ -895,7 +895,7 @@ | |||
895 | #define ARTCSR2_ACK_CTS_54MBS FIELD32(0xff000000) | 895 | #define ARTCSR2_ACK_CTS_54MBS FIELD32(0xff000000) |
896 | 896 | ||
897 | /* | 897 | /* |
898 | * SECCSR1_RT2509: WEP control register. | 898 | * SECCSR1: WEP control register. |
899 | * KICK_ENCRYPT: Kick encryption engine, self-clear. | 899 | * KICK_ENCRYPT: Kick encryption engine, self-clear. |
900 | * ONE_SHOT: 0: ring mode, 1: One shot only mode. | 900 | * ONE_SHOT: 0: ring mode, 1: One shot only mode. |
901 | * DESC_ADDRESS: Descriptor physical address of frame. | 901 | * DESC_ADDRESS: Descriptor physical address of frame. |
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.h b/drivers/net/wireless/rt2x00/rt2500usb.h index 3e21fdf2b00f..4769ffeb4cc6 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.h +++ b/drivers/net/wireless/rt2x00/rt2500usb.h | |||
@@ -209,7 +209,7 @@ | |||
209 | #define MAC_CSR21_OFF_PERIOD FIELD16(0xff00) | 209 | #define MAC_CSR21_OFF_PERIOD FIELD16(0xff00) |
210 | 210 | ||
211 | /* | 211 | /* |
212 | * Collision window control register. | 212 | * MAC_CSR22: Collision window control register. |
213 | */ | 213 | */ |
214 | #define MAC_CSR22 0x042c | 214 | #define MAC_CSR22 0x042c |
215 | 215 | ||
@@ -296,7 +296,7 @@ | |||
296 | #define TXRX_CSR7_BBP_ID1_VALID FIELD16(0x8000) | 296 | #define TXRX_CSR7_BBP_ID1_VALID FIELD16(0x8000) |
297 | 297 | ||
298 | /* | 298 | /* |
299 | * TXRX_CSR5: OFDM TX BBP ID1. | 299 | * TXRX_CSR8: OFDM TX BBP ID1. |
300 | */ | 300 | */ |
301 | #define TXRX_CSR8 0x0450 | 301 | #define TXRX_CSR8 0x0450 |
302 | #define TXRX_CSR8_BBP_ID0 FIELD16(0x007f) | 302 | #define TXRX_CSR8_BBP_ID0 FIELD16(0x007f) |
@@ -370,7 +370,14 @@ | |||
370 | */ | 370 | */ |
371 | 371 | ||
372 | /* | 372 | /* |
373 | * SEC_CSR0-SEC_CSR7: Shared key 0, word 0-7 | 373 | * SEC_CSR0: Shared key 0, word 0 |
374 | * SEC_CSR1: Shared key 0, word 1 | ||
375 | * SEC_CSR2: Shared key 0, word 2 | ||
376 | * SEC_CSR3: Shared key 0, word 3 | ||
377 | * SEC_CSR4: Shared key 0, word 4 | ||
378 | * SEC_CSR5: Shared key 0, word 5 | ||
379 | * SEC_CSR6: Shared key 0, word 6 | ||
380 | * SEC_CSR7: Shared key 0, word 7 | ||
374 | */ | 381 | */ |
375 | #define SEC_CSR0 0x0480 | 382 | #define SEC_CSR0 0x0480 |
376 | #define SEC_CSR1 0x0482 | 383 | #define SEC_CSR1 0x0482 |
@@ -382,7 +389,14 @@ | |||
382 | #define SEC_CSR7 0x048e | 389 | #define SEC_CSR7 0x048e |
383 | 390 | ||
384 | /* | 391 | /* |
385 | * SEC_CSR8-SEC_CSR15: Shared key 1, word 0-7 | 392 | * SEC_CSR8: Shared key 1, word 0 |
393 | * SEC_CSR9: Shared key 1, word 1 | ||
394 | * SEC_CSR10: Shared key 1, word 2 | ||
395 | * SEC_CSR11: Shared key 1, word 3 | ||
396 | * SEC_CSR12: Shared key 1, word 4 | ||
397 | * SEC_CSR13: Shared key 1, word 5 | ||
398 | * SEC_CSR14: Shared key 1, word 6 | ||
399 | * SEC_CSR15: Shared key 1, word 7 | ||
386 | */ | 400 | */ |
387 | #define SEC_CSR8 0x0490 | 401 | #define SEC_CSR8 0x0490 |
388 | #define SEC_CSR9 0x0492 | 402 | #define SEC_CSR9 0x0492 |
@@ -394,7 +408,14 @@ | |||
394 | #define SEC_CSR15 0x049e | 408 | #define SEC_CSR15 0x049e |
395 | 409 | ||
396 | /* | 410 | /* |
397 | * SEC_CSR16-SEC_CSR23: Shared key 2, word 0-7 | 411 | * SEC_CSR16: Shared key 2, word 0 |
412 | * SEC_CSR17: Shared key 2, word 1 | ||
413 | * SEC_CSR18: Shared key 2, word 2 | ||
414 | * SEC_CSR19: Shared key 2, word 3 | ||
415 | * SEC_CSR20: Shared key 2, word 4 | ||
416 | * SEC_CSR21: Shared key 2, word 5 | ||
417 | * SEC_CSR22: Shared key 2, word 6 | ||
418 | * SEC_CSR23: Shared key 2, word 7 | ||
398 | */ | 419 | */ |
399 | #define SEC_CSR16 0x04a0 | 420 | #define SEC_CSR16 0x04a0 |
400 | #define SEC_CSR17 0x04a2 | 421 | #define SEC_CSR17 0x04a2 |
@@ -406,7 +427,14 @@ | |||
406 | #define SEC_CSR23 0x04ae | 427 | #define SEC_CSR23 0x04ae |
407 | 428 | ||
408 | /* | 429 | /* |
409 | * SEC_CSR24-SEC_CSR31: Shared key 3, word 0-7 | 430 | * SEC_CSR24: Shared key 3, word 0 |
431 | * SEC_CSR25: Shared key 3, word 1 | ||
432 | * SEC_CSR26: Shared key 3, word 2 | ||
433 | * SEC_CSR27: Shared key 3, word 3 | ||
434 | * SEC_CSR28: Shared key 3, word 4 | ||
435 | * SEC_CSR29: Shared key 3, word 5 | ||
436 | * SEC_CSR30: Shared key 3, word 6 | ||
437 | * SEC_CSR31: Shared key 3, word 7 | ||
410 | */ | 438 | */ |
411 | #define SEC_CSR24 0x04b0 | 439 | #define SEC_CSR24 0x04b0 |
412 | #define SEC_CSR25 0x04b2 | 440 | #define SEC_CSR25 0x04b2 |