files.sun3 revision 1.21
1# $NetBSD: files.sun3,v 1.21 1996/03/17 06:08:12 cgd Exp $ 2 3# 4# sun3-specific configuration info 5# 6 7# maxpartitions must be first item in files.${ARCH}.newconf 8maxpartitions 8 9 10maxusers 2 8 64 11 12# Standard stuff 13file arch/sun3/sun3/autoconf.c 14file arch/sun3/sun3/cache.c havecache 15file arch/sun3/sun3/conf.c 16file arch/sun3/sun3/control.c 17file arch/sun3/sun3/ctrlsp.S 18file arch/sun3/sun3/dvma.c 19file arch/sun3/sun3/db_machdep.c ddb 20file arch/sun3/sun3/db_memrw.c ddb kgdb 21file arch/sun3/sun3/disksubr.c 22file arch/sun3/sun3/isr.c 23file arch/sun3/sun3/kgdb_stub.c kgdb 24file arch/sun3/sun3/machdep.c 25file arch/sun3/sun3/mem.c 26file arch/sun3/sun3/pmap.c 27#file arch/sun3/sun3/stub.c 28file arch/sun3/sun3/sun3_startup.c 29file arch/sun3/sun3/sys_machdep.c 30file arch/sun3/sun3/trap.c 31file arch/sun3/sun3/vector.c 32file arch/sun3/sun3/vm_machdep.c 33 34include "../../m68k/fpe/files.fpe" 35 36file arch/m68k/m68k/copy.s 37file dev/cons.c 38 39# Declare our "catch-all" root node. 40device mainbus {} 41attach mainbus at root 42# Misc. mainbus things (catch-all) 43# Control space hack 44device obctl {addr = -1, [level = -1]} 45attach obctl at mainbus 46# Floating Point Unit 47device fpu {} 48attach fpu at mainbus 49file arch/sun3/sun3/fpu.c fpu 50 51# Bus types 52# 53# The implementation of the bus_* functions in autoconfig.c 54# requires these all to agree with <autoconf.h> struct bus_loc 55 56# On-board MEMory space 57device obmem {addr = -1, [level = -1]} 58attach obmem at mainbus 59# On-board I/O space 60device obio {addr = -1, [level = -1]} 61attach obio at mainbus 62# VME Short space (D16) 63device vmes {addr = -1, [level = -1], [vect = -1]} 64attach vmes at mainbus 65# VME Long space (D32) 66device vmel {addr = -1, [level = -1], [vect = -1]} 67attach vmel at mainbus 68 69file arch/sun3/dev/obctl.c obctl 70file arch/sun3/dev/obio.c obio 71file arch/sun3/dev/obmem.c obmem 72file arch/sun3/dev/vme.c vmes vmel 73 74# 75# Machine-independent SCSI drivers 76# 77include "../../../scsi/files.scsi" 78 79# 80# On-Board I/O (OBIO) 81# 82 83device eeprom 84attach eeprom at obio 85file arch/sun3/dev/eeprom.c eeprom 86 87device clock 88attach clock at obio 89file arch/sun3/sun3/clock.c clock 90 91device ie: ifnet, ether 92attach ie at obio, vmes 93file arch/sun3/dev/if_ie.c ie 94file arch/sun3/dev/if_ie_subr.c ie 95 96device le: ifnet, ether 97attach le at obio 98file arch/sun3/dev/if_le.c le 99file arch/sun3/dev/if_le_subr.c le 100 101device si: scsi 102attach si at obio, vmes 103file arch/sun3/dev/si.c si 104 105device ncr_si: scsi, ncr5380sbc 106attach ncr_si at obio, vmes 107file arch/sun3/dev/ncr_si.c ncr_si 108 109# 110# Sun-compatible Frame Buffers (?) 111# 112define sunfb 113file arch/sun3/dev/fb.c sunfb 114 115# 116# On-Board MEMory (OBMEM) 117# 118device bwtwo: sunfb 119attach bwtwo at obmem 120file arch/sun3/dev/bw2.c bwtwo needs-flag 121 122device cgtwo: sunfb 123attach cgtwo at vmes 124file arch/sun3/dev/cg2.c cgtwo needs-flag 125 126device cgfour: sunfb 127attach cgfour at obmem 128file arch/sun3/dev/cg4.c cgfour needs-flag 129 130file arch/sun3/dev/bt_subr.c cgfour 131 132# 133# VME 134# 135device xdc {drive = -1} 136attach xdc at vmel 137device xd: disk 138attach xd at xdc 139file arch/sun3/dev/xd.c xd needs-flag 140 141device xyc {drive = -1} 142attach xyc at vmes 143device xy: disk 144attach xy at xyc 145file arch/sun3/dev/xy.c xy needs-flag 146 147 148# 149# On-Board Control (OBCTL) 150# 151device idprom 152attach idprom at obctl 153file arch/sun3/dev/idprom.c idprom needs-count 154 155# 156# Console (zs) related stuff 157# 158device zsc {channel = -1} 159attach zsc at obio 160file arch/sun3/dev/zs.c zsc needs-flag 161file dev/ic/z8530sc.c zsc 162 163device zstty: tty 164attach zstty at zsc 165file dev/ic/z8530tty.c zstty needs-flag 166file arch/sun3/dev/zs_kgdb.c kgdb 167 168define zsevent 169file dev/sun/event.c zsevent 170 171device kbd: zsevent 172attach kbd at zsc 173file dev/sun/kbd.c kbd needs-flag 174file dev/sun/kbd_tables.c kbd 175file arch/sun3/dev/kd.c kbd 176 177device ms: zsevent 178attach ms at zsc 179file dev/sun/ms.c ms needs-flag 180 181 182# RAM Disk for boot tape 183device rd 184attach rd at mainbus 185file dev/ramdisk.c rd needs-count 186file arch/sun3/dev/rd_root.c ramdisk_hooks 187 188# Major numbers for root/swap device configuration 189major {xy=3} # Xylogics 450 and 451 190major {vnd=5} # vnode pseudo-device 191major {sd=7} # SCSI disk 192major {xd=10} # Xylogics 7053 193major {rd=13} # RAM disk (for mini-kernel) 194 195# Compatibility modules 196 197# SunOS Binary Compatibility (COMPAT_SUNOS) 198include "../../../compat/sunos/files.sunos" 199file arch/m68k/m68k/sunos_machdep.c compat_sunos 200