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