Move 4xx devices to their own config include file so they can be used

elsewhere.
This commit is contained in:
simonb 2002-08-13 05:29:25 +00:00
parent 9e00d2d7f9
commit 42dede3769
2 changed files with 37 additions and 32 deletions

View File

@ -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

View File

@ -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 @@ maxpartitions 16
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/wscons/files.wscons"
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"