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