diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-11-04 12:36:50 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-06 16:48:59 -0500 |
commit | 1f285f1423e456cfa14331987782edeca64d8e70 (patch) | |
tree | 91ca9c7379778b38c780a4bb070ff061c5dd3955 /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | f445061630c7a4a85193fdef006234f94f71c366 (diff) |
rt2x00: move REGISTER_BUSY_* definitions to rt2x00.h
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index 1ddda729a483..c83dbaefd57a 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h | |||
@@ -857,6 +857,15 @@ struct rt2x00_dev { | |||
857 | }; | 857 | }; |
858 | 858 | ||
859 | /* | 859 | /* |
860 | * Register defines. | ||
861 | * Some registers require multiple attempts before success, | ||
862 | * in those cases REGISTER_BUSY_COUNT attempts should be | ||
863 | * taken with a REGISTER_BUSY_DELAY interval. | ||
864 | */ | ||
865 | #define REGISTER_BUSY_COUNT 5 | ||
866 | #define REGISTER_BUSY_DELAY 100 | ||
867 | |||
868 | /* | ||
860 | * Generic RF access. | 869 | * Generic RF access. |
861 | * The RF is being accessed by word index. | 870 | * The RF is being accessed by word index. |
862 | */ | 871 | */ |