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