1 # $NetBSD: files.sparc64,v 1.19 1999/05/23 02:45:19 eeh 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 with kbd_zs 73 file dev/sun/kbd_zs.c kbd_zs 74 file dev/sun/kbd.c kbd needs-flag 75 file dev/sun/kbd_tables.c kbd 76 file arch/sparc64/dev/kd.c kbd 77 78 device ms: zsevent 79 attach ms at zs with ms_zs 80 file dev/sun/ms_zs.c ms_zs 81 file dev/sun/ms.c ms needs-flag 82 83 84 # 85 # Machine-independent SCSI drivers 86 # 87 include "dev/scsipi/files.scsipi" 88 89 major { cd = 18 } 90 major { fd = 16 } 91 major { md = 5 } 92 major { sd = 7 } 93 major { vnd = 8 } 94 95 # Brooktree DAC attribute 96 define bt_dac 97 98 device bwtwo 99 attach bwtwo at sbus 100 file arch/sparc64/dev/bwtwo.c bwtwo needs-flag 101 102 device cgtwo 103 attach cgtwo at sbus 104 file arch/sparc64/dev/cgtwo.c cgtwo needs-flag 105 106 device cgthree: bt_dac 107 attach cgthree at sbus 108 file arch/sparc64/dev/cgthree.c cgthree needs-flag 109 110 device cgfour: bt_dac 111 attach cgfour at sbus 112 file arch/sparc64/dev/cgfour.c cgfour needs-flag 113 114 device cgsix: bt_dac 115 attach cgsix at sbus 116 file arch/sparc64/dev/cgsix.c cgsix needs-flag 117 file arch/sparc64/dev/cgsix_sbus.c cgsix needs-flag 118 119 device cgeight: bt_dac 120 attach cgeight at sbus 121 file arch/sparc64/dev/cgeight.c cgeight needs-flag 122 123 device tcx: bt_dac 124 attach tcx at sbus 125 file arch/sparc64/dev/tcx.c tcx needs-flag 126 127 device cgfourteen 128 attach cgfourteen at sbus 129 file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag 130 131 file arch/sparc64/dev/bt_subr.c bt_dac 132 133 # 134 # Generic Sun stuff 135 # 136 137 file dev/cons.c 138 file arch/sparc64/dev/fb.c 139 file arch/sparc64/dev/consinit.c 140 141 file arch/sparc64/fpu/fpu.c 142 file arch/sparc64/fpu/fpu_add.c 143 file arch/sparc64/fpu/fpu_compare.c 144 file arch/sparc64/fpu/fpu_div.c 145 file arch/sparc64/fpu/fpu_explode.c 146 file arch/sparc64/fpu/fpu_implode.c 147 file arch/sparc64/fpu/fpu_mul.c 148 file arch/sparc64/fpu/fpu_sqrt.c 149 file arch/sparc64/fpu/fpu_subr.c 150 151 # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 152 # identified the exact problem yet. NOOPT_C suffices for now. 153 file arch/sparc64/sparc64/autoconf.c 154 file arch/sparc64/sparc64/cache.c 155 file arch/sparc64/sparc64/conf.c 156 file arch/sparc64/sparc64/emul.c 157 file arch/sparc64/sparc64/in_cksum.c 158 file arch/sparc64/sparc64/intr.c 159 file arch/sparc64/sparc64/kgdb_machdep.c kgdb 160 # sparc/sparc/locore.s is handled specially in the makefile, 161 # because it must come first in the "ld" command line. 162 file arch/sparc64/sparc64/locore2.c 163 file arch/sparc64/sparc64/machdep.c 164 file arch/sparc64/sparc64/process_machdep.c 165 file arch/sparc64/sparc64/mem.c 166 file arch/sparc64/sparc64/openprom.c 167 file arch/sparc64/sparc64/openfirm.c 168 file arch/sparc64/sparc64/ofw_machdep.c 169 file arch/sparc64/sparc64/pmap.c 170 # the following overrides the generic "sys_process.c" 171 # commented out by deraadt 172 #file arch/sparc64/sparc64/sys_process.c 173 file arch/sparc64/sparc64/sys_machdep.c 174 file arch/sparc64/sparc64/trap.c 175 file arch/sparc64/sparc64/vm_machdep.c 176 file arch/sparc64/sparc64/disksubr.c 177 178 file arch/sparc64/sparc64/db_interface.c ddb | kgdb 179 file arch/sparc64/sparc64/db_trace.c ddb 180 file arch/sparc64/sparc64/db_disasm.c ddb 181 #file ddb/db_aout.c ddb_aout 182 #file ddb/db_elf.c ddb 183 184 # 185 # Raster Console 186 # 187 include "dev/rcons/files.rcons" 188 include "dev/rasops/files.rasops" 189 include "dev/wsfont/files.wsfont" 190 191 # 192 # Compatibility modules 193 # 194 195 # Binary compatiblity with previous NetBSD releases. 196 file arch/sparc64/sparc64/compat_13_machdep.c compat_13 197 198 # NetBSD/sparc Binary compatibility (COMPAT_NETBSD32) 199 include "compat/netbsd32/files.netbsd32" 200 file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32 201 202 # SVR4 Binary Compatibility (COMPAT_SVR4) 203 include "compat/svr4/files.svr4" 204 file arch/sparc64/sparc64/svr4_machdep.c compat_svr4 205 206 # SunOS Binary Compatibility (COMPAT_SUNOS) 207 include "compat/sunos/files.sunos" 208 file arch/sparc64/sparc64/sunos_machdep.c compat_sunos 209 210 # Miscellaneous 211 file netns/ns_cksum.c ns 212 213 file arch/sparc64/dev/md_root.c memory_disk_hooks 214