NetBSD/sys/arch/mmeye/conf/files.shbus

62 lines
1.6 KiB
Plaintext
Raw Normal View History

2000-04-21 11:12:53 +04:00
# $NetBSD: files.shbus,v 1.5 2000/04/21 07:12:54 tsubai Exp $
#
# Config file and device description for machine-independent ISA code.
# Included by ports that need it. Requires that the SCSI files be
# defined first.
# ports should specify appropriate major numbers for the following
# devices:
# mcd, scd, wd, wt
device shb {[port = -1], [size = 0],
[iomem = -1], [iosiz = 0],
[irq = -1], [drq = -1], [drq2 = -1]}
attach shb at mainbus
2000-04-21 11:12:53 +04:00
file arch/mmeye/mmeye/shb.c shb needs-flag
2000-02-24 20:07:34 +03:00
# Misc devices
device wdog
attach wdog at shb
2000-04-21 11:12:53 +04:00
file arch/sh3/dev/wdog.c wdog needs-flag
2000-02-24 20:07:34 +03:00
#
2000-04-21 11:12:53 +04:00
# Serial drivers
#
2000-04-21 11:12:53 +04:00
attach com at shb with com_sh
file arch/mmeye/mmeye/com_sh.c com_sh
1999-09-13 21:14:42 +04:00
# never enable this entry
#device sci
#attach sci at shb
2000-04-21 11:12:53 +04:00
#file arch/sh3/dev/sci.c sci needs-flag
# XXXX pcic here because it needs to be late. The catch: pcic needs
# to be late, so devices which attach to it are attached late. But it
# needs to be before its isa and pci attachments. This answer is
# non-optimal, but I don't have a better answer right now.
# PCIC pcmcia contoller
# XXX this needs to be done very late, so it's done here. This feels
# like a kludge, but it might be for the best.
defopt PCIC_SHB_ALLOC_IOBASE
defopt PCIC_SHB_ALLOC_IOSIZE
defopt PCIC_SHB_INTR_ALLOC_MASK
device shpcic: pcmciabus
1999-09-13 21:14:42 +04:00
file arch/sh3/dev/shpcic.c shpcic
# PCIC pcmcia contoller
attach shpcic at shb with pcic_shb
2000-04-21 11:12:53 +04:00
file arch/sh3/dev/pcic_shb.c pcic_shb
1999-09-13 21:14:42 +04:00
file arch/sh3/dev/pcic_shbsubr.c pcic_shb
# this wants to be probed as late as possible.
#
# Machine-independent PCMCIA drivers
#
device fdc {drive = -1}
include "dev/pcmcia/files.pcmcia"