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