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