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