files.x68k revision 1.68
1# $NetBSD: files.x68k,v 1.68 2008/12/21 09:01:19 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 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/trap.c 36file arch/x68k/x68k/fpu.c 37file arch/x68k/x68k/bus.c 38file arch/m68k/m68k/cacheops.c 39file arch/m68k/m68k/db_memrw.c ddb 40file arch/m68k/m68k/pmap_motorola.c 41file arch/m68k/m68k/procfs_machdep.c procfs 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 { addr = -1 } 61 62device grfbus: grfb 63attach grfbus at mainbus 64 65device grf { grfaddr = -1 } 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 pow: sysmon_power, sysmon_taskq 101attach pow at mfp 102file arch/x68k/dev/pow.c pow 103 104device rtc 105attach rtc at intio 106file arch/x68k/dev/rtclock.c rtc 107 108device dmac 109attach dmac at intio 110file arch/x68k/dev/intio_dmac.c dmac needs-flag 111 112defflag opt_zsc.h ZSCONSOLE 113defparam opt_zsc.h ZSCN_SPEED 114device zsc {channel = -1} 115attach zsc at intio 116file arch/x68k/dev/zs.c zsc needs-flag 117file dev/ic/z8530sc.c zsc 118 119device zstty: tty 120attach zstty at zsc 121file dev/ic/z8530tty.c zstty needs-flag 122 123device ms: event 124attach ms at zsc 125file arch/x68k/dev/ms.c ms needs-flag 126 127device neptune {[addr = -1]} 128attach neptune at intio 129file arch/x68k/dev/neptune.c neptune 130 131attach ne at neptune with ne_neptune: rtl80x9 132file arch/x68k/dev/if_ne_neptune.c ne_neptune 133 134device opm 135attach opm at intio 136file arch/x68k/dev/opm.c opm 137 138device vs: audiobus, auconv, mulaw, msm6258 139attach vs at intio 140file arch/x68k/dev/vs.c vs needs-flag 141 142device fdc { unit = -1 } 143attach fdc at intio 144 145device fd: disk 146attach fd at fdc 147file arch/x68k/dev/fd.c fd needs-flag 148 149device par 150attach par at intio 151file arch/x68k/dev/par.c par needs-flag 152 153# 154# SCSI drivers 155# 156include "dev/scsipi/files.scsipi" 157 158device scsirom {} 159attach scsirom at intio 160file arch/x68k/dev/scsirom.c scsirom 161 162attach spc at scsirom with spc_intio 163file arch/x68k/dev/spc.c spc_intio needs-flag 164 165device mha: scsi 166attach mha at scsirom 167file arch/x68k/dev/mha.c mha needs-flag 168 169device sram 170attach sram at intio 171file arch/x68k/dev/sram.c sram 172 173defpseudo bell 174file arch/x68k/dev/opmbell.c bell needs-flag 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