files.sparc revision 1.89
1# $NetBSD: files.sparc,v 1.89 2000/03/14 15:56:58 oster 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 140# RAIDframe 141major { raid = 25 } 142 143attach dma at obio with dma_obio 144file arch/sparc/dev/dma_obio.c dma_obio 145 146attach esp at obio with esp_obio 147file arch/sparc/dev/esp_obio.c esp_obio 148 149attach audioamd at mainbus with audioamd_mainbus 150attach audioamd at sbus with audioamd_sbus 151file arch/sparc/dev/am7930_sparc.c audioamd 152file arch/sparc/sparc/amd7930intr.s audioamd 153 154# Brooktree DAC attribute 155define bt_dac 156 157# Raster operations for RASTERCONSOLE (this is here so dependancies work). 158include "dev/rasops/files.rasops" 159 160# Include /dev/fb driver only if a framebuffer card is included 161define fb 162 163device bwtwo: fb, rasops1 164attach bwtwo at sbus with bwtwo_sbus 165attach bwtwo at obio with bwtwo_obio 166file arch/sparc/dev/bwtwo.c bwtwo needs-flag 167file arch/sparc/dev/bwtwo_sbus.c bwtwo_sbus & sbus 168file arch/sparc/dev/bwtwo_obio.c bwtwo_obio & obio 169 170device cgtwo: fb, rasops8 171attach cgtwo at vme 172file arch/sparc/dev/cgtwo.c cgtwo needs-flag 173 174device cgthree: bt_dac, fb, rasops8 175attach cgthree at sbus with cgthree_sbus 176attach cgthree at obio with cgthree_obio 177file arch/sparc/dev/cgthree.c cgthree needs-flag 178 179device cgfour: bt_dac, fb, rasops8 180attach cgfour at obio 181file arch/sparc/dev/cgfour.c cgfour needs-flag 182 183device cgsix: bt_dac, fb, rasops8 184attach cgsix at sbus with cgsix_sbus 185attach cgsix at obio with cgsix_obio 186file arch/sparc/dev/cgsix.c cgsix needs-flag 187file arch/sparc/dev/cgsix_sbus.c cgsix_sbus & sbus 188file arch/sparc/dev/cgsix_obio.c cgsix_obio & obio 189 190device cgeight: bt_dac, fb, rasops24 191attach cgeight at obio 192file arch/sparc/dev/cgeight.c cgeight needs-flag 193 194device tcx: bt_dac, fb, rasops8, rasops24 195attach tcx at sbus 196file arch/sparc/dev/tcx.c tcx needs-flag 197 198device cgfourteen: fb, rasops32 199attach cgfourteen at obio 200file arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 201 202device pnozz: fb, bt_dac, rasops8, rasops16, rasops32 203attach pnozz at sbus 204file arch/sparc/dev/p9100.c pnozz needs-flag 205 206file arch/sparc/dev/bt_subr.c bt_dac 207file arch/sparc/dev/fb.c fb needs-flag 208 209# device definition in sys/conf/files 210attach le at obio with le_obio: le24 211file arch/sparc/dev/if_le_obio.c le_obio 212 213attach ie at obio with ie_obio 214file arch/sparc/dev/if_ie_obio.c ie_obio 215 216attach com at obio with com_obio 217file arch/sparc/dev/com_obio.c com_obio 218 219device si: scsi, ncr5380sbc 220attach si at vme 221device sw: scsi, ncr5380sbc 222attach sw at obio 223file arch/sparc/dev/si.c si | sw 224 225# 226# Generic Sun stuff 227# 228 229file dev/cons.c 230 231file arch/sparc/fpu/fpu.c 232file arch/sparc/fpu/fpu_add.c 233file arch/sparc/fpu/fpu_compare.c 234file arch/sparc/fpu/fpu_div.c 235file arch/sparc/fpu/fpu_explode.c 236file arch/sparc/fpu/fpu_implode.c 237file arch/sparc/fpu/fpu_mul.c 238file arch/sparc/fpu/fpu_sqrt.c 239file arch/sparc/fpu/fpu_subr.c 240 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 netinet/in4_cksum.c inet 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/promlib.c 256file arch/sparc/sparc/openfirm.c 257file arch/sparc/sparc/openprom.c 258file arch/sparc/sparc/pmap.c 259# the following overrides the generic "sys_process.c" 260# commented out by deraadt 261#file arch/sparc/sparc/sys_process.c 262file arch/sparc/sparc/sys_machdep.c 263file arch/sparc/sparc/trap.c 264file arch/sparc/sparc/vm_machdep.c 265file arch/sparc/sparc/disksubr.c 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" 275include "dev/wsfont/files.wsfont" 276 277# 278# Compatibility modules 279# 280 281# SVR4 Binary Compatibility (COMPAT_SVR4) 282include "compat/svr4/files.svr4" 283file arch/sparc/sparc/svr4_machdep.c compat_svr4 284 285# SunOS Binary Compatibility (COMPAT_SUNOS) 286include "compat/sunos/files.sunos" 287file arch/sparc/sparc/sunos_machdep.c compat_sunos 288 289# NetBSD a.out Binary Compatibility (COMPAT_AOUT) 290include "compat/aout/files.aout" 291 292# Binary compatibility with previous NetBSD releases (COMPAT_XX) 293# Note: SunOS compatibility also uses some of `compat_13_machdep.c' 294file arch/sparc/sparc/compat_13_machdep.c compat_13 | compat_sunos 295 296# Miscellaneous 297file netns/ns_cksum.c ns 298 299file arch/sparc/dev/md_root.c memory_disk_hooks 300