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