1 # $NetBSD: files.mvme68k,v 1.46 2001/07/27 18:40:28 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 # Memory disk for boot tape 92 file dev/md_root.c memory_disk_hooks 93 94 include "dev/scsipi/files.scsipi" 95 96 major { sd = 4 } 97 major { cd = 8 } 98 major { md = 9 } 99 100 # RAIDframe 101 major { raid = 16 } 102 103 # WD33C93 SCSI ... 104 define sbic 105 file arch/mvme68k/dev/sbic.c sbic 106 107 # ... on the MVME-147 108 device wdsc: sbic, scsi 109 attach wdsc at pcc with wdsc_pcc 110 file arch/mvme68k/dev/wdsc.c wdsc_pcc 111 112 # NCR53C710 SCSI on everything else 113 attach osiop at pcctwo with ncrsc_pcctwo 114 file arch/mvme68k/dev/ncrsc_pcctwo.c ncrsc_pcctwo 115 116 file arch/mvme68k/mvme68k/autoconf.c 117 file arch/mvme68k/mvme68k/bus_dma.c 118 file arch/mvme68k/mvme68k/bus_space.c 119 file arch/mvme68k/mvme68k/clock.c 120 file arch/mvme68k/mvme68k/conf.c 121 file arch/mvme68k/mvme68k/db_memrw.c ddb | kgdb 122 file arch/mvme68k/mvme68k/disksubr.c 123 file arch/mvme68k/mvme68k/isr.c 124 file arch/mvme68k/mvme68k/machdep.c 125 file arch/mvme68k/mvme68k/mem.c 126 file arch/mvme68k/mvme68k/pmap.c 127 file arch/mvme68k/mvme68k/pmap_bootstrap.c compile-with "${NOPROF_C}" 128 file arch/mvme68k/mvme68k/procfs_machdep.c procfs 129 file arch/mvme68k/mvme68k/softintr.c 130 file arch/mvme68k/mvme68k/sys_machdep.c 131 file arch/mvme68k/mvme68k/trap.c 132 file arch/mvme68k/mvme68k/vm_machdep.c 133 file arch/m68k/m68k/cacheops.c 134 file dev/cons.c 135 file dev/cninit.c 136 137 # Motorola 68060 support package 138 include "arch/m68k/060sp/files.060sp" 139 140 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 141 include "compat/aoutm68k/files.aoutm68k" 142 143 # SunOS Binary Compatibility (COMPAT_SUNOS) 144 include "compat/sunos/files.sunos" 145 file arch/m68k/m68k/sunos_machdep.c compat_sunos 146 147 # SVR4 Binary Compatibility (COMPAT_SVR4) 148 include "compat/svr4/files.svr4" 149 150 # Linux binary compatibility (COMPAT_LINUX) 151 include "compat/linux/files.linux" 152 include "compat/linux/arch/m68k/files.linux_m68k" 153 file arch/m68k/m68k/linux_trap.c compat_linux 154 155 # OSS audio driver compatibility 156 include "compat/ossaudio/files.ossaudio" 157