summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-cobalt
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2007-05-10 20:00:55 +0900
committerRalf Baechle <ralf@linux-mips.org>2007-05-11 14:28:32 +0100
commit44320f2bcbc05c3f4d62fcdd06fe440d9a803ce0 (patch)
treedf01c27891240ec9d221366c74e3bcb265494706 /include/asm-mips/mach-cobalt
parentf009bbf10fe2321a536b4bd922fc8d070ebe27fd (diff)
downloadop-kernel-dev-44320f2bcbc05c3f4d62fcdd06fe440d9a803ce0.zip
op-kernel-dev-44320f2bcbc05c3f4d62fcdd06fe440d9a803ce0.tar.gz
[MIPS] Add extern cobalt_board_id
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-cobalt')
-rw-r--r--include/asm-mips/mach-cobalt/cobalt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-mips/mach-cobalt/cobalt.h b/include/asm-mips/mach-cobalt/cobalt.h
index 24a8d51..684a501 100644
--- a/include/asm-mips/mach-cobalt/cobalt.h
+++ b/include/asm-mips/mach-cobalt/cobalt.h
@@ -69,6 +69,8 @@
#define COBALT_BRD_ID_QUBE2 0x5
#define COBALT_BRD_ID_RAQ2 0x6
+extern int cobalt_board_id;
+
#define PCI_CFG_SET(devfn,where) \
GT_WRITE(GT_PCI0_CFGADDR_OFS, (0x80000000 | (PCI_SLOT (devfn) << 11) | \
(PCI_FUNC (devfn) << 8) | (where)))
OpenPOWER on IntegriCloud