1 # $NetBSD: files.dreamcast,v 1.14 2001/11/20 14:34:20 lukem Exp $ 2 # 3 # new style config file for sh3 architecture 4 # 5 6 # maxpartitions must be first item in files.${ARCH}.newconf 7 maxpartitions 8 8 9 maxusers 2 16 64 10 11 include "dev/wscons/files.wscons" 12 include "dev/rasops/files.rasops" 13 include "dev/wsfont/files.wsfont" 14 15 include "dev/i2o/files.i2o" 16 include "dev/pci/files.pci" 17 18 file arch/dreamcast/dreamcast/conf.c 19 file arch/dreamcast/dreamcast/machdep.c 20 file arch/dreamcast/dreamcast/autoconf.c 21 file arch/dreamcast/dreamcast/procfs_machdep.c procfs 22 file arch/dreamcast/dreamcast/clock.c 23 file arch/sh3/sh3/disksubr.c disk 24 25 defparam opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE 26 defparam opt_led_addr.h LED_ADDR 27 defparam opt_initbsc.h BSC_BCR1_VAL BSC_BCR2_VAL BSC_WCR1_VAL BSC_WCR2_VAL 28 BSC_WCR3_VAL BSC_MCR_VAL BSC_SDMR2_VAL BSC_SDMR3_VAL 29 BSC_RTCSR_VAL BSC_RTCNT_VAL BSC_RTCOR_VAL BSC_RFCR_VAL 30 BSC_PCR_VAL FRQCR_VAL PFC_SCPCR_VAL 31 32 # 33 # Machine-independent SCSI drivers 34 # 35 36 include "dev/scsipi/files.scsipi" 37 major {sd = 4} 38 major {st = 5} 39 major {cd = 6} 40 41 # 42 # Machine-independent ATA drivers 43 # 44 45 include "dev/ata/files.ata" 46 major {wd = 0} 47 48 # Memory Disk for install floppy 49 file dev/md_root.c memory_disk_hooks 50 major {md = 17} 51 52 # 53 # System bus types 54 # 55 56 define mainbus { } 57 device mainbus: mainbus 58 attach mainbus at root 59 file arch/dreamcast/dreamcast/mainbus.c mainbus 60 61 include "arch/dreamcast/conf/files.shbus" 62 63 # network devices MII bus 64 include "dev/mii/files.mii" 65 66 device maple { [port = -1], [subunit = -1] } 67 attach maple at shb 68 file arch/dreamcast/dev/maple/maple.c maple needs-flag 69 70 device mkbd: wskbddev 71 attach mkbd at maple 72 file arch/dreamcast/dev/maple/mkbd.c mkbd needs-flag 73 74 device mms: wsmousedev 75 attach mms at maple 76 file arch/dreamcast/dev/maple/mms.c mms needs-flag 77 78 device pvr: wsemuldisplaydev, rasops16 79 attach pvr at shb 80 file arch/dreamcast/dev/pvr.c pvr needs-flag 81 82 device gdrom: disk 83 attach gdrom at shb 84 file arch/dreamcast/dev/gdrom.c gdrom needs-flag 85 major {gdrom = 19} 86 87 device g2bus { } 88 attach g2bus at shb 89 file arch/dreamcast/dev/g2/g2bus.c g2bus 90 file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus 91 92 device gapspci: pcibus 93 attach gapspci at g2bus 94 file arch/dreamcast/dev/g2/gapspci.c gapspci 95 file arch/dreamcast/dev/g2/gapspci_dma.c gapspci 96 file arch/dreamcast/dev/g2/gapspci_pci.c gapspci 97