files.sparc revision 1.30
1# $NetBSD: files.sparc,v 1.30 1996/11/01 23:15:51 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}.newconf 7maxpartitions 8 8 9maxusers 2 8 64 10 11device mainbus {} 12attach mainbus at root 13 14device obio { [addr = -1], [level = -1] } 15attach obio at mainbus 16device vmel { [addr = -1], [level = -1], [vect = -1] } 17attach vmel at mainbus 18device vmes { [addr = -1], [level = -1], [vect = -1] } 19attach vmes at mainbus 20file arch/sparc/dev/obio.c obio | vmel | vmes 21 22device auxreg 23attach auxreg at mainbus, obio 24file arch/sparc/sparc/auxreg.c 25 26device clock 27attach clock at mainbus, obio 28 29device oclock 30attach oclock at obio 31 32device timer 33attach timer at mainbus, obio 34 35device eeprom 36attach eeprom at obio 37file arch/sparc/sparc/clock.c 38 39device power 40attach power at obio 41file arch/sparc/dev/power.c power 42 43device cpu 44attach cpu at mainbus 45file arch/sparc/sparc/cpu.c 46 47device memreg 48attach memreg at mainbus, obio 49file arch/sparc/sparc/memreg.c 50 51device zs 52attach zs at mainbus, obio 53file arch/sparc/dev/zs.c zs needs-count 54 55device fdc {} 56attach fdc at mainbus, obio 57device fd: disk 58attach fd at fdc 59file arch/sparc/dev/fd.c fdc | fd needs-flag 60file arch/sparc/sparc/bsd_fdintr.s fdc 61 62device iommu {} 63attach iommu at mainbus 64file arch/sparc/sparc/iommu.c iommu 65 66device sbus { slot = -1, offset = -1 } 67attach sbus at mainbus, iommu 68file arch/sparc/dev/sbus.c sbus 69 70 71# 72# Machine-independent SCSI drivers 73# 74include "../../../scsi/files.scsi" 75 76major { sd = 7 } 77major { vnd = 8 } 78major { cd = 18 } 79 80device dma {} 81attach dma at sbus, obio 82device ledma {} 83attach ledma at sbus 84file arch/sparc/dev/dma.c dma | ledma 85 86device esp: scsi 87attach esp at sbus, dma, obio 88file arch/sparc/dev/esp.c esp 89 90device audio 91attach audio at mainbus, obio, sbus 92file arch/sparc/dev/amd7930.c audio 93file arch/sparc/sparc/amd7930intr.s audio 94 95# Brooktree DAC attribute 96define bt_dac 97 98device bwtwo 99attach bwtwo at sbus, obio, vmes, vmel 100file arch/sparc/dev/bwtwo.c bwtwo needs-flag 101 102device cgtwo 103attach cgtwo at sbus, obio, vmes 104file arch/sparc/dev/cgtwo.c cgtwo needs-flag 105 106device cgthree: bt_dac 107attach cgthree at sbus 108file arch/sparc/dev/cgthree.c cgthree needs-flag 109 110device cgfour: bt_dac 111attach cgfour at obio 112file arch/sparc/dev/cgfour.c cgfour needs-flag 113 114device cgsix: bt_dac 115attach cgsix at sbus, obio 116file arch/sparc/dev/cgsix.c cgsix needs-flag 117 118device cgeight: bt_dac 119attach cgeight at obio 120file arch/sparc/dev/cgeight.c cgeight needs-flag 121 122device tcx: bt_dac 123attach tcx at sbus 124file arch/sparc/dev/tcx.c tcx needs-flag 125 126device cgfourteen 127attach cgfourteen at obio 128file arch/sparc/dev/cgfourteen.c cgfourteen needs-flag 129 130file arch/sparc/dev/bt_subr.c bt_dac 131 132# device definition in sys/conf/files 133attach le at sbus, ledma, obio 134file arch/sparc/dev/if_le.c le 135 136device ie: ifnet, ether 137attach ie at obio, vmes, vmel 138file arch/sparc/dev/if_ie.c ie 139 140device xdc {drive = -1} 141attach xdc at vmel 142device xd: disk 143attach xd at xdc 144file arch/sparc/dev/xd.c xd needs-flag 145major {xd = 10} 146 147device xyc {drive = -1} 148attach xyc at vmes 149device xy: disk 150attach xy at xyc 151file arch/sparc/dev/xy.c xy needs-flag 152major {xy = 3} 153 154device si: scsi, ncr5380sbc 155attach si at vmes 156device sw: scsi, ncr5380sbc 157attach sw at obio 158file arch/sparc/dev/si.c si | sw 159 160# ENI ATM driver 161device en: atm, ifnet 162attach en at sbus with en_sbus 163file arch/sparc/dev/if_en_sbus.c en 164file dev/ic/midway.c en 165 166pseudo-device kbd 167 168# 169# Generic Sun stuff 170# 171include "../../../dev/sun/files.sun" 172 173file arch/sparc/dev/cons.c 174file arch/sparc/dev/fb.c 175file arch/sparc/dev/ms.c 176file arch/sparc/dev/kbd.c kbd 177 178file arch/sparc/fpu/fpu.c 179file arch/sparc/fpu/fpu_add.c 180file arch/sparc/fpu/fpu_compare.c 181file arch/sparc/fpu/fpu_div.c 182file arch/sparc/fpu/fpu_explode.c 183file arch/sparc/fpu/fpu_implode.c 184file arch/sparc/fpu/fpu_mul.c 185file arch/sparc/fpu/fpu_sqrt.c 186file arch/sparc/fpu/fpu_subr.c 187 188# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 189# identified the exact problem yet. NOOPT_C suffices for now. 190file arch/sparc/sparc/autoconf.c 191file arch/sparc/sparc/cache.c 192file arch/sparc/sparc/conf.c 193file arch/sparc/sparc/in_cksum.c 194file arch/sparc/sparc/intr.c 195file arch/sparc/sparc/kgdb_stub.c 196# sparc/sparc/locore.s is handled specially in the makefile, 197# because it must come first in the "ld" command line. 198file arch/sparc/sparc/locore2.c 199file arch/sparc/sparc/machdep.c 200file arch/sparc/sparc/process_machdep.c 201file arch/sparc/sparc/mem.c 202file arch/sparc/sparc/openprom.c 203file arch/sparc/sparc/pmap.c 204# the following overrides the generic "sys_process.c" 205# commented out by deraadt 206#file arch/sparc/sparc/sys_process.c 207file arch/sparc/sparc/sys_machdep.c 208file arch/sparc/sparc/trap.c 209file arch/sparc/sparc/vm_machdep.c 210file arch/sparc/sparc/disksubr.c 211 212file kludge_for_in_proto.c hy needs-flag 213 214file arch/sparc/sparc/db_interface.c ddb 215file arch/sparc/sparc/db_trace.c ddb 216file arch/sparc/sparc/db_disasm.c ddb 217 218# 219# Raster Console 220# 221include "../../../dev/rcons/files.rcons" 222 223# 224# Compatibility modules 225# 226 227# SVR4 Binary Compatibility (COMPAT_SVR4) 228include "../../../compat/svr4/files.svr4" 229file arch/sparc/sparc/svr4_machdep.c compat_svr4 230file arch/sparc/sparc/sunos_machdep.c compat_sunos 231 232# SunOS Binary Compatibility (COMPAT_SUNOS) 233include "../../../compat/sunos/files.sunos" 234 235# Miscellaneous 236file netns/ns_cksum.c ns 237 238pseudo-device rd 239major {rd = 5} 240file arch/sparc/dev/md_root.c ramdisk_hooks 241file dev/ramdisk.c rd needs-flag 242