NetBSD/sys/arch/dreamcast/conf/files.dreamcast

97 lines
2.3 KiB
Plaintext

# $NetBSD: files.dreamcast,v 1.14 2001/11/20 14:34:20 lukem Exp $
#
# new style config file for sh3 architecture
#
# maxpartitions must be first item in files.${ARCH}.newconf
maxpartitions 8
maxusers 2 16 64
include "dev/wscons/files.wscons"
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"
include "dev/i2o/files.i2o"
include "dev/pci/files.pci"
file arch/dreamcast/dreamcast/conf.c
file arch/dreamcast/dreamcast/machdep.c
file arch/dreamcast/dreamcast/autoconf.c
file arch/dreamcast/dreamcast/procfs_machdep.c procfs
file arch/dreamcast/dreamcast/clock.c
file arch/sh3/sh3/disksubr.c disk
defparam opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE
defparam opt_led_addr.h LED_ADDR
defparam opt_initbsc.h BSC_BCR1_VAL BSC_BCR2_VAL BSC_WCR1_VAL BSC_WCR2_VAL
BSC_WCR3_VAL BSC_MCR_VAL BSC_SDMR2_VAL BSC_SDMR3_VAL
BSC_RTCSR_VAL BSC_RTCNT_VAL BSC_RTCOR_VAL BSC_RFCR_VAL
BSC_PCR_VAL FRQCR_VAL PFC_SCPCR_VAL
#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"
major {sd = 4}
major {st = 5}
major {cd = 6}
#
# Machine-independent ATA drivers
#
include "dev/ata/files.ata"
major {wd = 0}
# Memory Disk for install floppy
file dev/md_root.c memory_disk_hooks
major {md = 17}
#
# System bus types
#
define mainbus { }
device mainbus: mainbus
attach mainbus at root
file arch/dreamcast/dreamcast/mainbus.c mainbus
include "arch/dreamcast/conf/files.shbus"
# network devices MII bus
include "dev/mii/files.mii"
device maple { [port = -1], [subunit = -1] }
attach maple at shb
file arch/dreamcast/dev/maple/maple.c maple needs-flag
device mkbd: wskbddev
attach mkbd at maple
file arch/dreamcast/dev/maple/mkbd.c mkbd needs-flag
device mms: wsmousedev
attach mms at maple
file arch/dreamcast/dev/maple/mms.c mms needs-flag
device pvr: wsemuldisplaydev, rasops16
attach pvr at shb
file arch/dreamcast/dev/pvr.c pvr needs-flag
device gdrom: disk
attach gdrom at shb
file arch/dreamcast/dev/gdrom.c gdrom needs-flag
major {gdrom = 19}
device g2bus { }
attach g2bus at shb
file arch/dreamcast/dev/g2/g2bus.c g2bus
file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus
device gapspci: pcibus
attach gapspci at g2bus
file arch/dreamcast/dev/g2/gapspci.c gapspci
file arch/dreamcast/dev/g2/gapspci_dma.c gapspci
file arch/dreamcast/dev/g2/gapspci_pci.c gapspci