files.sparc revision 1.53
1# $NetBSD: files.sparc,v 1.53 1998/05/20 00:00:12 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} 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 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 146device audioamd: audio 147attach audioamd at mainbus with audioamd_mainbus 148attach audioamd at sbus with audioamd_sbus 149file arch/sparc/dev/amd7930.c audio 150file arch/sparc/sparc/amd7930intr.s audio 151 152# Brooktree DAC attribute 153define bt_dac 154 155# Include /dev/fb driver only if a framebuffer card is included 156define fb 157 158device bwtwo: fb 159attach bwtwo at sbus with bwtwo_sbus 160attach bwtwo at obio with bwtwo_obio 161file arch/sparc/dev/bwtwo.c bwtwo needs-flag 162 163device cgtwo: fb 164attach cgtwo at vme 165file arch/sparc/dev/cgtwo.c cgtwo needs-flag 166 167device cgthree: bt_dac, fb 168attach cgthree at sbus with cgthree_sbus 169attach cgthree at obio with cgthree_obio 170file arch/sparc/dev/cgthree.c cgthree needs-flag 171 172device cgfour: bt_dac, fb 173attach cgfour at obio 174file arch/sparc/dev/cgfour.c cgfour needs-flag 175 176device cgsix: bt_dac, fb 177attach cgsix at sbus with cgsix_sbus 178attach cgsix at obio with cgsix_obio 179file arch/sparc/dev/cgsix.c cgsix needs-flag 180file arch/sparc/dev/cgsix_sbus.c cgsix & (sbus | obio) 181file arch/sparc/dev/cgsix_obio.c cgsix & obio 182 183device cgeight: bt_dac, fb 184attach cgeight at obio 185file arch/sparc/dev/cgeight.c cgeight needs-flag 186 187device tcx: bt_dac, fb 188attach tcx at sbus 189file arch/sparc/dev/tcx.c tcx needs-flag 190 191device cgfourteen: fb 192attach cgfourteen at obio 193file arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 194 195file arch/sparc/dev/bt_subr.c bt_dac 196file arch/sparc/dev/fb.c fb needs-flag 197 198# device definition in sys/conf/files 199attach le at sbus with le_sbus 200attach le at ledma with le_ledma 201attach le at lebuffer with le_lebuffer 202attach le at obio with le_obio 203file arch/sparc/dev/if_le.c le 204 205attach ie at obio with ie_obio 206file arch/sparc/dev/if_ie_obio.c ie_obio 207 208device si: scsi, ncr5380sbc 209attach si at vme 210device sw: scsi, ncr5380sbc 211attach sw at obio 212file arch/sparc/dev/si.c si | sw 213 214# Efficient Networks, Inc. ATM interface 215# device declaration in sys/conf/files 216attach en at sbus with en_sbus 217file arch/sparc/dev/if_en_sbus.c en_sbus 218 219# Qlogic ISP 10x0 (Sbus) family 220# device declaration in sys/conf/files 221attach isp at sbus with isp_sbus 222file arch/sparc/dev/isp_sbus.c isp_sbus 223 224# 225# Generic Sun stuff 226# 227 228file dev/cons.c 229 230file arch/sparc/fpu/fpu.c 231file arch/sparc/fpu/fpu_add.c 232file arch/sparc/fpu/fpu_compare.c 233file arch/sparc/fpu/fpu_div.c 234file arch/sparc/fpu/fpu_explode.c 235file arch/sparc/fpu/fpu_implode.c 236file arch/sparc/fpu/fpu_mul.c 237file arch/sparc/fpu/fpu_sqrt.c 238file arch/sparc/fpu/fpu_subr.c 239 240# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 241# identified the exact problem yet. NOOPT_C suffices for now. 242file arch/sparc/sparc/autoconf.c 243file arch/sparc/sparc/cache.c 244file arch/sparc/sparc/conf.c 245file arch/sparc/sparc/emul.c 246file arch/sparc/sparc/in_cksum.c 247file arch/sparc/sparc/intr.c 248file arch/sparc/sparc/kgdb_machdep.c kgdb 249# sparc/sparc/locore.s is handled specially in the makefile, 250# because it must come first in the "ld" command line. 251file arch/sparc/sparc/locore2.c 252file arch/sparc/sparc/machdep.c 253file arch/sparc/sparc/process_machdep.c 254file arch/sparc/sparc/mem.c 255file arch/sparc/sparc/openprom.c 256file arch/sparc/sparc/pmap.c 257# the following overrides the generic "sys_process.c" 258# commented out by deraadt 259#file arch/sparc/sparc/sys_process.c 260file arch/sparc/sparc/sys_machdep.c 261file arch/sparc/sparc/trap.c 262file arch/sparc/sparc/vm_machdep.c 263file arch/sparc/sparc/disksubr.c 264 265file kludge_for_in_proto.c hy needs-flag 266 267file arch/sparc/sparc/db_interface.c ddb | kgdb 268file arch/sparc/sparc/db_trace.c ddb 269file arch/sparc/sparc/db_disasm.c ddb 270 271# 272# Raster Console 273# 274include "../../../dev/rcons/files.rcons" 275 276# 277# Compatibility modules 278# 279 280# SVR4 Binary Compatibility (COMPAT_SVR4) 281include "../../../compat/svr4/files.svr4" 282file arch/sparc/sparc/svr4_machdep.c compat_svr4 283file arch/sparc/sparc/sunos_machdep.c compat_sunos 284 285# SunOS Binary Compatibility (COMPAT_SUNOS) 286include "../../../compat/sunos/files.sunos" 287 288# Miscellaneous 289file netns/ns_cksum.c ns 290 291major {md = 5} 292file arch/sparc/dev/md_root.c memory_disk_hooks 293