diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2013-03-19 13:18:44 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-03-25 21:43:40 +0100 |
commit | 7b828f09b282a1a3eb719e1080cf3764221049b1 (patch) | |
tree | 31d80fb7947c0a309af2cda4c069843fe8fe9f7e /drivers/bcma | |
parent | ssb: extract board_type from SPROM (diff) | |
download | linux-7b828f09b282a1a3eb719e1080cf3764221049b1.tar.xz linux-7b828f09b282a1a3eb719e1080cf3764221049b1.zip |
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/bcma')
-rw-r--r-- | drivers/bcma/sprom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bcma/sprom.c b/drivers/bcma/sprom.c index 4adf9ef9a113..8934298a638d 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); |