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