1 # $NetBSD: files.dreamcast,v 1.24 2003/06/14 16:15:16 tsutsui Exp $ 2 3 # maxpartitions must be first item in files.${MACHINE} 4 maxpartitions 16 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 file arch/dreamcast/dreamcast/kloader.c kloader 22 defflag opt_kloader.h KLOADER 23 defflag debug_kloader.h KLOADER_DEBUG 24 25 defparam opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE 26 27 # 28 # Machine-independent SCSI drivers 29 # 30 31 include "dev/scsipi/files.scsipi" 32 33 # 34 # Machine-independent ATA drivers 35 # 36 37 include "dev/ata/files.ata" 38 39 # Memory Disk for install floppy 40 file dev/md_root.c memory_disk_hooks 41 42 # 43 # System bus types 44 # 45 46 define mainbus { } 47 device mainbus: mainbus 48 attach mainbus at root 49 file arch/dreamcast/dreamcast/mainbus.c mainbus 50 51 device cpu 52 attach cpu at mainbus 53 file arch/sh3/sh3/cpu.c cpu 54 55 include "arch/sh3/conf/files.shb" 56 57 file arch/dreamcast/dreamcast/sysasic.c shb 58 59 device maple { [port = -1], [subunit = -1] } 60 attach maple at shb 61 file arch/dreamcast/dev/maple/maple.c maple needs-flag 62 63 device mkbd: wskbddev 64 attach mkbd at maple 65 file arch/dreamcast/dev/maple/mkbd.c mkbd needs-flag 66 67 device mms: wsmousedev 68 attach mms at maple 69 file arch/dreamcast/dev/maple/mms.c mms needs-flag 70 71 device mmem: disk 72 attach mmem at maple 73 file arch/dreamcast/dev/maple/mmemcard.c mmem needs-flag 74 75 device mlcd 76 attach mlcd at maple 77 file arch/dreamcast/dev/maple/mlcd.c mlcd needs-flag 78 79 device pvr: wsemuldisplaydev, rasops16 80 attach pvr at shb 81 file arch/dreamcast/dev/pvr.c pvr needs-flag 82 83 device gdrom: disk 84 attach gdrom at shb 85 file arch/dreamcast/dev/gdrom.c gdrom needs-flag 86 87 device g2bus { } 88 attach g2bus at shb 89 file arch/dreamcast/dev/g2/g2bus.c g2bus 90 file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus 91 92 device gapspci: pcibus 93 attach gapspci at g2bus 94 file arch/dreamcast/dev/g2/gapspci.c gapspci 95 file arch/dreamcast/dev/g2/gapspci_dma.c gapspci 96 file arch/dreamcast/dev/g2/gapspci_pci.c gapspci 97 98 # LAN Adapter 99 attach mbe at g2bus with mbe_g2bus 100 file arch/dreamcast/dev/g2/if_mbe_g2.c mbe_g2bus 101 102 include "arch/dreamcast/conf/majors.dreamcast" 103