1# $NetBSD: files.mvme68k,v 1.49 2001/11/28 10:21:16 lukem Exp $ 2 3# config file for mvme68k 4 5defflag opt_m060sp.h M060SP 6 7# maxpartitions must be first item in files.${ARCH}.newconf 8maxpartitions 8 9 10device mainbus { } 11attach mainbus at root 12file arch/mvme68k/dev/mainbus.c mainbus 13 14# MVME-147 Peripheral Channel Controller 15device pcc { [ ipl = -1 ] } 16attach pcc at mainbus 17file arch/mvme68k/dev/pcc.c pcc needs-flag 18 19# MVME-166,167 and 177 Peripheral Channel Controller Chip2 20device pcctwo { [ ipl = -1 ] } 21attach pcctwo at mainbus 22file arch/mvme68k/dev/pcctwo.c pcctwo needs-flag 23 24# This is not as odd as it looks. If the user doesn't define 25# a vmetwo0 device in the config file, we still need the 26# following gloop to deal with some local interrupts. 27file arch/mvme68k/dev/vme_two_isr.c pcctwo 28 29# Grab the MD VMEbus goop 30include "dev/vme/files.vme" 31 32# Our own common VMEbus glue 33define mvmebus 34file arch/mvme68k/dev/mvmebus.c mvmebus 35 36# MVME-147 VME controller chip 37device vmepcc: mvmebus, vmebus 38attach vmepcc at pcc 39file arch/mvme68k/dev/vme_pcc.c vmepcc 40 41# MVME-1[67]7 VME controller chip 42device vmetwo: mvmebus, vmebus 43attach vmetwo at mainbus 44file arch/mvme68k/dev/vme_two.c vmetwo needs-flag 45 46device clock 47attach clock at pcc with clock_pcc 48attach clock at pcctwo with clock_pcctwo 49file arch/mvme68k/dev/clock_pcc.c clock_pcc 50file arch/mvme68k/dev/clock_pcctwo.c clock_pcctwo 51 52device zsc { channel = -1 } 53file arch/mvme68k/dev/zs.c zsc 54file dev/ic/z8530sc.c zsc 55 56attach zsc at pcc with zsc_pcc 57file arch/mvme68k/dev/zs_pcc.c zsc_pcc needs-flag 58 59attach zsc at pcctwo with zsc_pcctwo 60file arch/mvme68k/dev/zs_pcctwo.c zsc_pcctwo needs-flag 61 62device zstty: tty 63attach zstty at zsc 64file dev/ic/z8530tty.c zstty needs-flag 65 66# Parallel printer 67device lpt 68attach lpt at pcc with lpt_pcc 69attach lpt at pcctwo with lpt_pcctwo 70file arch/mvme68k/dev/lpt.c lpt needs-flag 71file arch/mvme68k/dev/lpt_pcc.c lpt_pcc 72file arch/mvme68k/dev/lpt_pcctwo.c lpt_pcctwo 73 74# device defined in sys/conf/files 75attach le at pcc with le_pcc: le24 76file arch/mvme68k/dev/if_le.c le_pcc 77 78# i82596 Ethernet Interface on MVME1[67]7 79attach ie at pcctwo with ie_pcctwo 80file arch/mvme68k/dev/if_ie.c ie_pcctwo 81 82# CD2401 Quad Serial Controller 83attach clmpcc at pcctwo with clmpcc_pcctwo 84file arch/mvme68k/dev/clmpcc_pcctwo.c clmpcc_pcctwo needs-flag 85 86# MVME16x and MVME17x Memory Controller ASICs 87device memc 88attach memc at mainbus 89file arch/mvme68k/dev/memc.c memc 90 91# TimeKeeper NVRAM device 92device timekeeper: mk48txx 93attach timekeeper at mainbus 94file arch/mvme68k/dev/timekeeper.c timekeeper 95 96# Memory disk for boot tape 97file dev/md_root.c memory_disk_hooks 98 99include "dev/scsipi/files.scsipi" 100 101major { sd = 4 } 102major { cd = 8 } 103major { md = 9 } 104 105# RAIDframe 106major { raid = 16 } 107 108# WD33C93 SCSI ... 109define sbic 110file arch/mvme68k/dev/sbic.c sbic 111 112# ... on the MVME-147 113device wdsc: sbic, scsi 114attach wdsc at pcc with wdsc_pcc 115file arch/mvme68k/dev/wdsc.c wdsc_pcc 116 117# NCR53C710 SCSI on everything else 118attach osiop at pcctwo with ncrsc_pcctwo 119file arch/mvme68k/dev/ncrsc_pcctwo.c ncrsc_pcctwo 120 121file arch/mvme68k/mvme68k/autoconf.c 122file arch/mvme68k/mvme68k/bus_dma.c 123file arch/mvme68k/mvme68k/bus_space.c 124file arch/mvme68k/mvme68k/clock.c 125file arch/mvme68k/mvme68k/conf.c 126file arch/mvme68k/mvme68k/db_memrw.c ddb | kgdb 127file arch/mvme68k/mvme68k/disksubr.c 128file arch/mvme68k/mvme68k/isr.c 129file arch/mvme68k/mvme68k/machdep.c 130file arch/mvme68k/mvme68k/mem.c 131file arch/mvme68k/mvme68k/pmap.c 132file arch/mvme68k/mvme68k/pmap_bootstrap.c compile-with "${NOPROF_C}" 133file arch/mvme68k/mvme68k/procfs_machdep.c procfs 134file arch/mvme68k/mvme68k/softintr.c 135file arch/mvme68k/mvme68k/sys_machdep.c 136file arch/mvme68k/mvme68k/trap.c 137file arch/mvme68k/mvme68k/vm_machdep.c 138file arch/m68k/m68k/cacheops.c 139file dev/clock_subr.c 140file dev/cons.c 141file dev/cninit.c 142 143# Motorola 68060 support package 144include "arch/m68k/060sp/files.060sp" 145 146# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 147include "compat/aoutm68k/files.aoutm68k" 148 149# SunOS Binary Compatibility (COMPAT_SUNOS) 150include "compat/sunos/files.sunos" 151file arch/m68k/m68k/sunos_machdep.c compat_sunos 152 153# SVR4 Binary Compatibility (COMPAT_SVR4) 154include "compat/svr4/files.svr4" 155 156# Linux binary compatibility (COMPAT_LINUX) 157include "compat/linux/files.linux" 158include "compat/linux/arch/m68k/files.linux_m68k" 159file arch/m68k/m68k/linux_trap.c compat_linux 160 161# OSS audio driver compatibility 162include "compat/ossaudio/files.ossaudio" 163