Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/news68k Add definitions for ports CTRL_POWER and CT...
details: https://anonhg.NetBSD.org/src/rev/0c5546c4b69b
branches: trunk
changeset: 572059:0c5546c4b69b
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Dec 15 17:22:11 2004 +0000
description:
Add definitions for ports CTRL_POWER and CTRL_LED.
diffstat:
sys/arch/news68k/include/cpu.h | 26 +++++++++++++++-----------
sys/arch/news68k/news68k/genassym.cf | 6 +++++-
2 files changed, 20 insertions(+), 12 deletions(-)
diffs (67 lines):
diff -r 7754981c1263 -r 0c5546c4b69b sys/arch/news68k/include/cpu.h
--- a/sys/arch/news68k/include/cpu.h Wed Dec 15 17:20:25 2004 +0000
+++ b/sys/arch/news68k/include/cpu.h Wed Dec 15 17:22:11 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.21 2004/12/15 14:03:52 tsutsui Exp $ */
+/* $NetBSD: cpu.h,v 1.22 2004/12/15 17:22:11 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1990, 1993
@@ -262,19 +262,23 @@
#endif
/* physical memory sections */
-#define ROMBASE (0xe0000000)
+#define ROMBASE 0xe0000000
-#define INTIOBASE1700 (0xe0c00000)
-#define INTIOTOP1700 (0xe1d00000) /* XXX */
-#define EXTIOBASE1700 (0xf0f00000)
-#define EXTIOTOP1700 (0xf1000000) /* XXX */
+#define INTIOBASE1700 0xe0c00000
+#define INTIOTOP1700 0xe1d00000 /* XXX */
+#define EXTIOBASE1700 0xf0f00000
+#define EXTIOTOP1700 0xf1000000 /* XXX */
+#define CTRL_POWER1700 0xe1380000
+#define CTRL_LED1700 0xe0dc0000
-#define INTIOBASE1200 (0xe1000000)
-#define INTIOTOP1200 (0xe1d00000) /* XXX */
-#define EXTIOBASE1200 (0xe4000000)
-#define EXTIOTOP1200 (0xe4020000) /* XXX */
+#define INTIOBASE1200 0xe1000000
+#define INTIOTOP1200 0xe1d00000 /* XXX */
+#define EXTIOBASE1200 0xe4000000
+#define EXTIOTOP1200 0xe4020000 /* XXX */
+#define CTRL_POWER1200 0xe1000000
+#define CTRL_LED1200 0xe1500001
-#define MAXADDR (0xfffff000)
+#define MAXADDR 0xfffff000
/*
* Internal IO space:
diff -r 7754981c1263 -r 0c5546c4b69b sys/arch/news68k/news68k/genassym.cf
--- a/sys/arch/news68k/news68k/genassym.cf Wed Dec 15 17:20:25 2004 +0000
+++ b/sys/arch/news68k/news68k/genassym.cf Wed Dec 15 17:22:11 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.17 2004/12/15 14:03:52 tsutsui Exp $
+# $NetBSD: genassym.cf,v 1.18 2004/12/15 17:22:11 tsutsui Exp $
#
# Copyright (c) 1982, 1990, 1993
@@ -145,10 +145,14 @@
define INTIOTOP1700 INTIOTOP1700
define EXTIOBASE1700 EXTIOBASE1700
define EXTIOTOP1700 EXTIOTOP1700
+define CTRL_POWER1700 CTRL_POWER1700
+define CTRL_LED1700 CTRL_LED1700
define INTIOBASE1200 INTIOBASE1200
define INTIOTOP1200 INTIOTOP1200
define EXTIOBASE1200 EXTIOBASE1200
define EXTIOTOP1200 EXTIOTOP1200
+define CTRL_POWER1200 CTRL_POWER1200
+define CTRL_LED1200 CTRL_LED1200
define FC_USERD FC_USERD
define FC_SUPERD FC_SUPERD
Home |
Main Index |
Thread Index |
Old Index