1 # $NetBSD: files.dreamcast,v 1.9 2001/02/21 16:42:04 uch 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/sh3/sh3/disksubr.c disk 23 24 defopt opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE 25 defopt opt_led_addr.h LED_ADDR 26 defopt opt_initbsc.h BSC_BCR1_VAL BSC_BCR2_VAL BSC_WCR1_VAL BSC_WCR2_VAL 27 BSC_WCR3_VAL BSC_MCR_VAL BSC_SDMR2_VAL BSC_SDMR3_VAL 28 BSC_RTCSR_VAL BSC_RTCNT_VAL BSC_RTCOR_VAL BSC_RFCR_VAL 29 BSC_PCR_VAL FRQCR_VAL PFC_SCPCR_VAL 30 31 # 32 # Machine-independent SCSI drivers 33 # 34 35 include "dev/scsipi/files.scsipi" 36 major {sd = 4} 37 major {st = 5} 38 major {cd = 6} 39 40 # 41 # Machine-independent ATA drivers 42 # 43 44 include "dev/ata/files.ata" 45 major {wd = 0} 46 47 # Memory Disk for install floppy 48 file dev/md_root.c memory_disk_hooks 49 major {md = 17} 50 51 # 52 # System bus types 53 # 54 55 define mainbus { } 56 device mainbus: mainbus 57 attach mainbus at root 58 file arch/dreamcast/dreamcast/mainbus.c mainbus 59 60 include "arch/dreamcast/conf/files.shbus" 61 62 # network devices MII bus 63 include "dev/mii/files.mii" 64 65 device maple { [port = -1], [subunit = -1] } 66 attach maple at shb 67 file arch/dreamcast/dev/maple/maple.c maple 68 69 device mkbd: wskbddev 70 attach mkbd at maple 71 file arch/dreamcast/dev/maple/mkbd.c mkbd needs-flag 72 73 device pvr: wsemuldisplaydev, rasops16 74 attach pvr at shb 75 file arch/dreamcast/dev/pvr.c pvr needs-flag 76 77 device gdrom: disk 78 attach gdrom at shb 79 file arch/dreamcast/dev/gdrom.c gdrom needs-flag 80 major {gdrom = 19} 81 82 device g2bus { } 83 attach g2bus at shb 84 file arch/dreamcast/dev/g2/g2bus.c g2bus 85 file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus 86 87 device gapspci: pcibus 88 attach gapspci at g2bus 89 file arch/dreamcast/dev/g2/gapspci.c gapspci 90 file arch/dreamcast/dev/g2/gapspci_dma.c gapspci 91 file arch/dreamcast/dev/g2/gapspci_pci.c gapspci 92