rt2800: debugfs register access: BBP is 256 bytes big
authorAnisse Astier <anisse@astier.eu>
Thu, 19 Apr 2012 09:20:32 +0000 (11:20 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:34:08 +0000 (15:34 -0400)
We're already using BBP for values > 128. Make that explicit and allow
debugfs access.

Signed-off-by: Anisse Astier <anisse@astier.eu>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800.h

index 063bfa8b91f4d44deef8477dfb72a49a1cb9e0ac..1c4d75004627af70db6e11b037c2f51fde2d5fe4 100644 (file)
@@ -98,7 +98,7 @@
 #define EEPROM_BASE                    0x0000
 #define EEPROM_SIZE                    0x0110
 #define BBP_BASE                       0x0000
-#define BBP_SIZE                       0x0080
+#define BBP_SIZE                       0x00ff
 #define RF_BASE                                0x0004
 #define RF_SIZE                                0x0010