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