1 # $NetBSD: files.news68k,v 1.41 2025/11/13 11:27:18 tsutsui 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 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/kgdb_machdep.c kgdb 30 file arch/m68k/m68k/m68k_intr.c 31 file arch/m68k/m68k/m68k_intr_stubs.s 32 file arch/m68k/m68k/m68k_trap.c 33 file arch/m68k/m68k/mmu_subr.s 34 file arch/m68k/m68k/pmap_motorola.c !__have_new_pmap_68k 35 file arch/m68k/m68k/pmap_68k.c __have_new_pmap_68k 36 file arch/m68k/m68k/procfs_machdep.c procfs 37 file arch/m68k/m68k/sys_machdep.c 38 file arch/m68k/m68k/vectors.c 39 file arch/m68k/m68k/vm_machdep.c 40 file dev/cons.c 41 42 # Emulation modules 43 # 6888x emulator (FPU_EMULATE) 44 include "arch/m68k/fpe/files.fpe" 45 46 # HYPER-BUS 47 device hb { addr = 0, [ipl = -1], [vect = -1] } 48 attach hb at mainbus 49 file arch/news68k/dev/hb.c hb 50 51 # I/O Processor 52 #device iop { [addr = -1], [ipl = -1] } 53 #attach iop at mainbus 54 #file arch/news68k/dev/iop.c iop 55 56 # interval timer 57 device timer 58 attach timer at hb with timer_hb 59 file arch/news68k/dev/timer_hb.c timer_hb 60 61 # MK48T02 TOD clock and NVRAM 62 device mkclock: mk48txx 63 attach mkclock at hb with mkclock_hb 64 file arch/news68k/dev/mkclock_hb.c mkclock_hb 65 66 # Lance ethernet (device defined in sys/conf/files) 67 #device le: ifnet, ether, arp 68 attach le at hb: le24 69 file arch/news68k/dev/if_le.c le needs-count 70 71 # keyboard/mouse 72 73 device kbc {} 74 attach kbc at hb 75 file arch/news68k/dev/kbc.c kbc 76 77 device kb: wskbddev 78 file arch/news68k/dev/kb.c kb needs-flag 79 file dev/news/newskeymap.c kb 80 attach kb at kbc with kb_kbc 81 file arch/news68k/dev/kb_kbc.c kb_kbc 82 attach kb at hb with kb_hb 83 file arch/news68k/dev/kb_hb.c kb_hb 84 85 device ms: wsmousedev 86 file arch/news68k/dev/ms.c ms needs-flag 87 attach ms at kbc with ms_kbc 88 file arch/news68k/dev/ms_kbc.c ms_kbc 89 attach ms at hb with ms_hb 90 file arch/news68k/dev/ms_hb.c ms_hb 91 92 # serial 93 device zsc { [channel = -1] } 94 attach zsc at hb 95 file arch/news68k/dev/zs.c zsc needs-count 96 file dev/ic/z8530sc.c zsc 97 98 device zstty: tty 99 attach zstty at zsc 100 file dev/ic/z8530tty.c zstty needs-count 101 102 #device cfb: wsemuldisplaydev, rasops8 103 #attach cfb at hb 104 #file arch/news68k/dev/cfb.c cfb needs-flag 105 106 # floppy; not yet 107 device fdc {} 108 attach fdc at hb 109 device fd: disk 110 attach fd at fdc 111 file arch/news68k/dev/fd.c fdc | fd needs-flag 112 113 # PROM console support 114 device romcons 115 attach romcons at mainbus 116 file arch/news68k/news68k/romcons.c romcons needs-flag 117 118 # Machine-independent SCSI driver 119 include "dev/scsipi/files.scsipi" 120 121 # Sony CXD1180 SCSI controller 122 device si: scsi, ncr5380sbc 123 file arch/news68k/dev/si.c si needs-flag 124 attach si at hb 125 126 # memory disk 127 file dev/md_root.c memory_disk_hooks 128 129 # NetBSD m68k a.out binary compatibility (COMPAT_AOUT_M68K) 130 include "compat/aoutm68k/files.aoutm68k" 131 132 # SunOS binary compatibility (COMPAT_SUNOS) 133 include "compat/sunos/files.sunos" 134 file arch/m68k/m68k/sunos_machdep.c compat_sunos 135 136 # NEWS-OS binary compatibility (COMPAT_NEWSOS) 137 #include "compat/newsos/files.newsos" 138 #file arch/m68k/m68k/newsos_machdep.c compat_newsos 139 140 # Linux binary compatibility (COMPAT_LINUX) 141 include "compat/linux/files.linux" 142 include "compat/linux/arch/m68k/files.linux_m68k" 143 file arch/m68k/m68k/linux_trap.c compat_linux 144 145 # OSS audio driver compatibility 146 include "compat/ossaudio/files.ossaudio" 147 148 include "arch/news68k/conf/majors.news68k" 149