1# $NetBSD: files.x68k,v 1.54 2003/06/24 19:56:22 martin Exp $ 2# 3# new style config file for x68k architecture 4# 5 6defflag M060SP 7 8defflag opt_m680x0.h M68020 M68030 M68040 M68060 9 10defflag JUPITER 11defflag PANICBUTTON 12defflag opt_extmem.h EXTENDED_MEMORY 13 14# maxpartitions must be first item in files.${ARCH}.newconf 15maxpartitions 8 16 17maxusers 2 16 64 18 19device mainbus {} 20attach mainbus at root 21 22device cpu 23attach cpu at mainbus 24 25define event {} 26file arch/x68k/dev/event.c event 27 28file arch/x68k/x68k/x68k_init.c 29file arch/x68k/x68k/autoconf.c 30file arch/x68k/x68k/conf.c 31file arch/x68k/x68k/disksubr.c disk 32file arch/x68k/x68k/machdep.c 33file arch/x68k/x68k/mem.c 34file arch/x68k/x68k/pmap_bootstrap.c compile-with "${NOPROF_C}" 35file arch/x68k/x68k/procfs_machdep.c procfs 36file arch/x68k/x68k/trap.c 37file arch/x68k/x68k/fpu.c 38file arch/x68k/x68k/bus.c 39file arch/m68k/m68k/cacheops.c 40file arch/m68k/m68k/db_memrw.c ddb 41file arch/m68k/m68k/pmap_motorola.c 42file arch/m68k/m68k/sys_machdep.c 43file arch/m68k/m68k/vm_machdep.c 44 45file dev/cons.c 46file dev/cninit.c 47 48# Emulation modules 49# 6888x emulator (FPU_EMULATE) 50include "arch/m68k/fpe/files.fpe" 51 52# 68060 software support package 53include "arch/m68k/060sp/files.060sp" 54 55device xcom: tty 56attach xcom at mainbus 57file arch/x68k/dev/com.c xcom needs-count 58 59# graphic devices 60define grfb {} 61 62device grfbus: grfb 63attach grfbus at mainbus 64 65device grf {} 66attach grf at grfb 67file arch/x68k/dev/grf.c grf needs-count 68file arch/x68k/dev/grf_conf.c grf|ite 69file arch/x68k/dev/grf_machdep.c grf|ite 70file arch/x68k/dev/grf_tv.c grf|ite 71file arch/x68k/dev/grf_gv.c grf|ite 72 73defparam opt_ite.h ITE_KERNEL_ATTR 74device ite: tty 75attach ite at grf 76file arch/x68k/dev/ite.c ite needs-flag 77file arch/x68k/dev/ite_tv.c grf|ite 78file arch/x68k/dev/kbdmap.c ite 79 80device intio {[addr = -1], [intr = -1], [dma = -1], [dmaintr = -1]} 81attach intio at mainbus 82file arch/x68k/dev/intio.c intio 83 84device xel 85attach xel at intio 86file arch/x68k/dev/xel.c xel 87 88device mfp {} 89attach mfp at intio 90file arch/x68k/dev/mfp.c mfp 91 92device clock 93attach clock at mfp 94file arch/x68k/x68k/clock.c clock needs-flag 95 96device kbd: event 97attach kbd at mfp 98file arch/x68k/dev/kbd.c kbd needs-flag 99 100device rtc 101attach rtc at intio 102file arch/x68k/dev/rtclock.c rtc 103file dev/clock_subr.c rtc 104 105device dmac 106attach dmac at intio 107file arch/x68k/dev/intio_dmac.c dmac needs-flag 108 109defflag opt_zsc.h ZSCONSOLE 110defparam opt_zsc.h ZSCN_SPEED 111device zsc {channel = -1} 112attach zsc at intio 113file arch/x68k/dev/zs.c zsc needs-flag 114file dev/ic/z8530sc.c zsc 115 116device zstty: tty 117attach zstty at zsc 118file dev/ic/z8530tty.c zstty needs-flag 119 120device ms: event 121attach ms at zsc 122file arch/x68k/dev/ms.c ms needs-flag 123 124device neptune {[addr = -1]} 125attach neptune at intio 126file arch/x68k/dev/neptune.c neptune 127 128attach ne at neptune with ne_neptune: rtl80x9 129file arch/x68k/dev/if_ne_neptune.c ne_neptune 130 131device opm 132attach opm at intio 133file arch/x68k/dev/opm.c opm 134 135device vs: audiobus, auconv, mulaw, msm6258 136attach vs at intio 137file arch/x68k/dev/vs.c vs needs-flag 138 139device fdc { unit = -1 } 140attach fdc at intio 141 142device fd: disk 143attach fd at fdc 144file arch/x68k/dev/fd.c fd needs-flag 145 146device par 147attach par at intio 148file arch/x68k/dev/par.c par needs-flag 149 150# 151# SCSI drivers 152# 153include "dev/scsipi/files.scsipi" 154 155device scsirom {} 156attach scsirom at intio 157file arch/x68k/dev/scsirom.c scsirom 158 159device spc: scsi 160attach spc at scsirom with spc_intio 161file arch/x68k/dev/spc.c spc_intio needs-flag 162file dev/ic/mb89352.c spc 163 164device mha: scsi 165attach mha at scsirom 166file arch/x68k/dev/mha.c mha needs-flag 167 168defpseudo bell 169file arch/x68k/dev/opmbell.c bell needs-flag 170 171defpseudo sram 172file arch/x68k/dev/sram.c sram needs-flag 173defpseudo pow 174file arch/x68k/dev/pow.c pow needs-count 175 176# Nereid Ethernet 177attach ne at intio with ne_intio: rtl80x9 178file arch/x68k/dev/if_ne_intio.c ne_intio 179 180# Nereid USB 181attach slhci at intio with slhci_intio 182file arch/x68k/dev/slhci_intio.c slhci_intio 183 184# Nereid Bank Memory Disk 185device bmd 186attach bmd at intio 187file arch/x68k/dev/bmd.c bmd needs-flag 188 189# memory disk 190file dev/md_root.c memory_disk_hooks 191 192# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 193include "compat/aoutm68k/files.aoutm68k" 194 195# SunOS Binary Compatibility (COMPAT_SUNOS) 196include "compat/sunos/files.sunos" 197file arch/m68k/m68k/sunos_machdep.c compat_sunos 198 199# SVR4 Binary Compatibility (COMPAT_SVR4) 200include "compat/svr4/files.svr4" 201 202# Linux binary compatibility (COMPAT_LINUX) 203include "compat/linux/files.linux" 204include "compat/linux/arch/m68k/files.linux_m68k" 205file arch/m68k/m68k/linux_trap.c compat_linux 206 207# OSS audio driver compatibility 208include "compat/ossaudio/files.ossaudio" 209 210# USB support 211include "dev/usb/files.usb" 212 213include "arch/x68k/conf/majors.x68k" 214