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