summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/lib/libbsp/m68k/mvme162/consolex/consolex.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme162/consolex/consolex.c b/c/src/lib/libbsp/m68k/mvme162/consolex/consolex.c
index cead5f0545..a0e8381c63 100644
--- a/c/src/lib/libbsp/m68k/mvme162/consolex/consolex.c
+++ b/c/src/lib/libbsp/m68k/mvme162/consolex/consolex.c
@@ -125,12 +125,17 @@ typedef struct {
to support Multi SCC chips */
#undef scc
+#if defined(mvme162lx)
static scc_regs *scc[NPORTS] = {
((scc_regs * const) 0xFFF45004),
((scc_regs * const) 0xFFF45000),
((scc_regs * const) 0xFFF45804),
((scc_regs * const) 0xFFF45800)
};
+#else
+/* XXX fix me */
+#warning "MVME162 BSP -- unknown address for SCC's"
+#endif
#undef ZWRITE0
#define ZWRITE0(port, v) (scc[port]->csr = (unsigned char)(v))