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