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