1 # $NetBSD: files.news68k,v 1.46 2026/03/28 22:19:34 thorpej Exp $ 2 3 # NEWS68K-specific configuration info 4 5 # maxpartitions must be first item in files.${ARCH}. 6 maxpartitions 8 7 8 maxusers 2 8 64 9 10 # System configuration options. 11 defflag opt_newsconf.h news1200: M68030 12 defflag opt_newsconf.h news1700: M68030, M68K_EC_PAC 13 14 device mainbus { [systype = -1] } 15 attach mainbus at root 16 17 file arch/news68k/news68k/autoconf.c 18 file arch/news68k/news68k/bus_space.c 19 #file arch/news68k/news68k/cons_machdep.c 20 file arch/news68k/news68k/clock.c 21 file arch/news68k/news68k/disksubr.c disk 22 file arch/news68k/news68k/machdep.c 23 file arch/news68k/news68k/mainbus.c 24 file arch/news68k/news68k/pmap_bootstrap.c !__have_new_pmap_68k compile-with "${NOPROF_C}" 25 file arch/news68k/news68k/romcalls.S 26 file arch/news68k/news68k/trap.c 27 file arch/m68k/m68k/cacheops.c 28 file arch/m68k/m68k/db_memrw.c ddb | kgdb 29 file arch/m68k/m68k/delay.s 30 file arch/m68k/m68k/kgdb_machdep.c kgdb 31 file arch/m68k/m68k/m68k_intr.c 32 file arch/m68k/m68k/m68k_intr_stubs.s 33 file arch/m68k/m68k/pmap_motorola.c !__have_new_pmap_68k 34 file arch/m68k/m68k/pmap_68k.c __have_new_pmap_68k 35 file arch/m68k/m68k/procfs_machdep.c procfs 36 file arch/m68k/m68k/sys_machdep.c 37 file arch/m68k/m68k/vm_machdep.c 38 file dev/cons.c 39 40 # Emulation modules 41 # 6888x emulator (FPU_EMULATE) 42 include "arch/m68k/fpe/files.fpe" 43 44 # HYPER-BUS 45 device hb { addr = 0, [ipl = -1], [vect = -1] } 46 attach hb at mainbus 47 file arch/news68k/dev/hb.c hb 48 49 # I/O Processor 50 #device iop { [addr = -1], [ipl = -1] } 51 #attach iop at mainbus 52 #file arch/news68k/dev/iop.c iop 53 54 # interval timer 55 device timer 56 attach timer at hb with timer_hb 57 file arch/news68k/dev/timer_hb.c timer_hb 58 59 # MK48T02 TOD clock and NVRAM 60 device mkclock: mk48txx 61 attach mkclock at hb with mkclock_hb 62 file arch/news68k/dev/mkclock_hb.c mkclock_hb 63 64 # Lance ethernet (device defined in sys/conf/files) 65 #device le: ifnet, ether, arp 66 attach le at hb: le24 67 file arch/news68k/dev/if_le.c le needs-count 68 69 # keyboard/mouse 70 71 device kbc {} 72 attach kbc at hb 73 file arch/news68k/dev/kbc.c kbc 74 75 device kb: wskbddev 76 file arch/news68k/dev/kb.c kb needs-flag 77 file dev/news/newskeymap.c kb 78 attach kb at kbc with kb_kbc 79 file arch/news68k/dev/kb_kbc.c kb_kbc 80 attach kb at hb with kb_hb 81 file arch/news68k/dev/kb_hb.c kb_hb 82 83 device ms: wsmousedev 84 file arch/news68k/dev/ms.c ms needs-flag 85 attach ms at kbc with ms_kbc 86 file arch/news68k/dev/ms_kbc.c ms_kbc 87 attach ms at hb with ms_hb 88 file arch/news68k/dev/ms_hb.c ms_hb 89 90 # serial 91 device zsc { [channel = -1] } 92 attach zsc at hb 93 file arch/news68k/dev/zs.c zsc needs-count 94 file dev/ic/z8530sc.c zsc 95 96 device zstty: tty 97 attach zstty at zsc 98 file dev/ic/z8530tty.c zstty needs-count 99 100 #device cfb: wsemuldisplaydev, rasops8 101 #attach cfb at hb 102 #file arch/news68k/dev/cfb.c cfb needs-flag 103 104 # floppy; not yet 105 device fdc {} 106 attach fdc at hb 107 device fd: disk 108 attach fd at fdc 109 file arch/news68k/dev/fd.c fdc | fd needs-flag 110 111 # PROM console support 112 device romcons 113 attach romcons at mainbus 114 file arch/news68k/news68k/romcons.c romcons needs-flag 115 116 # Machine-independent SCSI driver 117 include "dev/scsipi/files.scsipi" 118 119 # Sony CXD1180 SCSI controller 120 device si: scsi, ncr5380sbc 121 file arch/news68k/dev/si.c si needs-flag 122 attach si at hb 123 124 # memory disk 125 file dev/md_root.c memory_disk_hooks 126 127 # NetBSD m68k a.out binary compatibility (COMPAT_AOUT_M68K) 128 include "compat/aoutm68k/files.aoutm68k" 129 130 # SunOS binary compatibility (COMPAT_SUNOS) 131 include "compat/sunos/files.sunos" 132 file arch/m68k/m68k/sunos_machdep.c compat_sunos 133 134 # NEWS-OS binary compatibility (COMPAT_NEWSOS) 135 #include "compat/newsos/files.newsos" 136 #file arch/m68k/m68k/newsos_machdep.c compat_newsos 137 138 # Linux binary compatibility (COMPAT_LINUX) 139 include "compat/linux/files.linux" 140 include "compat/linux/arch/m68k/files.linux_m68k" 141 file arch/m68k/m68k/linux_trap.c compat_linux 142 143 # OSS audio driver compatibility 144 include "compat/ossaudio/files.ossaudio" 145 146 include "arch/news68k/conf/majors.news68k" 147