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