files.x68k revision 1.76
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 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 148# 149# SCSI drivers 150# 151include "dev/scsipi/files.scsipi" 152 153device scsirom {} 154attach scsirom at intio 155file arch/x68k/dev/scsirom.c scsirom 156 157attach spc at scsirom with spc_intio 158file arch/x68k/dev/spc.c spc_intio needs-flag 159 160device mha: scsi 161attach mha at scsirom 162file arch/x68k/dev/mha.c mha needs-flag 163 164device sram 165attach sram at intio 166file arch/x68k/dev/sram.c sram 167 168defpseudo bell 169file arch/x68k/dev/opmbell.c bell needs-flag 170 171# Nereid Ethernet 172attach ne at intio with ne_intio: rtl80x9 173file arch/x68k/dev/if_ne_intio.c ne_intio 174 175# Nereid USB 176attach slhci at intio with slhci_intio 177file arch/x68k/dev/slhci_intio.c slhci_intio 178 179# Nereid Bank Memory Disk 180device bmd 181attach bmd at intio 182file arch/x68k/dev/bmd.c bmd needs-flag 183 184# memory disk 185file dev/md_root.c memory_disk_hooks 186 187# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 188include "compat/aoutm68k/files.aoutm68k" 189 190# SunOS Binary Compatibility (COMPAT_SUNOS) 191include "compat/sunos/files.sunos" 192file arch/m68k/m68k/sunos_machdep.c compat_sunos 193 194# SVR4 Binary Compatibility (COMPAT_SVR4) 195include "compat/svr4/files.svr4" 196 197# Linux binary compatibility (COMPAT_LINUX) 198include "compat/linux/files.linux" 199include "compat/linux/arch/m68k/files.linux_m68k" 200file arch/m68k/m68k/linux_trap.c compat_linux 201 202# OSS audio driver compatibility 203include "compat/ossaudio/files.ossaudio" 204 205# USB support 206include "dev/usb/files.usb" 207 208# ATA and ATAPI support 209include "dev/ata/files.ata" 210 211include "arch/x68k/conf/majors.x68k" 212