Move "podulebus" and "podloader" declarations up into files.podulebus.

This commit is contained in:
bjh21 2001-07-04 13:49:24 +00:00
parent 67ace1b581
commit 0be64cc691
3 changed files with 20 additions and 9 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arm26,v 1.32 2001/06/08 20:13:27 bjh21 Exp $
# $NetBSD: files.arm26,v 1.33 2001/07/04 13:49:24 bjh21 Exp $
# Copyright (c) 1997, 1998, 2000 Ben Harris
# All rights reserved.
@ -122,15 +122,15 @@ device arcpp
attach arcpp at ioc
file arch/arm26/ioc/arcpp.c arcpp needs-flag
include "dev/podulebus/files.podulebus"
# Podule interface (podules listed later) (usually at bank 4 irq 13 fiq 6)
# Unix backplanes also use bank 6
# MEMC podules also use the iobus directly
# XXX How on Earth do we codify all that?
device unixbp
attach unixbp at ioc
device podulebus { [slot = -1] }
attach podulebus at ioc
define podloader
file arch/arm26/podulebus/podulebus.c podulebus
file arch/arm26/podulebus/podloader_asm.S podloader needs-flag
file arch/arm26/podulebus/unixbp.c unixbp needs-flag
@ -170,13 +170,15 @@ file arch/arm26/iobus/upc_iobus.c upc_iobus
# Assorted podules
#
include "dev/podulebus/files.podulebus"
# i-cubed EtherLAN 100, 200 and 500
device eh: ether, ifnet, arp, dp8390nic, podloader
attach eh at podulebus
file arch/arm26/podulebus/if_eh.c eh
# PowerROM test driver
device powerrom: podloader
attach powerrom at podulebus
file arch/arm26/podulebus/powerrom.c powerrom
# Memory disk for installation (or ROM versions?)
file dev/md_root.c memory_disk_hooks

View File

@ -1,4 +1,4 @@
# $NetBSD: files.arm32,v 1.121 2001/07/02 23:18:34 bjh21 Exp $
# $NetBSD: files.arm32,v 1.122 2001/07/04 13:49:24 bjh21 Exp $
#
# First try for arm-specific configuration info
#
@ -221,14 +221,14 @@ file arch/arm32/vidc/lmcaudio.c lmcaudio needs-flag
file arch/arm32/vidc/lmc1982.S lmcaudio
# Podule bus device
device podulebus { [slot = -1] }
include "dev/podulebus/files.podulebus"
attach podulebus at root
file arch/arm32/podulebus/podulebus.c podulebus needs-flag
file arch/arm32/podulebus/podulebus_io.c podulebus
file arch/arm32/podulebus/podulebus_io_asm.S podulebus
file arch/arm32/podulebus/netslot.c podulebus
include "dev/podulebus/files.podulebus"
# Ethernet devices

View File

@ -1,4 +1,7 @@
# $NetBSD: files.podulebus,v 1.10 2001/06/13 18:31:43 bjh21 Exp $
# $NetBSD: files.podulebus,v 1.11 2001/07/04 13:49:24 bjh21 Exp $
device podulebus { [slot = -1] }
define podloader
# Oak SCSI
device oak: scsi, ncr5380sbc
@ -10,6 +13,12 @@ device hcsc: scsi, ncr5380sbc
attach hcsc at podulebus
file dev/podulebus/hcsc.c hcsc
# Castle EtherSCSI
device ethsc { }
attach ethsc at podulebus
file dev/podulebus/ethsc.c ethsc
attach iy at ethsc with iy_ethsc
# D.T. software IDE
device dtide: wdc_base, ata, atapi
attach dtide at podulebus