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