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