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