summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2013-03-19 12:18:44 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2013-03-25 20:43:40 (GMT)
commit7b828f09b282a1a3eb719e1080cf3764221049b1 (patch)
tree31d80fb7947c0a309af2cda4c069843fe8fe9f7e /drivers
parent3623b266c8c5012ef376128026ca2dfc63f1abcb (diff)
downloadlinux-7b828f09b282a1a3eb719e1080cf3764221049b1.tar.xz
bcma: extract board_type from SPROM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/bcma/sprom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/sprom.c b/drivers/bcma/sprom.c
index 4adf9ef..8934298 100644
--- a/drivers/bcma/sprom.c
+++ b/drivers/bcma/sprom.c
@@ -217,6 +217,7 @@ static void bcma_sprom_extract_r8(struct bcma_bus *bus, const u16 *sprom)
}
SPEX(board_rev, SSB_SPROM8_BOARDREV, ~0, 0);
+ SPEX(board_type, SSB_SPROM1_SPID, ~0, 0);
SPEX(txpid2g[0], SSB_SPROM4_TXPID2G01, SSB_SPROM4_TXPID2G0,
SSB_SPROM4_TXPID2G0_SHIFT);