1 # $NetBSD: files.dreamcast,v 1.10 2001/04/23 11:20:41 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/dreamcast/dreamcast/clock.c 23 file arch/sh3/sh3/disksubr.c disk 24 25 defopt opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE 26 defopt opt_led_addr.h LED_ADDR 27 defopt 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 69 70 device mkbd: wskbddev 71 attach mkbd at maple 72 file arch/dreamcast/dev/maple/mkbd.c mkbd needs-flag 73 74 device pvr: wsemuldisplaydev, rasops16 75 attach pvr at shb 76 file arch/dreamcast/dev/pvr.c pvr needs-flag 77 78 device gdrom: disk 79 attach gdrom at shb 80 file arch/dreamcast/dev/gdrom.c gdrom needs-flag 81 major {gdrom = 19} 82 83 device g2bus { } 84 attach g2bus at shb 85 file arch/dreamcast/dev/g2/g2bus.c g2bus 86 file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus 87 88 device gapspci: pcibus 89 attach gapspci at g2bus 90 file arch/dreamcast/dev/g2/gapspci.c gapspci 91 file arch/dreamcast/dev/g2/gapspci_dma.c gapspci 92 file arch/dreamcast/dev/g2/gapspci_pci.c gapspci 93