1 # $NetBSD: files.dreamcast,v 1.17 2002/03/24 18:14:27 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/procfs_machdep.c procfs 19 file arch/dreamcast/dreamcast/clock_machdep.c 20 file arch/sh3/sh3/disksubr.c disk 21 22 defparam opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE 23 24 # 25 # Machine-independent SCSI drivers 26 # 27 28 include "dev/scsipi/files.scsipi" 29 major {sd = 4} 30 major {st = 5} 31 major {cd = 6} 32 33 # 34 # Machine-independent ATA drivers 35 # 36 37 include "dev/ata/files.ata" 38 major {wd = 0} 39 40 # Memory Disk for install floppy 41 file dev/md_root.c memory_disk_hooks 42 major {md = 17} 43 44 # 45 # System bus types 46 # 47 48 define mainbus { } 49 device mainbus: mainbus 50 attach mainbus at root 51 file arch/dreamcast/dreamcast/mainbus.c mainbus 52 53 device cpu 54 attach cpu at mainbus 55 file arch/sh3/sh3/cpu.c cpu 56 57 include "arch/sh3/conf/files.shb" 58 59 file arch/dreamcast/dreamcast/sysasic.c shb 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 needs-flag 67 68 device mkbd: wskbddev 69 attach mkbd at maple 70 file arch/dreamcast/dev/maple/mkbd.c mkbd needs-flag 71 72 device mms: wsmousedev 73 attach mms at maple 74 file arch/dreamcast/dev/maple/mms.c mms needs-flag 75 76 device pvr: wsemuldisplaydev, rasops16 77 attach pvr at shb 78 file arch/dreamcast/dev/pvr.c pvr needs-flag 79 80 device gdrom: disk 81 attach gdrom at shb 82 file arch/dreamcast/dev/gdrom.c gdrom needs-flag 83 major {gdrom = 19} 84 85 device g2bus { } 86 attach g2bus at shb 87 file arch/dreamcast/dev/g2/g2bus.c g2bus 88 file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus 89 90 device gapspci: pcibus 91 attach gapspci at g2bus 92 file arch/dreamcast/dev/g2/gapspci.c gapspci 93 file arch/dreamcast/dev/g2/gapspci_dma.c gapspci 94 file arch/dreamcast/dev/g2/gapspci_pci.c gapspci 95