1# $NetBSD: files.sparc,v 1.88 2000/02/25 18:24:40 jdc 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" 22device sparcvme: vmebus 23attach sparcvme at mainbus with vme_mainbus 24attach sparcvme at iommu with vme_iommu 25 26file arch/sparc/dev/obio.c obio 27file arch/sparc/dev/vme_machdep.c sparcvme 28 29device auxreg 30attach auxreg at mainbus with auxreg_mainbus 31attach auxreg at obio with auxreg_obio 32file arch/sparc/sparc/auxreg.c 33 34device auxiotwo 35attach auxiotwo at obio with auxiotwo_obio 36file arch/sparc/sparc/auxiotwo.c 37 38device clock 39attach clock at mainbus with clock_mainbus 40attach clock at obio with clock_obio 41 42device oclock 43attach oclock at obio 44 45device timer 46attach timer at mainbus with timer_mainbus 47attach timer at obio with timer_obio 48 49device eeprom 50attach eeprom at obio 51file arch/sparc/sparc/clock.c 52 53device power 54attach power at obio 55file arch/sparc/dev/power.c power needs-flag 56 57device cpu 58attach cpu at mainbus 59file arch/sparc/sparc/cpu.c 60 61device memreg 62attach memreg at mainbus with memreg_mainbus 63attach memreg at obio with memreg_obio 64file arch/sparc/sparc/memreg.c 65 66device eccmemctl 67attach eccmemctl at mainbus 68file arch/sparc/sparc/memecc.c eccmemctl 69 70device tctrl 71attach tctrl at obio 72file arch/sparc/dev/tctrl.c tctrl needs-flag 73 74device zs {channel = -1} 75attach zs at mainbus with zs_mainbus 76attach zs at obio with zs_obio 77file arch/sparc/dev/zs.c zs needs-count 78file dev/ic/z8530sc.c zs 79 80device fdc {} 81attach fdc at mainbus with fdc_mainbus 82attach fdc at obio with fdc_obio 83device fd: disk 84attach fd at fdc 85file arch/sparc/dev/fd.c fdc | fd needs-flag 86file arch/sparc/sparc/bsd_fdintr.s fdc 87 88include "dev/sbus/files.sbus" 89attach sbus at mainbus with sbus_mainbus 90attach sbus at iommu with sbus_iommu 91file arch/sparc/dev/sbus.c sbus needs-flag 92 93device tpcic: pcmciabus 94attach tpcic at sbus 95file arch/sparc/dev/ts102.c tpcic 96 97# network devices MII bus 98include "dev/mii/files.mii" 99 100# PCMCIA bus 101include "dev/pcmcia/files.pcmcia" 102include "dev/ata/files.ata" 103 104# 105# Console (zs) related stuff 106# 107 108device zstty: tty 109attach zstty at zs 110file dev/ic/z8530tty.c zstty needs-flag 111file arch/sparc/dev/zs_kgdb.c kgdb 112 113define zsevent 114file dev/sun/event.c zsevent 115 116device kbd: zsevent 117attach kbd at zs with kbd_zs 118file dev/sun/kbd_zs.c kbd_zs 119file dev/sun/kbd.c kbd needs-flag 120file dev/sun/kbd_tables.c kbd 121file arch/sparc/dev/kd.c kbd 122 123device ms: zsevent 124attach ms at zs with ms_zs 125file dev/sun/ms_zs.c ms_zs 126file dev/sun/ms.c ms needs-flag 127 128# 129# Machine-independent SCSI drivers 130# 131include "dev/scsipi/files.scsipi" 132 133major { cd = 18 } 134major { fd = 16 } 135major { md = 5 } 136major { sd = 7 } 137major { xd = 10 } 138major { xy = 3 } 139 140attach dma at obio with dma_obio 141file arch/sparc/dev/dma_obio.c dma_obio 142 143attach esp at obio with esp_obio 144file arch/sparc/dev/esp_obio.c esp_obio 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# Raster operations for RASTERCONSOLE (this is here so dependancies work). 155include "dev/rasops/files.rasops" 156 157# Include /dev/fb driver only if a framebuffer card is included 158define fb 159 160device bwtwo: fb, rasops1 161attach bwtwo at sbus with bwtwo_sbus 162attach bwtwo at obio with bwtwo_obio 163file arch/sparc/dev/bwtwo.c bwtwo needs-flag 164file arch/sparc/dev/bwtwo_sbus.c bwtwo_sbus & sbus 165file arch/sparc/dev/bwtwo_obio.c bwtwo_obio & obio 166 167device cgtwo: fb, rasops8 168attach cgtwo at vme 169file arch/sparc/dev/cgtwo.c cgtwo needs-flag 170 171device cgthree: bt_dac, fb, rasops8 172attach cgthree at sbus with cgthree_sbus 173attach cgthree at obio with cgthree_obio 174file arch/sparc/dev/cgthree.c cgthree needs-flag 175 176device cgfour: bt_dac, fb, rasops8 177attach cgfour at obio 178file arch/sparc/dev/cgfour.c cgfour needs-flag 179 180device cgsix: bt_dac, fb, rasops8 181attach cgsix at sbus with cgsix_sbus 182attach cgsix at obio with cgsix_obio 183file arch/sparc/dev/cgsix.c cgsix needs-flag 184file arch/sparc/dev/cgsix_sbus.c cgsix_sbus & sbus 185file arch/sparc/dev/cgsix_obio.c cgsix_obio & obio 186 187device cgeight: bt_dac, fb, rasops24 188attach cgeight at obio 189file arch/sparc/dev/cgeight.c cgeight needs-flag 190 191device tcx: bt_dac, fb, rasops8, rasops24 192attach tcx at sbus 193file arch/sparc/dev/tcx.c tcx needs-flag 194 195device cgfourteen: fb, rasops32 196attach cgfourteen at obio 197file arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 198 199device pnozz: fb, bt_dac, rasops8, rasops16, rasops32 200attach pnozz at sbus 201file arch/sparc/dev/p9100.c pnozz needs-flag 202 203file arch/sparc/dev/bt_subr.c bt_dac 204file arch/sparc/dev/fb.c fb needs-flag 205 206# device definition in sys/conf/files 207attach le at obio with le_obio: le24 208file arch/sparc/dev/if_le_obio.c le_obio 209 210attach ie at obio with ie_obio 211file arch/sparc/dev/if_ie_obio.c ie_obio 212 213attach com at obio with com_obio 214file arch/sparc/dev/com_obio.c com_obio 215 216device si: scsi, ncr5380sbc 217attach si at vme 218device sw: scsi, ncr5380sbc 219attach sw at obio 220file arch/sparc/dev/si.c si | sw 221 222# 223# Generic Sun stuff 224# 225 226file dev/cons.c 227 228file arch/sparc/fpu/fpu.c 229file arch/sparc/fpu/fpu_add.c 230file arch/sparc/fpu/fpu_compare.c 231file arch/sparc/fpu/fpu_div.c 232file arch/sparc/fpu/fpu_explode.c 233file arch/sparc/fpu/fpu_implode.c 234file arch/sparc/fpu/fpu_mul.c 235file arch/sparc/fpu/fpu_sqrt.c 236file arch/sparc/fpu/fpu_subr.c 237 238file arch/sparc/sparc/autoconf.c 239file arch/sparc/sparc/cache.c 240file arch/sparc/sparc/conf.c 241file arch/sparc/sparc/emul.c 242file arch/sparc/sparc/in_cksum.c 243file netinet/in4_cksum.c inet 244file arch/sparc/sparc/intr.c 245file arch/sparc/sparc/kgdb_machdep.c kgdb 246# sparc/sparc/locore.s is handled specially in the makefile, 247# because it must come first in the "ld" command line. 248file arch/sparc/sparc/locore2.c 249file arch/sparc/sparc/machdep.c 250file arch/sparc/sparc/process_machdep.c 251file arch/sparc/sparc/mem.c 252file arch/sparc/sparc/promlib.c 253file arch/sparc/sparc/openfirm.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" 272include "dev/wsfont/files.wsfont" 273 274# 275# Compatibility modules 276# 277 278# SVR4 Binary Compatibility (COMPAT_SVR4) 279include "compat/svr4/files.svr4" 280file arch/sparc/sparc/svr4_machdep.c compat_svr4 281 282# SunOS Binary Compatibility (COMPAT_SUNOS) 283include "compat/sunos/files.sunos" 284file arch/sparc/sparc/sunos_machdep.c compat_sunos 285 286# NetBSD a.out Binary Compatibility (COMPAT_AOUT) 287include "compat/aout/files.aout" 288 289# Binary compatibility with previous NetBSD releases (COMPAT_XX) 290# Note: SunOS compatibility also uses some of `compat_13_machdep.c' 291file arch/sparc/sparc/compat_13_machdep.c compat_13 | compat_sunos 292 293# Miscellaneous 294file netns/ns_cksum.c ns 295 296file arch/sparc/dev/md_root.c memory_disk_hooks 297