ssb: fix sprom constant for ant_available_{bg,a}
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 21 Mar 2013 15:26:19 +0000 (16:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Mar 2013 20:43:41 +0000 (16:43 -0400)
This was done accordingly to new specs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/ssb/ssb_regs.h

index 6ecfa02ddbac9e4917725938efca0ca37b07da64..3a7256955b10b75a03fe6873f197a5615a44b0a7 100644 (file)
 #define  SSB_SPROM4_ETHPHY_ET1A_SHIFT  5
 #define  SSB_SPROM4_ETHPHY_ET0M                (1<<14) /* MDIO for enet0 */
 #define  SSB_SPROM4_ETHPHY_ET1M                (1<<15) /* MDIO for enet1 */
-#define SSB_SPROM4_ANTAVAIL            0x005D  /* Antenna available bitfields */
-#define  SSB_SPROM4_ANTAVAIL_A         0x00FF  /* A-PHY bitfield */
-#define  SSB_SPROM4_ANTAVAIL_A_SHIFT   0
-#define  SSB_SPROM4_ANTAVAIL_BG                0xFF00  /* B-PHY and G-PHY bitfield */
-#define  SSB_SPROM4_ANTAVAIL_BG_SHIFT  8
+#define SSB_SPROM4_ANTAVAIL            0x005C  /* Antenna available bitfields */
+#define  SSB_SPROM4_ANTAVAIL_BG                0x00FF  /* B-PHY and G-PHY bitfield */
+#define  SSB_SPROM4_ANTAVAIL_BG_SHIFT  0
+#define  SSB_SPROM4_ANTAVAIL_A         0xFF00  /* A-PHY bitfield */
+#define  SSB_SPROM4_ANTAVAIL_A_SHIFT   8
 #define SSB_SPROM4_AGAIN01             0x005E  /* Antenna Gain (in dBm Q5.2) */
 #define  SSB_SPROM4_AGAIN0             0x00FF  /* Antenna 0 */
 #define  SSB_SPROM4_AGAIN0_SHIFT       0