1# $NetBSD: files.sun3,v 1.62 2001/11/20 12:56:41 lukem 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/conf.c 36file arch/sun3/sun3/db_machdep.c ddb 37file arch/sun3/sun3/db_memrw.c ddb | kgdb 38file arch/sun3/sun3/disksubr.c 39file arch/sun3/sun3/fpu.c 40file arch/sun3/sun3/isr.c 41file arch/sun3/sun3/kgdb_machdep.c kgdb 42file arch/sun3/sun3/leds.c 43file arch/sun3/sun3/procfs_machdep.c procfs 44file arch/sun3/sun3/stub.c 45file arch/sun3/sun3/sunmon.c 46file arch/sun3/sun3/sys_machdep.c 47file arch/sun3/sun3/trap.c 48file arch/sun3/sun3/vector.c 49file arch/sun3/sun3/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_ 133file dev/clock_subr.c 134 135# EEPROM (or NV-RAM) 136device eeprom 137attach eeprom at obio 138file arch/sun3/dev/eeprom.c eeprom 139 140# I/O MMU (a.k.a I/O mapper) 141device iommu 142attach iommu at obio 143file arch/sun3/sun3x/iommu.c _sun3x_ 144 145# 146# Optional OBIO devices 147# 148 149# device defined above 150attach ie at obio with ie_obio 151file arch/sun3/dev/if_ie_obio.c ie_obio 152 153# device defined in sys/conf/files 154attach le at obio: le24 155file arch/sun3/dev/if_le.c le 156 157# Sun3/60 on-board SCSI 158attach si at obio with si_obio 159file arch/sun3/dev/si_obio.c si_obio 160 161# Sun3/80 on-board SCSI 162attach esp at obio 163file arch/sun3/dev/esp.c esp 164device dma 165attach dma at obio 166file arch/sun3/dev/dma.c dma | esp 167 168# Sun3/80 Floppy disk 169device fdc {} 170attach fdc at obio 171device fd: disk 172attach fd at fdc 173file arch/sun3/dev/fd.c fdc | fd needs-flag 174 175# Sun3/80 printer port 176device pp 177attach pp at obio 178file arch/sun3/dev/pp.c pp needs-flag 179 180# 181# On-Board MEMory (OBMEM) 182# 183 184device bwtwo: fb 185attach bwtwo at obmem 186file arch/sun3/dev/bw2.c bwtwo needs-flag 187 188device cgfour: fb 189attach cgfour at obmem 190file arch/sun3/dev/cg4.c cgfour needs-flag 191 192# 193# VME 194# 195 196attach ie at vme with ie_vme 197file arch/sun3/dev/if_ie_vme.c ie_vme 198 199attach si at vme with si_vme 200file arch/sun3/dev/si_vme.c si_vme 201 202# Sun3/E SCSI+Ethernet board 203device sebuf {} 204attach sebuf at vme 205file arch/sun3/dev/sebuf.c sebuf 206attach ie at sebuf with ie_sebuf 207file arch/sun3/dev/if_ie_sebuf.c ie_sebuf 208attach si at sebuf with si_sebuf 209file arch/sun3/dev/si_sebuf.c si_sebuf 210 211device cgtwo: fb 212attach cgtwo at vme 213file arch/sun3/dev/cg2.c cgtwo needs-flag 214 215device xyc {drive = -1} 216attach xyc at vme 217device xy: disk 218attach xy at xyc 219file arch/sun3/dev/xy.c xy | xyc needs-flag 220 221device xdc {drive = -1} 222attach xdc at vme 223device xd: disk 224attach xd at xdc 225file arch/sun3/dev/xd.c xd | xdc needs-flag 226 227 228# 229# Console (zs) related stuff 230# 231 232device zstty: tty 233attach zstty at zsc 234file dev/ic/z8530tty.c zstty needs-flag 235file arch/sun3/dev/zs_kgdb.c kgdb 236 237define zsevent 238file dev/sun/event.c zsevent 239 240device kbd: zsevent 241attach kbd at zsc with kbd_zs 242file dev/sun/kbd_zs.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# Compatibility modules 257 258# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 259include "compat/aoutm68k/files.aoutm68k" 260 261# SunOS Binary Compatibility (COMPAT_SUNOS) 262include "compat/sunos/files.sunos" 263file arch/m68k/m68k/sunos_machdep.c compat_sunos 264 265# SVR4 Binary Compatibility (COMPAT_SVR4) 266include "compat/svr4/files.svr4" 267 268# Linux binary compatibility (COMPAT_LINUX) 269include "compat/linux/files.linux" 270include "compat/linux/arch/m68k/files.linux_m68k" 271file arch/m68k/m68k/linux_trap.c compat_linux 272 273# OSS audio driver compatibility 274include "compat/ossaudio/files.ossaudio" 275 276# Major numbers for root/swap device configuration 277major {xy=3} # Xylogics 450 and 451 278major {sd=7} # SCSI disk 279major {xd=10} # Xylogics 7053 280major {md=13} # Memory disk (for mini-kernel) 281major {raid=25} # RAIDframe 282