1# $NetBSD: files.sparc,v 1.40 1997/07/07 21:53:43 pk Exp $ 2 3# @(#)files.sparc 8.1 (Berkeley) 7/19/93 4# sparc-specific configuration info 5 6# maxpartitions must be first item in files.${ARCH} 7maxpartitions 8 8 9maxusers 2 8 1024 10 11device mainbus {} 12attach mainbus at root 13 14device obio { [addr = -1], [level = -1] } 15attach obio at mainbus 16 17device iommu {} 18attach iommu at mainbus 19file arch/sparc/sparc/iommu.c iommu 20 21device vme {} 22attach vme at iommu 23 24device vmel { [addr = -1], [level = -1], [vect = -1] } 25attach vmel at mainbus, vme 26device vmes { [addr = -1], [level = -1], [vect = -1] } 27attach vmes at mainbus, vme 28file arch/sparc/dev/obio.c obio | vmel | vmes | vme 29 30device auxreg 31attach auxreg at mainbus, obio 32file arch/sparc/sparc/auxreg.c 33 34device clock 35attach clock at mainbus, obio 36 37device oclock 38attach oclock at obio 39 40device timer 41attach timer at mainbus, obio 42 43device eeprom 44attach eeprom at obio 45file arch/sparc/sparc/clock.c 46 47device power 48attach power at obio 49file arch/sparc/dev/power.c power 50 51device cpu 52attach cpu at mainbus 53file arch/sparc/sparc/cpu.c 54 55device memreg 56attach memreg at mainbus, obio 57file arch/sparc/sparc/memreg.c 58 59device zs 60attach zs at mainbus, obio 61file arch/sparc/dev/zs.c zs needs-count 62 63device fdc {} 64attach fdc at mainbus, obio 65device fd: disk 66attach fd at fdc 67file arch/sparc/dev/fd.c fdc | fd needs-flag 68file arch/sparc/sparc/bsd_fdintr.s fdc 69 70device sbus { slot = -1, offset = -1 } 71attach sbus at mainbus, iommu 72file arch/sparc/dev/sbus.c sbus 73 74 75# 76# Machine-independent SCSI drivers 77# 78include "../../../scsi/files.scsi" 79 80major { sd = 7 } 81major { vnd = 8 } 82major { cd = 18 } 83 84device dma {} 85attach dma at sbus, obio 86device ledma {} 87attach ledma at sbus 88file arch/sparc/dev/dma.c dma | ledma 89device lebuffer {} 90attach lebuffer at sbus 91file arch/sparc/dev/lebuffer.c lebuffer 92 93device esp: scsi, ncr53c9x 94attach esp at sbus, dma, obio 95file arch/sparc/dev/esp.c esp 96 97device audio 98attach audio at mainbus, obio, sbus 99file arch/sparc/dev/amd7930.c audio 100file arch/sparc/sparc/amd7930intr.s audio 101 102# Brooktree DAC attribute 103define bt_dac 104 105device bwtwo 106attach bwtwo at sbus, obio, vmes, vmel 107file arch/sparc/dev/bwtwo.c bwtwo needs-flag 108 109device cgtwo 110attach cgtwo at sbus, obio, vmes 111file arch/sparc/dev/cgtwo.c cgtwo needs-flag 112 113device cgthree: bt_dac 114attach cgthree at sbus 115file arch/sparc/dev/cgthree.c cgthree needs-flag 116 117device cgfour: bt_dac 118attach cgfour at obio 119file arch/sparc/dev/cgfour.c cgfour needs-flag 120 121device cgsix: bt_dac 122attach cgsix at sbus, obio 123file arch/sparc/dev/cgsix.c cgsix needs-flag 124 125device cgeight: bt_dac 126attach cgeight at obio 127file arch/sparc/dev/cgeight.c cgeight needs-flag 128 129device tcx: bt_dac 130attach tcx at sbus 131file arch/sparc/dev/tcx.c tcx needs-flag 132 133device cgfourteen 134attach cgfourteen at obio 135file arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 136 137file arch/sparc/dev/bt_subr.c bt_dac 138 139# device definition in sys/conf/files 140attach le at sbus, ledma, lebuffer, obio 141file arch/sparc/dev/if_le.c le 142 143device ie: ifnet, ether, arp 144attach ie at obio, vmes, vmel 145file arch/sparc/dev/if_ie.c ie 146 147device xdc {drive = -1} 148attach xdc at vmel 149device xd: disk 150attach xd at xdc 151file arch/sparc/dev/xd.c xd needs-flag 152major {xd = 10} 153 154device xyc {drive = -1} 155attach xyc at vmes 156device xy: disk 157attach xy at xyc 158file arch/sparc/dev/xy.c xy needs-flag 159major {xy = 3} 160 161device si: scsi, ncr5380sbc 162attach si at vmes 163device sw: scsi, ncr5380sbc 164attach sw at obio 165file arch/sparc/dev/si.c si | sw 166 167# Efficient Networks, Inc. ATM interface 168# device declaration in sys/conf/files 169attach en at sbus with en_sbus 170file arch/sparc/dev/if_en_sbus.c en_sbus 171 172# Qlogic ISP 10x0 (Sbus) family 173# device declaration in sys/conf/files 174attach isp at sbus with isp_sbus 175file arch/sparc/dev/isp_sbus.c isp_sbus 176 177pseudo-device kbd 178 179# 180# Generic Sun stuff 181# 182include "../../../dev/sun/files.sun" 183 184file arch/sparc/dev/cons.c 185file arch/sparc/dev/fb.c 186file arch/sparc/dev/ms.c 187file arch/sparc/dev/kbd.c kbd 188 189file arch/sparc/fpu/fpu.c 190file arch/sparc/fpu/fpu_add.c 191file arch/sparc/fpu/fpu_compare.c 192file arch/sparc/fpu/fpu_div.c 193file arch/sparc/fpu/fpu_explode.c 194file arch/sparc/fpu/fpu_implode.c 195file arch/sparc/fpu/fpu_mul.c 196file arch/sparc/fpu/fpu_sqrt.c 197file arch/sparc/fpu/fpu_subr.c 198 199# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 200# identified the exact problem yet. NOOPT_C suffices for now. 201file arch/sparc/sparc/autoconf.c 202file arch/sparc/sparc/cache.c 203file arch/sparc/sparc/conf.c 204file arch/sparc/sparc/emul.c 205file arch/sparc/sparc/in_cksum.c 206file arch/sparc/sparc/intr.c 207file arch/sparc/sparc/kgdb_stub.c 208# sparc/sparc/locore.s is handled specially in the makefile, 209# because it must come first in the "ld" command line. 210file arch/sparc/sparc/locore2.c 211file arch/sparc/sparc/machdep.c 212file arch/sparc/sparc/process_machdep.c 213file arch/sparc/sparc/mem.c 214file arch/sparc/sparc/openprom.c 215file arch/sparc/sparc/pmap.c 216# the following overrides the generic "sys_process.c" 217# commented out by deraadt 218#file arch/sparc/sparc/sys_process.c 219file arch/sparc/sparc/sys_machdep.c 220file arch/sparc/sparc/trap.c 221file arch/sparc/sparc/vm_machdep.c 222file arch/sparc/sparc/disksubr.c 223 224file kludge_for_in_proto.c hy needs-flag 225 226file arch/sparc/sparc/db_interface.c ddb 227file arch/sparc/sparc/db_trace.c ddb 228file arch/sparc/sparc/db_disasm.c ddb 229 230# 231# Raster Console 232# 233include "../../../dev/rcons/files.rcons" 234 235# 236# Compatibility modules 237# 238 239# SVR4 Binary Compatibility (COMPAT_SVR4) 240include "../../../compat/svr4/files.svr4" 241file arch/sparc/sparc/svr4_machdep.c compat_svr4 242file arch/sparc/sparc/sunos_machdep.c compat_sunos 243 244# SunOS Binary Compatibility (COMPAT_SUNOS) 245include "../../../compat/sunos/files.sunos" 246 247# Miscellaneous 248file netns/ns_cksum.c ns 249 250major {md = 5} 251file arch/sparc/dev/md_root.c memory_disk_hooks 252