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