71 lines
1.8 KiB
Plaintext
71 lines
1.8 KiB
Plaintext
# $NetBSD: files.shbus,v 1.2 2001/04/24 19:43:25 marcus Exp $
|
|
#
|
|
# Config file and device description for machine-independent SHBus 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
|
|
|
|
file arch/dreamcast/dreamcast/shb.c shb needs-flag
|
|
file arch/dreamcast/dreamcast/sysasic.c shb
|
|
|
|
# Misc devices
|
|
|
|
device wdog
|
|
attach wdog at shb
|
|
file arch/sh3/dev/wdog.c wdog needs-flag
|
|
|
|
#
|
|
# Serial drivers
|
|
#
|
|
|
|
defopt opt_sci.h SCICONSOLE SCICN_SPEED
|
|
device sci
|
|
attach sci at shb
|
|
file arch/sh3/dev/sci.c sci needs-flag
|
|
|
|
defopt opt_scif.h SCIFCONSOLE SCIFCN_SPEED
|
|
device scif
|
|
attach scif at shb
|
|
file arch/sh3/dev/scif.c scif 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
|
|
file arch/sh3/dev/shpcic.c shpcic
|
|
|
|
# PCIC pcmcia contoller
|
|
attach shpcic at shb with pcic_shb
|
|
file arch/sh3/dev/pcic_shb.c pcic_shb
|
|
file arch/sh3/dev/pcic_shbsubr.c pcic_shb
|
|
|
|
# PCIC pcmcia contoller
|
|
#attach pcic at pci with pcic_pci
|
|
#file dev/pci/i82365_pci.c pcic_pci
|
|
|
|
|
|
# this wants to be probed as late as possible.
|
|
#
|
|
# Machine-independent PCMCIA drivers
|
|
#
|
|
device fdc {drive = -1}
|
|
include "dev/pcmcia/files.pcmcia"
|