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