files.x68k revision 1.78
1# $NetBSD: files.x68k,v 1.78 2012/04/29 07:17:11 tsutsui 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 54# graphic devices 55define grfb { addr = -1 } 56 57device grfbus: grfb 58attach grfbus at mainbus 59 60device grf { grfaddr = -1 } 61attach grf at grfb 62file arch/x68k/dev/grf.c grf needs-count 63file arch/x68k/dev/grf_conf.c grf | ite 64file arch/x68k/dev/grf_machdep.c grf | ite 65file arch/x68k/dev/grf_tv.c grf | ite 66file arch/x68k/dev/grf_gv.c grf | ite 67 68defparam opt_ite.h ITE_KERNEL_ATTR 69device ite : tty 70attach ite at grf 71file arch/x68k/dev/ite.c ite needs-flag 72file arch/x68k/dev/ite_tv.c grf | ite 73file arch/x68k/dev/kbdmap.c ite 74 75device intio {[addr = -1], [intr = -1], [dma = -1], [dmaintr = -1]} 76attach intio at mainbus 77file arch/x68k/dev/intio.c intio 78 79device xel 80attach xel at intio 81file arch/x68k/dev/xel.c xel 82 83device mfp {} 84attach mfp at intio 85file arch/x68k/dev/mfp.c mfp 86 87device clock 88attach clock at mfp 89file arch/x68k/x68k/clock.c clock needs-flag 90 91device kbd: event 92attach kbd at mfp 93file arch/x68k/dev/kbd.c kbd needs-flag 94 95device powsw: sysmon_power, sysmon_taskq 96attach powsw at mfp 97file arch/x68k/dev/powsw.c powsw 98 99device rtc 100attach rtc at intio 101file arch/x68k/dev/rtclock.c rtc 102 103device dmac 104attach dmac at intio 105file arch/x68k/dev/intio_dmac.c dmac needs-flag 106 107defflag opt_zsc.h ZSCONSOLE 108defparam opt_zsc.h ZSCN_SPEED 109device zsc {channel = -1} 110attach zsc at intio 111file arch/x68k/dev/zs.c zsc needs-flag 112file dev/ic/z8530sc.c zsc 113 114device zstty: tty 115attach zstty at zsc 116file dev/ic/z8530tty.c zstty needs-flag 117 118device ms: event 119attach ms at zsc 120file arch/x68k/dev/ms.c ms needs-flag 121 122device neptune {[addr = -1]} 123attach neptune at intio 124file arch/x68k/dev/neptune.c neptune 125 126attach ne at neptune with ne_neptune: rtl80x9 127file arch/x68k/dev/if_ne_neptune.c ne_neptune 128 129device opm 130attach opm at intio 131file arch/x68k/dev/opm.c opm 132 133device vs: audiobus, auconv, mulaw, msm6258 134attach vs at intio 135file arch/x68k/dev/vs.c vs needs-flag 136 137device fdc { unit = -1 } 138attach fdc at intio 139 140device fd: disk 141attach fd at fdc 142file arch/x68k/dev/fd.c fd needs-flag 143 144device par 145attach par at intio 146file arch/x68k/dev/par.c par needs-flag 147 148attach com at intio with com_intio 149file arch/x68k/dev/com_intio.c com_intio 150 151# 152# SCSI drivers 153# 154include "dev/scsipi/files.scsipi" 155 156device scsirom {} 157attach scsirom at intio 158file arch/x68k/dev/scsirom.c scsirom 159 160attach spc at scsirom with spc_intio 161file arch/x68k/dev/spc.c spc_intio needs-flag 162 163device mha: scsi 164attach mha at scsirom 165file arch/x68k/dev/mha.c mha needs-flag 166 167device sram 168attach sram at intio 169file arch/x68k/dev/sram.c sram 170 171defpseudo bell 172file arch/x68k/dev/opmbell.c bell needs-flag 173 174# Nereid Ethernet 175attach ne at intio with ne_intio: rtl80x9 176file arch/x68k/dev/if_ne_intio.c ne_intio 177 178# Nereid USB 179attach slhci at intio with slhci_intio 180file arch/x68k/dev/slhci_intio.c slhci_intio 181 182# Nereid Bank Memory Disk 183device bmd 184attach bmd at intio 185file arch/x68k/dev/bmd.c bmd needs-flag 186 187# memory disk 188file dev/md_root.c memory_disk_hooks 189 190# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 191include "compat/aoutm68k/files.aoutm68k" 192 193# SunOS Binary Compatibility (COMPAT_SUNOS) 194include "compat/sunos/files.sunos" 195file arch/m68k/m68k/sunos_machdep.c compat_sunos 196 197# SVR4 Binary Compatibility (COMPAT_SVR4) 198include "compat/svr4/files.svr4" 199 200# Linux binary compatibility (COMPAT_LINUX) 201include "compat/linux/files.linux" 202include "compat/linux/arch/m68k/files.linux_m68k" 203file arch/m68k/m68k/linux_trap.c compat_linux 204 205# OSS audio driver compatibility 206include "compat/ossaudio/files.ossaudio" 207 208# USB support 209include "dev/usb/files.usb" 210 211# ATA and ATAPI support 212include "dev/ata/files.ata" 213 214include "arch/x68k/conf/majors.x68k" 215