Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Move 4xx devices to their own config include file s...



details:   https://anonhg.NetBSD.org/src/rev/f02ab3409c80
branches:  trunk
changeset: 535265:f02ab3409c80
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Aug 13 05:29:25 2002 +0000

description:
Move 4xx devices to their own config include file so they can be used
elsewhere.

diffstat:

 sys/arch/powerpc/conf/files.ibm4xx |  35 +++++++++++++++++++++++++++++++++++
 sys/arch/walnut/conf/files.walnut  |  34 ++--------------------------------
 2 files changed, 37 insertions(+), 32 deletions(-)

diffs (94 lines):

diff -r 2a4463a85392 -r f02ab3409c80 sys/arch/powerpc/conf/files.ibm4xx
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/powerpc/conf/files.ibm4xx        Tue Aug 13 05:29:25 2002 +0000
@@ -0,0 +1,35 @@
+#      $NetBSD: files.ibm4xx,v 1.1 2002/08/13 05:29:25 simonb Exp $
+#
+# IBM 4xx specific configuration info
+
+include "arch/powerpc/fpu/files.fpu"
+
+# Processor Local Bus
+define plb {}
+device plb : plb
+attach plb at root
+file   arch/powerpc/ibm4xx/dev/plb.c           plb
+
+# On-chip Peripheral Bus
+define opb {[addr=-1], [irq=-1]}
+device opb : plb
+attach opb at plb
+file   arch/powerpc/ibm4xx/dev/opb.c           opb
+
+device cpu {}
+attach cpu at plb
+file   arch/powerpc/ibm4xx/cpu.c
+
+# On-chip com device(s)
+attach com at opb with com_opb
+file   arch/powerpc/ibm4xx/dev/com_opb.c       com_opb
+
+# On-chip ethernet device(s)
+device emac: ether, ifnet, arp, mii
+attach emac at opb
+file   arch/powerpc/ibm4xx/dev/if_emac.c       emac
+
+# Watchdog timer
+device wdog: sysmon_wdog
+attach wdog at opb
+file   arch/powerpc/ibm4xx/dev/wdog.c          wdog
diff -r 2a4463a85392 -r f02ab3409c80 sys/arch/walnut/conf/files.walnut
--- a/sys/arch/walnut/conf/files.walnut Tue Aug 13 05:25:39 2002 +0000
+++ b/sys/arch/walnut/conf/files.walnut Tue Aug 13 05:29:25 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: files.walnut,v 1.8 2002/08/12 02:06:21 simonb Exp $
+#      $NetBSD: files.walnut,v 1.9 2002/08/13 05:29:27 simonb Exp $
 #
 # walnut-specific configuration info
 
@@ -7,7 +7,7 @@
 
 maxusers 2 8 64
 
-include "arch/powerpc/fpu/files.fpu"
+include "arch/powerpc/conf/files.ibm4xx"
 
 file   arch/walnut/walnut/autoconf.c
 file   arch/walnut/walnut/bus_dma.c
@@ -45,36 +45,6 @@
 include "dev/rasops/files.rasops"
 include "dev/wsfont/files.wsfont"
 
-# Processor Local Bus
-define plb {}
-device plb : plb
-attach plb at root
-file   arch/powerpc/ibm4xx/dev/plb.c           plb
-
-# On-chip Peripheral Bus
-define opb {[addr=-1], [irq=-1]}
-device opb : plb
-attach opb at plb
-file   arch/powerpc/ibm4xx/dev/opb.c           opb
-
-device cpu {}
-attach cpu at plb
-file   arch/powerpc/ibm4xx/cpu.c
-
-# On-chip com device(s)
-attach com at opb with com_opb
-file   arch/powerpc/ibm4xx/dev/com_opb.c       com_opb
-
-# On-chip ethernet device(s)
-device emac: ether, ifnet, arp, mii
-attach emac at opb
-file   arch/powerpc/ibm4xx/dev/if_emac.c       emac
-
-# Watchdog timer
-device wdog: sysmon_wdog
-attach wdog at opb
-file   arch/powerpc/ibm4xx/dev/wdog.c          wdog
-
 # PCI bus support
 include        "dev/pci/files.pci"
 



Home | Main Index | Thread Index | Old Index