diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-02-08 17:32:17 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-09 16:09:51 -0500 |
commit | 6d1d4ea4a82f8c17a3ff7c2f677bc3d41ea7484b (patch) | |
tree | 4c2a87537469cba7dce6f13ff0f757a6cfa37019 /drivers/ssb | |
parent | 67acad5fe5df591e8f629050667912b0db2c72e7 (diff) |
ssb: extract boardflags2 for SPROMs rev 4 and 5
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/pci.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c index 158449e55044..5b33b3b06f7f 100644 --- a/drivers/ssb/pci.c +++ b/drivers/ssb/pci.c | |||
@@ -468,10 +468,14 @@ static void sprom_extract_r45(struct ssb_sprom *out, const u16 *in) | |||
468 | SPEX(country_code, SSB_SPROM4_CCODE, 0xFFFF, 0); | 468 | SPEX(country_code, SSB_SPROM4_CCODE, 0xFFFF, 0); |
469 | SPEX(boardflags_lo, SSB_SPROM4_BFLLO, 0xFFFF, 0); | 469 | SPEX(boardflags_lo, SSB_SPROM4_BFLLO, 0xFFFF, 0); |
470 | SPEX(boardflags_hi, SSB_SPROM4_BFLHI, 0xFFFF, 0); | 470 | SPEX(boardflags_hi, SSB_SPROM4_BFLHI, 0xFFFF, 0); |
471 | SPEX(boardflags2_lo, SSB_SPROM4_BFL2LO, 0xFFFF, 0); | ||
472 | SPEX(boardflags2_hi, SSB_SPROM4_BFL2HI, 0xFFFF, 0); | ||
471 | } else { | 473 | } else { |
472 | SPEX(country_code, SSB_SPROM5_CCODE, 0xFFFF, 0); | 474 | SPEX(country_code, SSB_SPROM5_CCODE, 0xFFFF, 0); |
473 | SPEX(boardflags_lo, SSB_SPROM5_BFLLO, 0xFFFF, 0); | 475 | SPEX(boardflags_lo, SSB_SPROM5_BFLLO, 0xFFFF, 0); |
474 | SPEX(boardflags_hi, SSB_SPROM5_BFLHI, 0xFFFF, 0); | 476 | SPEX(boardflags_hi, SSB_SPROM5_BFLHI, 0xFFFF, 0); |
477 | SPEX(boardflags2_lo, SSB_SPROM5_BFL2LO, 0xFFFF, 0); | ||
478 | SPEX(boardflags2_hi, SSB_SPROM5_BFL2HI, 0xFFFF, 0); | ||
475 | } | 479 | } |
476 | SPEX(ant_available_a, SSB_SPROM4_ANTAVAIL, SSB_SPROM4_ANTAVAIL_A, | 480 | SPEX(ant_available_a, SSB_SPROM4_ANTAVAIL, SSB_SPROM4_ANTAVAIL_A, |
477 | SSB_SPROM4_ANTAVAIL_A_SHIFT); | 481 | SSB_SPROM4_ANTAVAIL_A_SHIFT); |