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