diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-07-14 15:49:21 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-18 14:29:05 -0400 |
commit | c54dcd197c3f9a66b60cb85ca50df06981a45211 (patch) | |
tree | 83aa7394103c13d3c9c9857af6d7352ae01c710e /drivers/bcma/sprom.c | |
parent | 18dfa4952c691898da3168886a160d4cecae20bc (diff) |
bcma: extract SPROM rev 9 the same way as rev 8
SPROM rev 9 was discovered on 14e4:4331, it seems to have very similar
layout to rev 8 one. Use the same extracting function until we find some
differences.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/bcma/sprom.c')
-rw-r--r-- | drivers/bcma/sprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bcma/sprom.c b/drivers/bcma/sprom.c index 8e8d5cf32e12..52917e5bb892 100644 --- a/drivers/bcma/sprom.c +++ b/drivers/bcma/sprom.c | |||
@@ -112,7 +112,7 @@ static int bcma_sprom_valid(const u16 *sprom) | |||
112 | return err; | 112 | return err; |
113 | 113 | ||
114 | revision = sprom[SSB_SPROMSIZE_WORDS_R4 - 1] & SSB_SPROM_REVISION_REV; | 114 | revision = sprom[SSB_SPROMSIZE_WORDS_R4 - 1] & SSB_SPROM_REVISION_REV; |
115 | if (revision != 8) { | 115 | if (revision != 8 && revision != 9) { |
116 | pr_err("Unsupported SPROM revision: %d\n", revision); | 116 | pr_err("Unsupported SPROM revision: %d\n", revision); |
117 | return -ENOENT; | 117 | return -ENOENT; |
118 | } | 118 | } |