1 # $NetBSD: files.sparc64,v 1.17 1999/04/17 21:27:00 kleink Exp $ 2 3 # @(#)files.sparc64 8.1 (Berkeley) 7/19/93 4 # sparc64-specific configuration info 5 6 # maxpartitions must be first item in files.${ARCH} 7 maxpartitions 8 8 9 maxusers 2 8 1024 10 11 device mainbus {} 12 attach mainbus at root 13 14 device iommu {} 15 attach iommu at mainbus 16 file arch/sparc64/sparc64/iommu.c iommu 17 18 include "dev/sbus/files.sbus" 19 attach sbus at mainbus, iommu 20 file arch/sparc64/dev/sbus.c sbus 21 22 # network devices MII bus 23 include "dev/mii/files.mii" 24 25 #device auxreg 26 #attach auxreg at mainbus, sbus 27 #file arch/sparc64/sparc64/auxreg.c 28 29 device clock 30 attach clock at mainbus, sbus 31 32 device timer 33 attach timer at mainbus, sbus 34 35 device eeprom 36 attach eeprom at sbus 37 file arch/sparc64/sparc64/clock.c 38 39 device power 40 attach power at sbus 41 file arch/sparc64/dev/power.c power 42 43 device cpu 44 attach cpu at mainbus 45 file arch/sparc64/sparc64/cpu.c 46 47 device zs {channel = -1} 48 attach zs at mainbus, sbus 49 file arch/sparc64/dev/zs.c zs needs-count 50 file dev/ic/z8530sc.c zs 51 52 device fdc {} 53 attach fdc at mainbus, sbus 54 device fd: disk 55 attach fd at fdc 56 file dev/sun/fd.c fdc | fd needs-flag 57 file arch/sparc64/sparc64/bsd_fdintr.s fdc 58 59 # 60 # Console (zs) related stuff 61 # 62 63 device zstty: tty 64 attach zstty at zs 65 file dev/ic/z8530tty.c zstty needs-flag 66 file arch/sparc/dev/zs_kgdb.c kgdb 67 68 define zsevent 69 file dev/sun/event.c zsevent 70 71 device kbd: zsevent 72 attach kbd at zs 73 file dev/sun/kbd.c kbd needs-flag 74 file dev/sun/kbd_tables.c kbd 75 file arch/sparc64/dev/kd.c kbd 76 77 device ms: zsevent 78 attach ms at zs 79 file dev/sun/ms.c ms needs-flag 80 81 82 # 83 # Machine-independent SCSI drivers 84 # 85 include "dev/scsipi/files.scsipi" 86 87 major { cd = 18 } 88 major { fd = 16 } 89 major { md = 5 } 90 major { sd = 7 } 91 major { vnd = 8 } 92 93 # Brooktree DAC attribute 94 define bt_dac 95 96 device bwtwo 97 attach bwtwo at sbus 98 file arch/sparc64/dev/bwtwo.c bwtwo needs-flag 99 100 device cgtwo 101 attach cgtwo at sbus 102 file arch/sparc64/dev/cgtwo.c cgtwo needs-flag 103 104 device cgthree: bt_dac 105 attach cgthree at sbus 106 file arch/sparc64/dev/cgthree.c cgthree needs-flag 107 108 device cgfour: bt_dac 109 attach cgfour at sbus 110 file arch/sparc64/dev/cgfour.c cgfour needs-flag 111 112 device cgsix: bt_dac 113 attach cgsix at sbus 114 file arch/sparc64/dev/cgsix.c cgsix needs-flag 115 file arch/sparc64/dev/cgsix_sbus.c cgsix needs-flag 116 117 device cgeight: bt_dac 118 attach cgeight at sbus 119 file arch/sparc64/dev/cgeight.c cgeight needs-flag 120 121 device tcx: bt_dac 122 attach tcx at sbus 123 file arch/sparc64/dev/tcx.c tcx needs-flag 124 125 device cgfourteen 126 attach cgfourteen at sbus 127 file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag 128 129 file arch/sparc64/dev/bt_subr.c bt_dac 130 131 # 132 # Generic Sun stuff 133 # 134 135 file dev/cons.c 136 file arch/sparc64/dev/fb.c 137 138 file arch/sparc64/fpu/fpu.c 139 file arch/sparc64/fpu/fpu_add.c 140 file arch/sparc64/fpu/fpu_compare.c 141 file arch/sparc64/fpu/fpu_div.c 142 file arch/sparc64/fpu/fpu_explode.c 143 file arch/sparc64/fpu/fpu_implode.c 144 file arch/sparc64/fpu/fpu_mul.c 145 file arch/sparc64/fpu/fpu_sqrt.c 146 file arch/sparc64/fpu/fpu_subr.c 147 148 # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 149 # identified the exact problem yet. NOOPT_C suffices for now. 150 file arch/sparc64/sparc64/autoconf.c 151 file arch/sparc64/sparc64/cache.c 152 file arch/sparc64/sparc64/conf.c 153 file arch/sparc64/sparc64/emul.c 154 file arch/sparc64/sparc64/in_cksum.c 155 file arch/sparc64/sparc64/intr.c 156 file arch/sparc64/sparc64/kgdb_machdep.c kgdb 157 # sparc/sparc/locore.s is handled specially in the makefile, 158 # because it must come first in the "ld" command line. 159 file arch/sparc64/sparc64/locore2.c 160 file arch/sparc64/sparc64/machdep.c 161 file arch/sparc64/sparc64/process_machdep.c 162 file arch/sparc64/sparc64/mem.c 163 file arch/sparc64/sparc64/openprom.c 164 file arch/sparc64/sparc64/openfirm.c 165 file arch/sparc64/sparc64/ofw_machdep.c 166 file arch/sparc64/sparc64/pmap.c 167 # the following overrides the generic "sys_process.c" 168 # commented out by deraadt 169 #file arch/sparc64/sparc64/sys_process.c 170 file arch/sparc64/sparc64/sys_machdep.c 171 file arch/sparc64/sparc64/trap.c 172 file arch/sparc64/sparc64/vm_machdep.c 173 file arch/sparc64/sparc64/disksubr.c 174 175 file arch/sparc64/sparc64/db_interface.c ddb | kgdb 176 file arch/sparc64/sparc64/db_trace.c ddb 177 file arch/sparc64/sparc64/db_disasm.c ddb 178 #file ddb/db_aout.c ddb_aout 179 #file ddb/db_elf.c ddb 180 181 # 182 # Raster Console 183 # 184 include "dev/rcons/files.rcons" 185 include "dev/rasops/files.rasops" 186 include "dev/wsfont/files.wsfont" 187 188 # 189 # Compatibility modules 190 # 191 192 # Binary compatiblity with previous NetBSD releases. 193 file arch/sparc64/sparc64/compat_13_machdep.c compat_13 194 195 # NetBSD/sparc Binary compatibility (COMPAT_NETBSD32) 196 include "compat/netbsd32/files.netbsd32" 197 file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32 198 199 # SVR4 Binary Compatibility (COMPAT_SVR4) 200 include "compat/svr4/files.svr4" 201 file arch/sparc64/sparc64/svr4_machdep.c compat_svr4 202 203 # SunOS Binary Compatibility (COMPAT_SUNOS) 204 include "compat/sunos/files.sunos" 205 file arch/sparc64/sparc64/sunos_machdep.c compat_sunos 206 207 # Miscellaneous 208 file netns/ns_cksum.c ns 209 210 file arch/sparc64/dev/md_root.c memory_disk_hooks 211