1# $NetBSD: files.sun3,v 1.79 2011/06/12 03:35:48 rmind Exp $ 2 3# 4# sun3-specific configuration info 5# 6 7# maxpartitions must be first item in files.${ARCH} 8maxpartitions 8 9 10maxusers 2 8 64 11 12# Standard stuff (Sun3-specific) 13file arch/sun3/sun3/bus_subr.c _sun3_ 14file arch/sun3/sun3/cache.c _sun3_ & havecache 15file arch/sun3/sun3/control.c _sun3_ 16file arch/sun3/sun3/dvma.c _sun3_ 17file arch/sun3/sun3/enable.c _sun3_ 18file arch/sun3/sun3/locore2.c _sun3_ 19file arch/sun3/sun3/machdep.c _sun3_ 20file arch/sun3/sun3/mm_md.c _sun3_ 21file arch/sun3/sun3/pmap.c _sun3_ 22 23# Standard stuff (Sun3X-specific) 24file arch/sun3/sun3x/bus_subr.c _sun3x_ 25file arch/sun3/sun3x/dvma.c _sun3x_ 26file arch/sun3/sun3x/enable.c _sun3x_ 27file arch/sun3/sun3x/locore2.c _sun3x_ 28file arch/sun3/sun3x/machdep.c _sun3x_ 29file arch/sun3/sun3x/mm_md.c _sun3x_ 30file arch/sun3/sun3x/pmap.c _sun3x_ 31 32# Standard stuff (common to Sun3 and Sun3X) 33file arch/sun3/sun3/autoconf.c 34file arch/sun3/sun3/db_machdep.c ddb 35file arch/sun3/sun3/db_memrw.c ddb | kgdb 36file arch/sun3/sun3/fpu_machdep.c 37file arch/sun3/sun3/leds.c 38file arch/sun3/sun3/sunmon.c 39file arch/sun3/sun3/sys_machdep.c 40file arch/sun3/sun3/trap.c 41file arch/m68k/m68k/cacheops.c _sun3x_ 42file arch/m68k/m68k/fpu.c 43 44include "arch/m68k/fpe/files.fpe" 45 46# Console support 47#file arch/sun3/sun3/cninit.c 48file dev/cons.c 49 50# 51# Bus types 52# 53 54device mainbus {} 55attach mainbus at root 56file arch/sun3/sun3/mainbus.c 57 58# On-board I/O space (required). 59device obio {addr = -1, [ipl = -1], [vect = -1]} 60attach obio at mainbus 61file arch/sun3/sun3/obio.c _sun3_ 62file arch/sun3/sun3x/obio.c _sun3x_ 63 64# On-board MEMory space (optional). 65device obmem {addr = -1, [ipl = -1], [vect = -1]} 66attach obmem at mainbus 67file arch/sun3/sun3/obmem.c obmem 68 69# VME (unit encodes address/data sizes) 70device vme {addr = -1, [ipl = -1], [vect = -1]} 71attach vme at mainbus 72file arch/sun3/sun3/vme.c vme 73 74# 75# Machine-independent SCSI drivers 76# 77include "dev/scsipi/files.scsipi" 78 79# 80# Devices and attributes needed below 81# 82 83device ie: ifnet, ether, arp 84file arch/sun3/dev/if_ie.c ie 85 86device si: scsi, ncr5380sbc 87file arch/sun3/dev/si.c si 88 89file arch/sun3/dev/fb.c fb needs-flag 90 91# 92# On-Board I/O (OBIO), in attach order. 93# The following are all required. 94# 95 96# The IDPROM could have a device config line, but this 97# driver has to do its initialization before autoconfig, 98# and there is nothing left to do at attach time. 99file arch/sun3/sun3/idprom.c _sun3_ 100file arch/sun3/sun3x/idprom.c _sun3x_ 101 102# Interrupt register 103device intreg 104attach intreg at obio 105file arch/sun3/sun3/intreg.c intreg 106 107# Memory error register 108device memerr 109attach memerr at obio 110file arch/sun3/dev/memerr.c memerr 111 112# Zilog Serial (ZS) 113device zsc {channel = -1} 114attach zsc at obio 115file arch/sun3/dev/zs.c zsc needs-flag 116file dev/ic/z8530sc.c zsc 117 118# Intersil or Mostek clock 119device clock: mk48txx 120attach clock at obio 121device oclock: intersil7170 122attach oclock at obio 123file arch/sun3/sun3/clock.c _sun3_ 124file arch/sun3/sun3x/clock.c _sun3x_ 125 126# EEPROM (or NV-RAM) 127device eeprom 128attach eeprom at obio 129file arch/sun3/dev/eeprom.c eeprom 130 131# I/O MMU (a.k.a I/O mapper) 132device iommu 133attach iommu at obio 134file arch/sun3/sun3x/iommu.c _sun3x_ 135 136# 137# Optional OBIO devices 138# 139 140# device defined above 141attach ie at obio with ie_obio 142file arch/sun3/dev/if_ie_obio.c ie_obio 143 144# device defined in sys/conf/files 145attach le at obio: le24 146file arch/sun3/dev/if_le.c le 147 148# Sun3/60 on-board SCSI 149attach si at obio with si_obio 150file arch/sun3/dev/si_obio.c si_obio 151 152# Sun3/80 on-board SCSI 153attach esp at obio 154file arch/sun3/dev/esp.c esp 155device dma 156attach dma at obio 157file arch/sun3/dev/dma.c dma | esp 158 159# Sun3/80 Floppy disk 160device fdc {} 161attach fdc at obio 162device fd: disk 163attach fd at fdc 164file arch/sun3/dev/fd.c fdc | fd needs-flag 165 166# Sun3/80 printer port 167device pp 168attach pp at obio 169file arch/sun3/dev/pp.c pp needs-flag 170 171# 172# On-Board MEMory (OBMEM) 173# 174 175device bwtwo: fb 176attach bwtwo at obmem 177file arch/sun3/dev/bw2.c bwtwo needs-flag 178 179device cgfour: fb 180attach cgfour at obmem 181file arch/sun3/dev/cg4.c cgfour needs-flag 182 183# 184# VME 185# 186 187attach ie at vme with ie_vme 188file arch/sun3/dev/if_ie_vme.c ie_vme 189 190attach si at vme with si_vme 191file arch/sun3/dev/si_vme.c si_vme 192 193# Sun3/E SCSI+Ethernet board 194device sebuf {} 195attach sebuf at vme 196file arch/sun3/dev/sebuf.c sebuf 197attach ie at sebuf with ie_sebuf 198file arch/sun3/dev/if_ie_sebuf.c ie_sebuf 199attach si at sebuf with si_sebuf 200file arch/sun3/dev/si_sebuf.c si_sebuf 201 202device cgtwo: fb 203attach cgtwo at vme 204file arch/sun3/dev/cg2.c cgtwo needs-flag 205 206device xyc {drive = -1} 207attach xyc at vme 208device xy: disk 209attach xy at xyc 210file arch/sun3/dev/xy.c xy | xyc needs-flag 211 212device xdc {drive = -1} 213attach xdc at vme 214device xd: disk 215attach xd at xdc 216file arch/sun3/dev/xd.c xd | xdc needs-flag 217 218 219# 220# Console (zs) related stuff 221# 222 223device zstty: tty 224attach zstty at zsc 225file dev/ic/z8530tty.c zstty needs-flag 226file arch/sun3/dev/zs_kgdb.c kgdb 227 228define zsevent 229file dev/sun/event.c zsevent 230 231device kbd: zsevent 232attach kbd at zsc with kbd_zs 233file dev/sun/kbd_zs.c kbd_zs 234file dev/sun/kbdsun.c kbd_zs 235file dev/sun/kbd.c kbd needs-flag 236file dev/sun/kbd_tables.c kbd 237file arch/sun3/dev/kd.c kbd 238 239device ms: zsevent 240attach ms at zsc with ms_zs 241file dev/sun/ms_zs.c ms_zs 242file dev/sun/ms.c ms needs-flag 243 244 245# Memory Disk for boot tape 246file dev/md_root.c memory_disk_hooks 247 248 249# Compatibility modules 250 251# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 252include "compat/aoutm68k/files.aoutm68k" 253 254# SunOS Binary Compatibility (COMPAT_SUNOS) 255include "compat/sunos/files.sunos" 256file arch/m68k/m68k/sunos_machdep.c compat_sunos 257 258# SVR4 Binary Compatibility (COMPAT_SVR4) 259include "compat/svr4/files.svr4" 260 261# Linux binary compatibility (COMPAT_LINUX) 262include "compat/linux/files.linux" 263include "compat/linux/arch/m68k/files.linux_m68k" 264file arch/m68k/m68k/linux_trap.c compat_linux 265 266# OSS audio driver compatibility 267include "compat/ossaudio/files.ossaudio" 268 269include "arch/sun3/conf/majors.sun3" 270