1 # $NetBSD: files.mvme68k,v 1.75 2026/03/28 22:19:34 thorpej Exp $ 2 3 # config file for mvme68k 4 5 defflag PANICBUTTON # panic on ABORT if not DDB 6 7 # maxpartitions must be first item in files.${ARCH}.newconf 8 maxpartitions 8 9 10 # System configuration options. 11 defflag opt_mvmeconf.h MVME147: M68030 12 defflag opt_mvmeconf.h MVME162: M68040 13 defflag opt_mvmeconf.h MVME167: M68040 14 defflag opt_mvmeconf.h MVME172: M68060 15 defflag opt_mvmeconf.h MVME177: M68060 16 17 device mainbus { } 18 attach mainbus at root 19 file arch/mvme68k/dev/mainbus.c mainbus 20 21 device clock 22 23 # Grab the MD VMEbus goop 24 include "dev/vme/files.vme" 25 26 # Grab the common MVME glue 27 include "dev/mvme/files.mvme" 28 29 # MVME-147 Peripheral Channel Controller 30 device pcc { [ ipl = -1 ] } 31 attach pcc at mainbus 32 file arch/mvme68k/dev/pcc.c pcc needs-flag 33 34 # MVME-147 VME controller chip 35 device vmepcc: mvmebus, vmebus 36 attach vmepcc at pcc 37 file arch/mvme68k/dev/vme_pcc.c vmepcc 38 39 # MVME-147 Clock 40 attach clock at pcc with clock_pcc 41 file arch/mvme68k/dev/clock_pcc.c clock_pcc 42 43 # ZS Serial ports 44 device zsc { channel = -1 } 45 file arch/mvme68k/dev/zs.c zsc 46 file dev/ic/z8530sc.c zsc 47 48 # MVME-147 Serial ports 49 attach zsc at pcc with zsc_pcc 50 file arch/mvme68k/dev/zs_pcc.c zsc_pcc needs-flag 51 52 # MVME-1[67]2 Serial ports 53 attach zsc at pcctwo with zsc_pcctwo 54 file arch/mvme68k/dev/zs_pcctwo.c zsc_pcctwo needs-flag 55 56 device zstty: tty 57 attach zstty at zsc 58 file dev/ic/z8530tty.c zstty needs-flag 59 60 # MVME-147 Parallel printer 61 attach lpt at pcc with lpt_pcc 62 file arch/mvme68k/dev/lpt_pcc.c lpt_pcc 63 64 # device defined in sys/conf/files 65 attach le at pcc with le_pcc: le24 66 file arch/mvme68k/dev/if_le.c le_pcc 67 68 # TimeKeeper NVRAM device 69 device timekeeper: mk48txx 70 attach timekeeper at mainbus 71 file arch/mvme68k/dev/timekeeper.c timekeeper 72 73 # Memory disk for boot tape 74 file dev/md_root.c memory_disk_hooks 75 76 include "dev/scsipi/files.scsipi" 77 78 # WD33C93 SCSI ... 79 define sbic 80 file arch/mvme68k/dev/sbic.c sbic 81 82 # ... on the MVME-147 83 device wdsc: sbic, scsi 84 attach wdsc at pcc with wdsc_pcc 85 file arch/mvme68k/dev/wdsc.c wdsc_pcc 86 87 file arch/mvme68k/dev/pcctwo_68k.c pcctwo 88 file arch/mvme68k/dev/memc_68k.c memc 89 90 # This isn't as odd as it looks. This file is still needed even if 91 # no vmetwo device is configured into the kernel. 92 file arch/mvme68k/dev/vme_two_68k.c vmetwo | pcctwo 93 94 file arch/mvme68k/mvme68k/autoconf.c 95 file arch/mvme68k/mvme68k/bus_dma.c 96 file arch/mvme68k/mvme68k/bus_space.c 97 file arch/mvme68k/mvme68k/clock.c 98 file arch/mvme68k/mvme68k/conf.c 99 file arch/mvme68k/mvme68k/disksubr.c 100 file arch/mvme68k/mvme68k/machdep.c 101 file arch/mvme68k/mvme68k/pmap_bootstrap.c !__have_new_pmap_68k compile-with "${NOPROF_C}" 102 file arch/mvme68k/mvme68k/trap.c 103 file arch/m68k/m68k/cacheops.c 104 file arch/m68k/m68k/db_memrw.c ddb | kgdb 105 file arch/m68k/m68k/delay.s 106 file arch/m68k/m68k/kgdb_machdep.c kgdb 107 file arch/m68k/m68k/m68k_intr.c 108 file arch/m68k/m68k/m68k_intr_stubs.s 109 file arch/m68k/m68k/pmap_motorola.c !__have_new_pmap_68k 110 file arch/m68k/m68k/pmap_68k.c __have_new_pmap_68k 111 file arch/m68k/m68k/procfs_machdep.c procfs 112 file arch/m68k/m68k/sys_machdep.c 113 file arch/m68k/m68k/vm_machdep.c 114 file dev/cons.c 115 file dev/cninit.c 116 117 # Motorola 68060 support package 118 include "arch/m68k/060sp/files.060sp" 119 120 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 121 include "compat/aoutm68k/files.aoutm68k" 122 123 # SunOS Binary Compatibility (COMPAT_SUNOS) 124 include "compat/sunos/files.sunos" 125 file arch/m68k/m68k/sunos_machdep.c compat_sunos 126 127 # Linux binary compatibility (COMPAT_LINUX) 128 include "compat/linux/files.linux" 129 include "compat/linux/arch/m68k/files.linux_m68k" 130 file arch/m68k/m68k/linux_trap.c compat_linux 131 132 # OSS audio driver compatibility 133 include "compat/ossaudio/files.ossaudio" 134 135 include "arch/mvme68k/conf/majors.mvme68k" 136