1 # $NetBSD: files.dreamcast,v 1.26 2004/07/06 13:09:19 uch 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 dev/kloader.c kloader 22 file arch/dreamcast/dreamcast/kloader_machdep.c kloader 23 defflag opt_kloader.h KLOADER 24 defflag debug_kloader.h KLOADER_DEBUG 25 26 defparam opt_memsize.h IOM_ROM_BEGIN IOM_ROM_SIZE IOM_RAM_BEGIN IOM_RAM_SIZE 27 28 # 29 # Machine-independent SCSI drivers 30 # 31 32 include "dev/scsipi/files.scsipi" 33 34 # 35 # Machine-independent ATA drivers 36 # 37 38 include "dev/ata/files.ata" 39 40 # Memory Disk for install floppy 41 file dev/md_root.c memory_disk_hooks 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 device maple { [port = -1], [subunit = -1] } 61 attach maple at shb 62 file arch/dreamcast/dev/maple/maple.c maple needs-flag 63 64 device mkbd: wskbddev 65 attach mkbd at maple 66 file arch/dreamcast/dev/maple/mkbd.c mkbd needs-flag 67 68 device mms: wsmousedev 69 attach mms at maple 70 file arch/dreamcast/dev/maple/mms.c mms needs-flag 71 72 device mmem: disk 73 attach mmem at maple 74 file arch/dreamcast/dev/maple/mmemcard.c mmem needs-flag 75 76 device mlcd 77 attach mlcd at maple 78 file arch/dreamcast/dev/maple/mlcd.c mlcd needs-flag 79 80 device pvr: wsemuldisplaydev, rasops16 81 attach pvr at shb 82 file arch/dreamcast/dev/pvr.c pvr needs-flag 83 84 device gdrom: disk 85 attach gdrom at shb 86 file arch/dreamcast/dev/gdrom.c gdrom needs-flag 87 88 device g2bus { } 89 attach g2bus at shb 90 file arch/dreamcast/dev/g2/g2bus.c g2bus 91 file arch/dreamcast/dev/g2/g2bus_bus_mem.c g2bus 92 93 device gapspci: pcibus 94 attach gapspci at g2bus 95 file arch/dreamcast/dev/g2/gapspci.c gapspci 96 file arch/dreamcast/dev/g2/gapspci_dma.c gapspci 97 file arch/dreamcast/dev/g2/gapspci_pci.c gapspci 98 99 # LAN Adapter 100 attach mbe at g2bus with mbe_g2bus 101 file arch/dreamcast/dev/g2/if_mbe_g2.c mbe_g2bus 102 103 device aica: audiobus, auconv, mulaw 104 attach aica at g2bus 105 file arch/dreamcast/dev/g2/aica.c aica needs-flag 106 107 include "arch/dreamcast/conf/majors.dreamcast" 108