OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3623b26
)
bcma: extract board_type from SPROM
author
Rafał Miłecki
<zajec5@gmail.com>
Tue, 19 Mar 2013 12:18:44 +0000
(13:18 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 25 Mar 2013 20:43:40 +0000
(16:43 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/sprom.c
patch
|
blob
|
history
diff --git
a/drivers/bcma/sprom.c
b/drivers/bcma/sprom.c
index
4adf9ef
..
8934298
100644
(file)
--- 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);