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