1 # $NetBSD: files.news68k,v 1.1 1999/12/09 14:53:03 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 {} # no locators 13 attach mainbus at root 14 15 device cpu 16 attach cpu at mainbus 17 18 file arch/news68k/news68k/autoconf.c 19 file arch/news68k/news68k/conf.c 20 file arch/news68k/news68k/clock.c 21 file arch/news68k/news68k/db_memrw.c ddb | kgdb 22 file arch/news68k/news68k/disksubr.c disk 23 file arch/news68k/news68k/isr.c 24 file arch/news68k/news68k/machdep.c 25 file arch/news68k/news68k/mainbus.c 26 file arch/news68k/news68k/mem.c 27 file arch/news68k/news68k/pmap.c 28 file arch/news68k/news68k/pmap_bootstrap.c compile-with "${NOPROF_C}" 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/cons.c 33 34 major { vnd = 6 } 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 Proccesser 46 #device iop { [addr = -1], [ipl = -1] } 47 #attach iop at mainbus 48 #file arch/news68k/dev/iop.c iop 49 50 # MK48T02 RTC and NVRAM 51 device clock 52 attach clock at hb with clock_hb 53 file arch/news68k/dev/clock_hb.c clock_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 # mouse; not yet 61 device ms 62 attach ms at hb 63 file arch/news68k/dev/ms.c ms needs-flag 64 65 # keyboard; not yet 66 device kb 67 attach kb at hb 68 file arch/news68k/dev/kb.c kb needs-flag 69 file arch/news68k/dev/kbms_if.c kb | ms 70 file arch/news68k/dev/keyconf.c kb 71 file arch/news68k/dev/kb_ctrl.c kb 72 file arch/news68k/dev/kb_encode.c kb 73 74 # serial 75 device zsc { [channel = -1] } 76 attach zsc at hb 77 file arch/news68k/dev/zs.c zsc needs-count 78 file dev/ic/z8530sc.c zsc 79 80 device zstty: tty 81 attach zstty at zsc 82 file dev/ic/z8530tty.c zstty needs-count 83 84 # framebuffers; not yet 85 device fb 86 attach fb at hb 87 file arch/news68k/dev/fb.c fb needs-flag 88 file arch/news68k/dev/fb_conf.c fb 89 file arch/news68k/dev/fb_mfbs.c fb 90 file arch/news68k/dev/fb_probe.c fb 91 file arch/news68k/dev/fb_start.c fb 92 file arch/news68k/dev/fb_sub.c fb 93 file arch/news68k/dev/fbbm_225.c fb 94 file arch/news68k/dev/fbbm_514.c fb 95 file arch/news68k/dev/bmcons.c fb 96 file arch/news68k/dev/bitmapif.c fb 97 file arch/news68k/dev/fnt.c fb 98 file arch/news68k/dev/fnt24.c fb 99 file arch/news68k/dev/vt100.c fb 100 file arch/news68k/dev/vt100esc.c fb 101 file arch/news68k/dev/vt100if.c fb 102 103 # floppy; not yet 104 device fdc {} 105 attach fdc at hb 106 device fd: disk 107 attach fd at fdc 108 file arch/news68k/dev/fd.c fdc | fd needs-flag 109 110 # Machine-independent SCSI driver 111 include "dev/scsipi/files.scsipi" 112 major { sd = 0 } 113 major { fd = 1 } 114 major { cd = 16 } 115 major { st = 17 } 116 117 # Sony CXD1180 SCSI controller 118 # XXX should use MI driver... 119 #device si: scsi, ncr5380sbc 120 device si: scsi 121 file arch/news68k/dev/si.c si needs-flag 122 file arch/news68k/dev/ncr5380sbc.c si 123 attach si at hb 124 125 # memory disk 126 major {md = 2} 127 file arch/news68k/dev/md_root.c memory_disk_hooks 128 129 # SVR4 Binary Compatibility (COMPAT_SVR4) 130 include "compat/svr4/files.svr4" 131 132 133 # SunOS binary compatibility (COMPAT_SUNOS) 134 include "compat/sunos/files.sunos" 135 file arch/m68k/m68k/sunos_machdep.c compat_sunos 136 137 # NEWS-OS binary compatibility (COMPAT_NEWSOS) 138 #include "compat/newsos/files.newsos" 139 #file arch/m68k/m68k/newsos_machdep.c compat_newsos 140 141 # Linux binary compatibility (COMPAT_LINUX) 142 include "compat/linux/files.linux" 143 include "compat/linux/arch/m68k/files.linux_m68k" 144 145 # a.out binary compatibility (COMPAT_AOUT) 146 include "compat/aout/files.aout" 147 148 # OSS audio driver compatibility 149 include "compat/ossaudio/files.ossaudio" 150