1 # $NetBSD: files.news68k,v 1.14 2001/07/07 15:27:19 tsutsui Exp $ 2 3 # NEWS68K-specific configuration info 4 5 defopt opt_fpuemulate.h FPU_EMULATE 6 7 # maxpartitions must be first item in files.${ARCH}. 8 maxpartitions 8 9 10 maxusers 2 8 64 11 12 device mainbus { [systype = -1] } 13 attach mainbus at root 14 15 file arch/news68k/news68k/autoconf.c 16 file arch/news68k/news68k/bus_space.c 17 file arch/news68k/news68k/conf.c 18 #file arch/news68k/news68k/cons_machdep.c 19 file arch/news68k/news68k/clock.c 20 file arch/news68k/news68k/db_memrw.c ddb | kgdb 21 file arch/news68k/news68k/disksubr.c disk 22 file arch/news68k/news68k/isr.c 23 file arch/news68k/news68k/machdep.c 24 file arch/news68k/news68k/mainbus.c 25 file arch/news68k/news68k/mem.c 26 file arch/news68k/news68k/pmap.c 27 file arch/news68k/news68k/pmap_bootstrap.c compile-with "${NOPROF_C}" 28 file arch/news68k/news68k/procfs_machdep.c procfs 29 file arch/news68k/news68k/sys_machdep.c 30 file arch/news68k/news68k/trap.c 31 file arch/news68k/news68k/vm_machdep.c 32 file dev/clock_subr.c 33 file dev/cons.c 34 35 major { vnd = 6 } 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 Proccesser 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 include "dev/wscons/files.wscons" 73 74 device kb: wskbddev 75 file arch/news68k/dev/kb.c kb needs-flag 76 file dev/news/newskeymap.c kb 77 attach kb at kbc with kb_kbc 78 file arch/news68k/dev/kb_kbc.c kb_kbc 79 attach kb at hb with kb_hb 80 file arch/news68k/dev/kb_hb.c kb_hb 81 82 device ms: wsmousedev 83 file arch/news68k/dev/ms.c ms needs-flag 84 attach ms at kbc with ms_kbc 85 file arch/news68k/dev/ms_kbc.c ms_kbc 86 attach ms at hb with ms_hb 87 file arch/news68k/dev/ms_hb.c ms_hb 88 89 # serial 90 device zsc { [channel = -1] } 91 attach zsc at hb 92 file arch/news68k/dev/zs.c zsc needs-count 93 file dev/ic/z8530sc.c zsc 94 95 device zstty: tty 96 attach zstty at zsc 97 file dev/ic/z8530tty.c zstty needs-count 98 99 # framebuffers 100 include "dev/wsfont/files.wsfont" 101 include "dev/rasops/files.rasops" 102 103 #device cfb: wsemuldisplaydev, rasops8 104 #attach cfb at hb 105 #file arch/news68k/dev/cfb.c cfb needs-flag 106 107 # floppy; not yet 108 device fdc {} 109 attach fdc at hb 110 device fd: disk 111 attach fd at fdc 112 file arch/news68k/dev/fd.c fdc | fd needs-flag 113 114 # Machine-independent SCSI driver 115 include "dev/scsipi/files.scsipi" 116 major { sd = 0 } 117 major { fd = 1 } 118 major { cd = 16 } 119 major { st = 17 } 120 121 # Sony CXD1180 SCSI controller 122 device si: scsi, ncr5380sbc 123 file arch/news68k/dev/si.c si needs-flag 124 attach si at hb 125 126 # memory disk 127 major {md = 2} 128 file dev/md_root.c memory_disk_hooks 129 130 # RAIDframe 131 major {raid = 32} 132 133 # NetBSD m68k a.out binary compatibility (COMPAT_AOUT_M68K) 134 include "compat/aoutm68k/files.aoutm68k" 135 136 # SVR4 Binary Compatibility (COMPAT_SVR4) 137 include "compat/svr4/files.svr4" 138 139 # SunOS binary compatibility (COMPAT_SUNOS) 140 include "compat/sunos/files.sunos" 141 file arch/m68k/m68k/sunos_machdep.c compat_sunos 142 143 # NEWS-OS binary compatibility (COMPAT_NEWSOS) 144 #include "compat/newsos/files.newsos" 145 #file arch/m68k/m68k/newsos_machdep.c compat_newsos 146 147 # Linux binary compatibility (COMPAT_LINUX) 148 include "compat/linux/files.linux" 149 include "compat/linux/arch/m68k/files.linux_m68k" 150 file arch/m68k/m68k/linux_trap.c compat_linux 151 152 # a.out binary compatibility (COMPAT_AOUT) 153 include "compat/aout/files.aout" 154 155 # OSS audio driver compatibility 156 include "compat/ossaudio/files.ossaudio" 157