files.sparc64 revision 1.20
1# $NetBSD: files.sparc64,v 1.20 1999/06/05 03:16:19 mrg 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} 7maxpartitions 8 8 9maxusers 2 8 1024 10 11define mainbus {} 12device mainbus: pcibus, mainbus 13attach mainbus at root 14 15include "dev/sbus/files.sbus" 16attach sbus at mainbus 17file arch/sparc64/dev/sbus.c sbus 18 19device psycho: pcibus 20attach psycho at mainbus 21include "dev/pci/files.pci" 22file arch/sparc64/dev/psycho.c psycho 23file arch/sparc64/dev/psycho_bus.c psycho 24file arch/sparc64/dev/pci_machdep.c psycho 25 26# IOMMU is for both 27file arch/sparc64/dev/iommu.c sbus | psycho 28 29# can't use ppb for SUNW,simba 30device simba: pcibus 31attach simba at pci 32file arch/sparc64/dev/simba.c simba 33 34include "dev/ata/files.ata" 35file arch/sparc64/dev/pciide_machdep.c pciide 36 37device ebus {[addr = -1]}: pcibus 38attach ebus at pci 39file arch/sparc64/dev/ebus.c ebus 40file arch/sparc64/dev/ebus_bus.c ebus 41 42# network devices MII bus 43include "dev/mii/files.mii" 44 45#device auxreg 46#attach auxreg at mainbus, sbus 47#file arch/sparc64/sparc64/auxreg.c 48 49device clock 50attach clock at mainbus, sbus with clock_sbus 51attach clock at ebus with clock_ebus 52 53device timer 54attach timer at mainbus, sbus 55 56device eeprom 57attach eeprom at sbus, ebus 58file arch/sparc64/sparc64/clock.c 59 60device power 61attach power at sbus, ebus 62file arch/sparc64/dev/power.c power 63 64device cpu 65attach cpu at mainbus 66file arch/sparc64/sparc64/cpu.c 67 68device zs {channel = -1} 69attach zs at mainbus, sbus 70file arch/sparc64/dev/zs.c zs needs-count 71file dev/ic/z8530sc.c zs 72 73# siemens SAB82532; found on U5/U10/... for tty ports. 74#device sab {channel = -1} 75#attach sab at ebus 76#file arch/sparc64/dev/sab_ebus.c sab 77#file dev/ic/sab82532.c sab 78 79# "com" attachments for the kbd/mouse of the U5/U10/... 80#device ucom {} 81#attach ucom at ebus with com 82#file arch/sparc64/dev/ucom_ebus.c ucom 83 84# XXX bogus; this is in dev/isa/files.isa. fix me please! 85device lpt {} 86attach lpt at ebus with lpt_ebus 87file arch/sparc64/dev/lpt_ebus.c lpt_ebus 88 89device fdc {} 90attach fdc at mainbus, sbus, ebus 91# attach fdc at ebus 92device fd: disk 93attach fd at fdc 94file dev/sun/fd.c fdc | fd needs-flag 95file arch/sparc64/sparc64/bsd_fdintr.s fdc 96 97# 98# Console (zs) related stuff 99# 100 101device zstty: tty 102attach zstty at zs 103file dev/ic/z8530tty.c zstty needs-flag 104file arch/sparc/dev/zs_kgdb.c kgdb 105 106#device sabtty: tty 107#attach sabtty at sab 108#file dev/ic/sabtty.c sabtty needs-flag 109 110define zsevent 111file dev/sun/event.c zsevent 112 113device kbd: zsevent 114attach kbd at zs with kbd_zs 115attach kbd at ucom with kbd_ucom 116file dev/sun/kbd_zs.c kbd_zs 117file dev/sun/kbd.c kbd needs-flag 118file dev/sun/kbd_tables.c kbd 119file arch/sparc64/dev/kd.c kbd 120file arch/sparc64/dev/kbd_ucom.c kbd_ucom 121 122device ms: zsevent 123attach ms at zs with ms_zs 124attach ms at ucom with ms_ucom 125file dev/sun/ms_zs.c ms_zs 126file dev/sun/ms.c ms needs-flag 127file arch/sparc64/dev/ms_ucom.c ms_ucom 128 129 130# 131# Machine-independent SCSI drivers 132# 133include "dev/scsipi/files.scsipi" 134 135major { cd = 18 } 136major { fd = 16 } 137major { md = 5 } 138major { sd = 7 } 139major { vnd = 8 } 140major { wd = 12 } 141 142# Brooktree DAC attribute 143define bt_dac 144 145device bwtwo 146attach bwtwo at sbus 147file arch/sparc64/dev/bwtwo.c bwtwo needs-flag 148 149device cgtwo 150attach cgtwo at sbus 151file arch/sparc64/dev/cgtwo.c cgtwo needs-flag 152 153device cgthree: bt_dac 154attach cgthree at sbus 155file arch/sparc64/dev/cgthree.c cgthree needs-flag 156 157device cgfour: bt_dac 158attach cgfour at sbus 159file arch/sparc64/dev/cgfour.c cgfour needs-flag 160 161device cgsix: bt_dac 162attach cgsix at sbus 163file arch/sparc64/dev/cgsix.c cgsix needs-flag 164file arch/sparc64/dev/cgsix_sbus.c cgsix needs-flag 165 166device cgeight: bt_dac 167attach cgeight at sbus 168file arch/sparc64/dev/cgeight.c cgeight needs-flag 169 170device tcx: bt_dac 171attach tcx at sbus 172file arch/sparc64/dev/tcx.c tcx needs-flag 173 174device cgfourteen 175attach cgfourteen at sbus 176file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag 177 178file arch/sparc64/dev/bt_subr.c bt_dac 179 180# 181# Generic Sun stuff 182# 183 184file dev/cons.c 185file arch/sparc64/dev/fb.c 186file arch/sparc64/dev/consinit.c 187 188file arch/sparc64/fpu/fpu.c 189file arch/sparc64/fpu/fpu_add.c 190file arch/sparc64/fpu/fpu_compare.c 191file arch/sparc64/fpu/fpu_div.c 192file arch/sparc64/fpu/fpu_explode.c 193file arch/sparc64/fpu/fpu_implode.c 194file arch/sparc64/fpu/fpu_mul.c 195file arch/sparc64/fpu/fpu_sqrt.c 196file arch/sparc64/fpu/fpu_subr.c 197 198# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not 199# identified the exact problem yet. NOOPT_C suffices for now. 200file arch/sparc64/sparc64/autoconf.c 201file arch/sparc64/sparc64/cache.c 202file arch/sparc64/sparc64/conf.c 203file arch/sparc64/sparc64/emul.c 204file arch/sparc64/sparc64/in_cksum.c 205file arch/sparc64/sparc64/intr.c 206file arch/sparc64/sparc64/kgdb_machdep.c kgdb 207# sparc/sparc/locore.s is handled specially in the makefile, 208# because it must come first in the "ld" command line. 209file arch/sparc64/sparc64/locore2.c 210file arch/sparc64/sparc64/machdep.c 211file arch/sparc64/sparc64/process_machdep.c 212file arch/sparc64/sparc64/mem.c 213file arch/sparc64/sparc64/openprom.c 214file arch/sparc64/sparc64/openfirm.c 215file arch/sparc64/sparc64/ofw_machdep.c 216file arch/sparc64/sparc64/pmap.c 217# the following overrides the generic "sys_process.c" 218# commented out by deraadt 219#file arch/sparc64/sparc64/sys_process.c 220file arch/sparc64/sparc64/sys_machdep.c 221file arch/sparc64/sparc64/trap.c 222file arch/sparc64/sparc64/vm_machdep.c 223file arch/sparc64/sparc64/disksubr.c 224 225file arch/sparc64/sparc64/db_interface.c ddb | kgdb 226file arch/sparc64/sparc64/db_trace.c ddb 227file arch/sparc64/sparc64/db_disasm.c ddb 228#file ddb/db_aout.c ddb_aout 229#file ddb/db_elf.c ddb 230 231# 232# Raster Console 233# 234include "dev/rcons/files.rcons" 235include "dev/rasops/files.rasops" 236include "dev/wsfont/files.wsfont" 237 238# 239# Compatibility modules 240# 241 242# Binary compatiblity with previous NetBSD releases. 243file arch/sparc64/sparc64/compat_13_machdep.c compat_13 244 245# NetBSD/sparc Binary compatibility (COMPAT_NETBSD32) 246include "compat/netbsd32/files.netbsd32" 247file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32 248 249# SVR4 Binary Compatibility (COMPAT_SVR4) 250include "compat/svr4/files.svr4" 251file arch/sparc64/sparc64/svr4_machdep.c compat_svr4 252 253# SunOS Binary Compatibility (COMPAT_SUNOS) 254include "compat/sunos/files.sunos" 255file arch/sparc64/sparc64/sunos_machdep.c compat_sunos 256 257# Miscellaneous 258file netns/ns_cksum.c ns 259 260file arch/sparc64/dev/md_root.c memory_disk_hooks 261