files.sparc revision 1.25
1# $NetBSD: files.sparc,v 1.25 1996/06/19 13:21:09 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}.newconf 7maxpartitions 8 8 9maxusers 2 8 64 10 11device mainbus {} 12attach mainbus at root 13 14device obio { [addr = -1], [level = -1] } 15attach obio at mainbus 16device vmel { [addr = -1], [level = -1], [vect = -1] } 17attach vmel at mainbus 18device vmes { [addr = -1], [level = -1], [vect = -1] } 19attach vmes at mainbus 20file arch/sparc/dev/obio.c obio | vmel | vmes 21 22device audio 23attach audio at mainbus, obio 24file arch/sparc/dev/amd7930.c audio 25 26device auxreg 27attach auxreg at mainbus, obio 28file arch/sparc/sparc/auxreg.c 29 30device clock 31attach clock at mainbus, obio 32 33device oclock 34attach oclock at obio 35 36device timer 37attach timer at mainbus, obio 38 39device eeprom 40attach eeprom at obio 41file arch/sparc/sparc/clock.c 42 43device power 44attach power at obio 45file arch/sparc/dev/power.c power 46 47device cpu 48attach cpu at mainbus 49file arch/sparc/sparc/cpu.c 50 51device memreg 52attach memreg at mainbus, obio 53file arch/sparc/sparc/memreg.c 54 55device zs 56attach zs at mainbus, obio 57file arch/sparc/dev/zs.c zs needs-count 58 59device fdc {} 60attach fdc at mainbus, obio 61device fd: disk 62attach fd at fdc 63file arch/sparc/dev/fd.c fdc | fd needs-flag 64file arch/sparc/sparc/bsd_fdintr.s fdc 65 66device iommu {} 67attach iommu at mainbus 68file arch/sparc/sparc/iommu.c iommu 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 89 90device esp: scsi 91attach esp at sbus, dma, obio 92file arch/sparc/dev/esp.c esp 93 94# Brooktree DAC attribute 95define bt_dac 96 97device bwtwo 98attach bwtwo at sbus, obio, vmes, vmel 99file arch/sparc/dev/bwtwo.c bwtwo needs-flag 100 101device cgtwo 102attach cgtwo at sbus, obio, vmes 103file arch/sparc/dev/cgtwo.c cgtwo needs-flag 104 105device cgthree: bt_dac 106attach cgthree at sbus 107file arch/sparc/dev/cgthree.c cgthree needs-flag 108 109device cgfour: bt_dac 110attach cgfour at obio 111file arch/sparc/dev/cgfour.c cgfour needs-flag 112 113device cgsix: bt_dac 114attach cgsix at sbus, obio 115file arch/sparc/dev/cgsix.c cgsix needs-flag 116 117device cgeight: bt_dac 118attach cgeight at obio 119file arch/sparc/dev/cgeight.c cgeight needs-flag 120 121device tcx: bt_dac 122attach tcx at sbus 123file arch/sparc/dev/tcx.c tcx needs-flag 124 125file arch/sparc/dev/bt_subr.c bt_dac 126 127# device definition in sys/conf/files 128attach le at sbus, ledma, obio 129file arch/sparc/dev/if_le.c le 130 131device ie: ifnet, ether 132attach ie at obio, vmes, vmel 133file arch/sparc/dev/if_ie.c ie 134 135device xdc {drive = -1} 136attach xdc at vmel 137device xd: disk 138attach xd at xdc 139file arch/sparc/dev/xd.c xd needs-flag 140major {xd = 10} 141 142device xyc {drive = -1} 143attach xyc at vmes 144device xy: disk 145attach xy at xyc 146file arch/sparc/dev/xy.c xy needs-flag 147major {xy = 3} 148 149device si: scsi, ncr5380sbc 150attach si at vmes 151device sw: scsi, ncr5380sbc 152attach sw at obio 153file arch/sparc/dev/si.c si | sw 154 155pseudo-device kbd 156 157# 158# Generic Sun stuff 159# 160include "../../../dev/sun/files.sun" 161 162file arch/sparc/dev/cons.c 163file arch/sparc/dev/fb.c 164file arch/sparc/dev/ms.c 165file arch/sparc/dev/kbd.c kbd 166 167file arch/sparc/fpu/fpu.c 168file arch/sparc/fpu/fpu_add.c 169file arch/sparc/fpu/fpu_compare.c 170file arch/sparc/fpu/fpu_div.c 171file arch/sparc/fpu/fpu_explode.c 172file arch/sparc/fpu/fpu_implode.c 173file arch/sparc/fpu/fpu_mul.c 174file arch/sparc/fpu/fpu_sqrt.c 175file arch/sparc/fpu/fpu_subr.c 176 177# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 178# identified the exact problem yet. NOOPT_C suffices for now. 179file arch/sparc/sparc/autoconf.c 180file arch/sparc/sparc/amd7930intr.s audio 181file arch/sparc/sparc/cache.c 182file arch/sparc/sparc/conf.c 183file arch/sparc/sparc/in_cksum.c 184file arch/sparc/sparc/intr.c 185file arch/sparc/sparc/kgdb_stub.c 186# sparc/sparc/locore.s is handled specially in the makefile, 187# because it must come first in the "ld" command line. 188file arch/sparc/sparc/locore2.c 189file arch/sparc/sparc/machdep.c 190file arch/sparc/sparc/process_machdep.c 191file arch/sparc/sparc/mem.c 192file arch/sparc/sparc/openprom.c 193file arch/sparc/sparc/pmap.c 194# the following overrides the generic "sys_process.c" 195# commented out by deraadt 196#file arch/sparc/sparc/sys_process.c 197file arch/sparc/sparc/sys_machdep.c 198file arch/sparc/sparc/trap.c 199file arch/sparc/sparc/vm_machdep.c 200file arch/sparc/sparc/disksubr.c 201 202file kludge_for_in_proto.c hy needs-flag 203 204file arch/sparc/sparc/db_interface.c ddb 205file arch/sparc/sparc/db_trace.c ddb 206file arch/sparc/sparc/db_disasm.c ddb 207 208# 209# Raster Console 210# 211include "../../../dev/rcons/files.rcons" 212 213# 214# Compatibility modules 215# 216 217# SVR4 Binary Compatibility (COMPAT_SVR4) 218include "../../../compat/svr4/files.svr4" 219file arch/sparc/sparc/svr4_machdep.c compat_svr4 220file arch/sparc/sparc/sunos_machdep.c compat_sunos 221 222# SunOS Binary Compatibility (COMPAT_SUNOS) 223include "../../../compat/sunos/files.sunos" 224 225# Miscellaneous 226file netns/ns_cksum.c ns 227 228#pseudo-device rd 229#major {rd = 5} 230#file arch/sparc/dev/rd_root.c microroot 231#file dev/ramdisk.c rd needs-flag 232