summaryrefslogtreecommitdiffstats
path: root/include/linux/ssb
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-01-24 18:47:20 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-01-29 10:49:28 +0200
commit3c313161353ad527de1a6ecde0f0d41700858fd6 (patch)
tree1cf1db15214e2101770e37561b96a679729fec02 /include/linux/ssb
parent17fbaa6e426bf88226551374e3255f51220a22a6 (diff)
downloadop-kernel-dev-3c313161353ad527de1a6ecde0f0d41700858fd6.zip
op-kernel-dev-3c313161353ad527de1a6ecde0f0d41700858fd6.tar.gz
bcma: detect SPROM revision 11
Extracting values from it is still unsupported, but at least we'll display some meaningful error now. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'include/linux/ssb')
-rw-r--r--include/linux/ssb/ssb_regs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ssb/ssb_regs.h b/include/linux/ssb/ssb_regs.h
index f7b9100..c0f707a 100644
--- a/include/linux/ssb/ssb_regs.h
+++ b/include/linux/ssb/ssb_regs.h
@@ -173,6 +173,7 @@
#define SSB_SPROMSIZE_BYTES_R123 (SSB_SPROMSIZE_WORDS_R123 * sizeof(u16))
#define SSB_SPROMSIZE_BYTES_R4 (SSB_SPROMSIZE_WORDS_R4 * sizeof(u16))
#define SSB_SPROMSIZE_WORDS_R10 230
+#define SSB_SPROMSIZE_WORDS_R11 234
#define SSB_SPROM_BASE1 0x1000
#define SSB_SPROM_BASE31 0x0800
#define SSB_SPROM_REVISION 0x007E
OpenPOWER on IntegriCloud