files.sparc revision 1.56
1# $NetBSD: files.sparc,v 1.56 1998/07/15 17:45:53 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 1024 10 11device mainbus {} 12attach mainbus at root 13 14device iommu {} 15attach iommu at mainbus 16file arch/sparc/sparc/iommu.c iommu 17 18device obio { [addr = -1], [level = -1] } 19attach obio at mainbus 20 21include "../../../dev/vme/files.vme" 22attach vme at mainbus with vme_mainbus 23attach vme at iommu with vme_iommu 24 25file arch/sparc/dev/obio.c obio 26file arch/sparc/dev/vme_machdep.c vme 27 28device auxreg 29attach auxreg at mainbus with auxreg_mainbus 30attach auxreg at obio with auxreg_obio 31file arch/sparc/sparc/auxreg.c 32 33device clock 34attach clock at mainbus with clock_mainbus 35attach clock at obio with clock_obio 36 37device oclock 38attach oclock at obio 39 40device timer 41attach timer at mainbus with timer_mainbus 42attach timer at obio with timer_obio 43 44device eeprom 45attach eeprom at obio 46file arch/sparc/sparc/clock.c 47 48device power 49attach power at obio 50file arch/sparc/dev/power.c power needs-flag 51 52device cpu 53attach cpu at mainbus 54file arch/sparc/sparc/cpu.c 55 56device memreg 57attach memreg at mainbus with memreg_mainbus 58attach memreg at obio with memreg_obio 59file arch/sparc/sparc/memreg.c 60 61device zs {channel = -1} 62attach zs at mainbus with zs_mainbus 63attach zs at obio with zs_obio 64file arch/sparc/dev/zs.c zs needs-count 65file dev/ic/z8530sc.c zs 66 67device fdc {} 68attach fdc at mainbus with fdc_mainbus 69attach fdc at obio with fdc_obio 70device fd: disk 71attach fd at fdc 72file arch/sparc/dev/fd.c fdc | fd needs-flag 73file arch/sparc/sparc/bsd_fdintr.s fdc 74 75device sbus { slot = -1, offset = -1 } 76attach sbus at mainbus with sbus_mainbus 77attach sbus at iommu with sbus_iommu 78file arch/sparc/dev/sbus.c sbus 79 80device xbox {} 81attach xbox at sbus 82attach sbus at xbox with sbus_xbox 83file arch/sparc/dev/xbox.c xbox 84 85# 86# Console (zs) related stuff 87# 88 89device zstty: tty 90attach zstty at zs 91file dev/ic/z8530tty.c zstty needs-flag 92file arch/sparc/dev/zs_kgdb.c kgdb 93 94define zsevent 95file dev/sun/event.c zsevent 96 97device kbd: zsevent 98attach kbd at zs 99file dev/sun/kbd.c kbd needs-flag 100file dev/sun/kbd_tables.c kbd 101file arch/sparc/dev/kd.c kbd 102 103device ms: zsevent 104attach ms at zs 105file dev/sun/ms.c ms needs-flag 106 107# 108# Magma Serial/Parallel boards 109# 110device magma {} 111attach magma at sbus 112device mtty: tty 113attach mtty at magma 114device mbpp 115attach mbpp at magma 116file arch/sparc/dev/magma.c magma | mtty | mbpp needs-flag 117 118# 119# Machine-independent SCSI drivers 120# 121include "../../../dev/scsipi/files.scsipi" 122 123major { sd = 7 } 124major { vnd = 8 } 125major { cd = 18 } 126major { xd = 10 } 127major { xy = 3 } 128 129device dma {} 130attach dma at sbus with dma_sbus 131attach dma at obio with dma_obio 132device ledma {} 133attach ledma at sbus 134file arch/sparc/dev/dma.c dma | ledma 135device lebuffer {} 136attach lebuffer at sbus 137file arch/sparc/dev/lebuffer.c lebuffer 138 139device esp: scsi, ncr53c9x 140##attach esp at sbus, dma, obio 141attach esp at sbus with esp_sbus 142attach esp at dma with esp_dma 143attach esp at obio with esp_obio 144file arch/sparc/dev/esp.c esp 145 146attach audioamd at mainbus with audioamd_mainbus 147attach audioamd at sbus with audioamd_sbus 148file arch/sparc/dev/am7930_sparc.c audioamd 149file arch/sparc/sparc/amd7930intr.s audioamd 150 151# Brooktree DAC attribute 152define bt_dac 153 154# Include /dev/fb driver only if a framebuffer card is included 155define fb 156 157device bwtwo: fb 158attach bwtwo at sbus with bwtwo_sbus 159attach bwtwo at obio with bwtwo_obio 160file arch/sparc/dev/bwtwo.c bwtwo needs-flag 161 162device cgtwo: fb 163attach cgtwo at vme 164file arch/sparc/dev/cgtwo.c cgtwo needs-flag 165 166device cgthree: bt_dac, fb 167attach cgthree at sbus with cgthree_sbus 168attach cgthree at obio with cgthree_obio 169file arch/sparc/dev/cgthree.c cgthree needs-flag 170 171device cgfour: bt_dac, fb 172attach cgfour at obio 173file arch/sparc/dev/cgfour.c cgfour needs-flag 174 175device cgsix: bt_dac, fb 176attach cgsix at sbus with cgsix_sbus 177attach cgsix at obio with cgsix_obio 178file arch/sparc/dev/cgsix.c cgsix needs-flag 179file arch/sparc/dev/cgsix_sbus.c cgsix & (sbus | obio) 180file arch/sparc/dev/cgsix_obio.c cgsix & obio 181 182device cgeight: bt_dac, fb 183attach cgeight at obio 184file arch/sparc/dev/cgeight.c cgeight needs-flag 185 186device tcx: bt_dac, fb 187attach tcx at sbus 188file arch/sparc/dev/tcx.c tcx needs-flag 189 190device cgfourteen: fb 191attach cgfourteen at obio 192file arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 193 194file arch/sparc/dev/bt_subr.c bt_dac 195file arch/sparc/dev/fb.c fb needs-flag 196 197# device definition in sys/conf/files 198attach le at sbus with le_sbus 199attach le at ledma with le_ledma 200attach le at lebuffer with le_lebuffer 201attach le at obio with le_obio 202file arch/sparc/dev/if_le.c le 203 204attach ie at obio with ie_obio 205file arch/sparc/dev/if_ie_obio.c ie_obio 206 207device si: scsi, ncr5380sbc 208attach si at vme 209device sw: scsi, ncr5380sbc 210attach sw at obio 211file arch/sparc/dev/si.c si | sw 212 213# Efficient Networks, Inc. ATM interface 214# device declaration in sys/conf/files 215attach en at sbus with en_sbus 216file arch/sparc/dev/if_en_sbus.c en_sbus 217 218# Qlogic ISP 10x0 (Sbus) family 219# device declaration in sys/conf/files 220attach isp at sbus with isp_sbus 221file arch/sparc/dev/isp_sbus.c isp_sbus 222 223# 224# Generic Sun stuff 225# 226 227file dev/cons.c 228 229file arch/sparc/fpu/fpu.c 230file arch/sparc/fpu/fpu_add.c 231file arch/sparc/fpu/fpu_compare.c 232file arch/sparc/fpu/fpu_div.c 233file arch/sparc/fpu/fpu_explode.c 234file arch/sparc/fpu/fpu_implode.c 235file arch/sparc/fpu/fpu_mul.c 236file arch/sparc/fpu/fpu_sqrt.c 237file arch/sparc/fpu/fpu_subr.c 238 239# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 240# identified the exact problem yet. NOOPT_C suffices for now. 241file arch/sparc/sparc/autoconf.c 242file arch/sparc/sparc/cache.c 243file arch/sparc/sparc/conf.c 244file arch/sparc/sparc/emul.c 245file arch/sparc/sparc/in_cksum.c 246file arch/sparc/sparc/intr.c 247file arch/sparc/sparc/kgdb_machdep.c kgdb 248# sparc/sparc/locore.s is handled specially in the makefile, 249# because it must come first in the "ld" command line. 250file arch/sparc/sparc/locore2.c 251file arch/sparc/sparc/machdep.c 252file arch/sparc/sparc/process_machdep.c 253file arch/sparc/sparc/mem.c 254file arch/sparc/sparc/openprom.c 255file arch/sparc/sparc/pmap.c 256# the following overrides the generic "sys_process.c" 257# commented out by deraadt 258#file arch/sparc/sparc/sys_process.c 259file arch/sparc/sparc/sys_machdep.c 260file arch/sparc/sparc/trap.c 261file arch/sparc/sparc/vm_machdep.c 262file arch/sparc/sparc/disksubr.c 263 264file arch/sparc/sparc/db_interface.c ddb | kgdb 265file arch/sparc/sparc/db_trace.c ddb 266file arch/sparc/sparc/db_disasm.c ddb 267 268# 269# Raster Console 270# 271include "../../../dev/rcons/files.rcons" 272 273# 274# Compatibility modules 275# 276 277# SVR4 Binary Compatibility (COMPAT_SVR4) 278include "../../../compat/svr4/files.svr4" 279file arch/sparc/sparc/svr4_machdep.c compat_svr4 280file arch/sparc/sparc/sunos_machdep.c compat_sunos 281 282# SunOS Binary Compatibility (COMPAT_SUNOS) 283include "../../../compat/sunos/files.sunos" 284 285# Miscellaneous 286file netns/ns_cksum.c ns 287 288major {md = 5} 289file arch/sparc/dev/md_root.c memory_disk_hooks 290