files.sparc revision 1.34
1# $NetBSD: files.sparc,v 1.34 1997/01/21 09:46:09 thorpej 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 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 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 169pseudo-device kbd 170 171# 172# Generic Sun stuff 173# 174include "../../../dev/sun/files.sun" 175 176file arch/sparc/dev/cons.c 177file arch/sparc/dev/fb.c 178file arch/sparc/dev/ms.c 179file arch/sparc/dev/kbd.c kbd 180 181file arch/sparc/fpu/fpu.c 182file arch/sparc/fpu/fpu_add.c 183file arch/sparc/fpu/fpu_compare.c 184file arch/sparc/fpu/fpu_div.c 185file arch/sparc/fpu/fpu_explode.c 186file arch/sparc/fpu/fpu_implode.c 187file arch/sparc/fpu/fpu_mul.c 188file arch/sparc/fpu/fpu_sqrt.c 189file arch/sparc/fpu/fpu_subr.c 190 191# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 192# identified the exact problem yet. NOOPT_C suffices for now. 193file arch/sparc/sparc/autoconf.c 194file arch/sparc/sparc/cache.c 195file arch/sparc/sparc/conf.c 196file arch/sparc/sparc/in_cksum.c 197file arch/sparc/sparc/intr.c 198file arch/sparc/sparc/kgdb_stub.c 199# sparc/sparc/locore.s is handled specially in the makefile, 200# because it must come first in the "ld" command line. 201file arch/sparc/sparc/locore2.c 202file arch/sparc/sparc/machdep.c 203file arch/sparc/sparc/process_machdep.c 204file arch/sparc/sparc/mem.c 205file arch/sparc/sparc/openprom.c 206file arch/sparc/sparc/pmap.c 207# the following overrides the generic "sys_process.c" 208# commented out by deraadt 209#file arch/sparc/sparc/sys_process.c 210file arch/sparc/sparc/sys_machdep.c 211file arch/sparc/sparc/trap.c 212file arch/sparc/sparc/vm_machdep.c 213file arch/sparc/sparc/disksubr.c 214 215file kludge_for_in_proto.c hy needs-flag 216 217file arch/sparc/sparc/db_interface.c ddb 218file arch/sparc/sparc/db_trace.c ddb 219file arch/sparc/sparc/db_disasm.c ddb 220 221# 222# Raster Console 223# 224include "../../../dev/rcons/files.rcons" 225 226# 227# Compatibility modules 228# 229 230# SVR4 Binary Compatibility (COMPAT_SVR4) 231include "../../../compat/svr4/files.svr4" 232file arch/sparc/sparc/svr4_machdep.c compat_svr4 233file arch/sparc/sparc/sunos_machdep.c compat_sunos 234 235# SunOS Binary Compatibility (COMPAT_SUNOS) 236include "../../../compat/sunos/files.sunos" 237 238# Miscellaneous 239file netns/ns_cksum.c ns 240 241major {md = 5} 242file arch/sparc/dev/md_root.c memory_disk_hooks 243