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