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