2011-10-04 14:35:33 +04:00
|
|
|
# $NetBSD: files.sparc64,v 1.136 2011/10/04 10:35:33 nakayama Exp $
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
# @(#)files.sparc64 8.1 (Berkeley) 7/19/93
|
|
|
|
# sparc64-specific configuration info
|
|
|
|
|
|
|
|
# maxpartitions must be first item in files.${ARCH}
|
|
|
|
maxpartitions 8
|
|
|
|
|
|
|
|
maxusers 2 8 1024
|
|
|
|
|
2001-12-05 02:14:48 +03:00
|
|
|
defflag opt_sparc_arch.h SUN4U
|
2001-12-04 03:53:18 +03:00
|
|
|
|
1999-06-05 07:16:19 +04:00
|
|
|
define mainbus {}
|
2002-05-06 23:48:05 +04:00
|
|
|
device mainbus: mainbus
|
1998-06-20 08:58:50 +04:00
|
|
|
attach mainbus at root
|
|
|
|
|
2010-01-12 17:45:50 +03:00
|
|
|
define upa {}
|
|
|
|
device upa: upa
|
|
|
|
attach upa at mainbus
|
|
|
|
file arch/sparc64/dev/upa.c
|
|
|
|
|
2000-05-19 09:26:16 +04:00
|
|
|
device pcons
|
|
|
|
attach pcons at mainbus
|
|
|
|
file arch/sparc64/dev/pcons.c pcons needs-flag
|
|
|
|
|
2000-08-23 01:35:45 +04:00
|
|
|
include "dev/sun/files.sun"
|
2000-11-08 22:48:51 +03:00
|
|
|
include "dev/i2o/files.i2o"
|
2000-08-23 01:35:45 +04:00
|
|
|
|
1999-04-18 01:26:59 +04:00
|
|
|
include "dev/sbus/files.sbus"
|
1999-06-05 07:16:19 +04:00
|
|
|
attach sbus at mainbus
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/dev/sbus.c sbus
|
|
|
|
|
2003-04-21 16:14:19 +04:00
|
|
|
device psycho: pcibus, sysmon_power, sysmon_taskq
|
2001-11-20 15:56:17 +03:00
|
|
|
attach psycho at mainbus
|
2008-12-10 08:56:22 +03:00
|
|
|
device schizo: pcibus, sysmon_power, sysmon_taskq
|
|
|
|
attach schizo at mainbus
|
2011-03-20 23:55:46 +03:00
|
|
|
device pyro: pcibus, sysmon_power, sysmon_taskq
|
|
|
|
attach pyro at mainbus
|
1999-06-05 07:16:19 +04:00
|
|
|
include "dev/pci/files.pci"
|
|
|
|
file arch/sparc64/dev/psycho.c psycho
|
2008-12-10 08:56:22 +03:00
|
|
|
file arch/sparc64/dev/schizo.c schizo
|
2011-03-20 23:55:46 +03:00
|
|
|
file arch/sparc64/dev/pyro.c pyro
|
|
|
|
file arch/sparc64/dev/pci_machdep.c psycho | schizo | pyro
|
1999-06-05 07:16:19 +04:00
|
|
|
|
2011-07-29 12:37:36 +04:00
|
|
|
define central {}
|
|
|
|
device central: central
|
|
|
|
attach central at mainbus
|
|
|
|
file arch/sparc64/dev/central.c central
|
|
|
|
|
|
|
|
define fhc {}
|
|
|
|
device fhc: fhc
|
|
|
|
attach fhc at mainbus with fhc_mainbus
|
|
|
|
attach fhc at central with fhc_central
|
|
|
|
file arch/sparc64/dev/fhc.c fhc
|
|
|
|
file arch/sparc64/dev/fhc_central.c fhc_central
|
|
|
|
file arch/sparc64/dev/fhc_mainbus.c fhc_mainbus
|
|
|
|
|
1999-06-05 07:16:19 +04:00
|
|
|
# IOMMU is for both
|
2011-03-20 23:55:46 +03:00
|
|
|
file arch/sparc64/dev/iommu.c sbus | psycho | schizo | pyro
|
1999-06-05 07:16:19 +04:00
|
|
|
|
|
|
|
include "dev/ata/files.ata"
|
|
|
|
|
|
|
|
device ebus {[addr = -1]}: pcibus
|
|
|
|
attach ebus at pci
|
|
|
|
file arch/sparc64/dev/ebus.c ebus
|
2011-03-20 23:55:46 +03:00
|
|
|
attach ebus at mainbus with ebus_mainbus
|
|
|
|
file arch/sparc64/dev/ebus_mainbus.c ebus_mainbus
|
1999-06-05 07:16:19 +04:00
|
|
|
|
2006-10-09 07:34:56 +04:00
|
|
|
device clock: mk48txx
|
2006-11-09 18:08:04 +03:00
|
|
|
attach clock at sbus with mkclock_sbus
|
|
|
|
attach clock at ebus with mkclock_ebus
|
2011-07-29 12:37:36 +04:00
|
|
|
attach clock at fhc with mkclock_fhc
|
2006-11-09 18:08:04 +03:00
|
|
|
file arch/sparc64/dev/mkclock.c clock
|
1998-06-20 08:58:50 +04:00
|
|
|
|
2003-11-02 02:04:32 +03:00
|
|
|
device rtc: mc146818
|
2001-09-02 05:18:56 +04:00
|
|
|
attach rtc at ebus with rtc_ebus
|
2006-10-09 07:34:56 +04:00
|
|
|
file arch/sparc64/dev/rtc.c rtc
|
2001-09-02 05:18:56 +04:00
|
|
|
|
2006-07-10 21:54:08 +04:00
|
|
|
device psm: sysmon_envsys, sysmon_power
|
|
|
|
attach psm at ebus
|
|
|
|
file arch/sparc64/dev/psm.c psm
|
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
device timer
|
1998-09-05 20:01:11 +04:00
|
|
|
attach timer at mainbus, sbus
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
device power
|
1999-06-05 07:16:19 +04:00
|
|
|
attach power at sbus, ebus
|
2000-11-10 19:05:40 +03:00
|
|
|
file arch/sparc64/dev/power.c power
|
1998-06-20 08:58:50 +04:00
|
|
|
|
2010-02-28 14:49:44 +03:00
|
|
|
device tda
|
|
|
|
attach tda at iic
|
|
|
|
file arch/sparc64/dev/tda.c tda
|
|
|
|
|
|
|
|
device pcfiic: sysmon_envsys, pcf8584, i2cbus
|
|
|
|
attach pcfiic at ebus
|
2010-03-02 15:18:35 +03:00
|
|
|
file arch/sparc64/dev/pcfiic_ebus.c pcfiic
|
2010-02-28 14:49:44 +03:00
|
|
|
|
|
|
|
device ecadc
|
|
|
|
attach ecadc at iic
|
2010-03-02 15:18:35 +03:00
|
|
|
file arch/sparc64/dev/pcf8591_envctrl.c ecadc
|
2007-04-14 23:33:27 +04:00
|
|
|
|
2009-10-02 19:09:16 +04:00
|
|
|
device lom: sysmon_envsys, sysmon_wdog
|
|
|
|
attach lom at ebus
|
|
|
|
file arch/sparc64/dev/lom.c lom
|
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
device cpu
|
|
|
|
attach cpu at mainbus
|
|
|
|
file arch/sparc64/sparc64/cpu.c
|
|
|
|
|
2000-04-05 11:58:44 +04:00
|
|
|
device auxio
|
2000-04-15 07:08:12 +04:00
|
|
|
attach auxio at ebus with auxio_ebus
|
|
|
|
attach auxio at sbus with auxio_sbus
|
|
|
|
file arch/sparc64/dev/auxio.c auxio
|
2000-04-05 11:58:44 +04:00
|
|
|
|
2003-06-16 23:24:51 +04:00
|
|
|
defflag opt_auxio.h BLINK
|
|
|
|
|
2004-02-10 19:43:43 +03:00
|
|
|
attach lpt at ebus with lpt_ebus
|
1999-06-05 07:16:19 +04:00
|
|
|
file arch/sparc64/dev/lpt_ebus.c lpt_ebus
|
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
device fdc {}
|
2006-10-06 12:44:59 +04:00
|
|
|
attach fdc at sbus with fdc_sbus
|
|
|
|
attach fdc at ebus with fdc_ebus
|
1998-06-20 08:58:50 +04:00
|
|
|
device fd: disk
|
|
|
|
attach fd at fdc
|
2006-10-06 12:44:59 +04:00
|
|
|
file arch/sparc64/dev/fdc.c fdc | fd needs-flag
|
1998-06-20 08:58:50 +04:00
|
|
|
|
1999-06-05 18:34:22 +04:00
|
|
|
attach audiocs at ebus with audiocs_ebus
|
2002-03-12 07:48:28 +03:00
|
|
|
file dev/ebus/cs4231_ebus.c audiocs_ebus
|
1999-06-05 18:34:22 +04:00
|
|
|
|
2002-05-05 15:22:19 +04:00
|
|
|
# PCMCIA bus (references fdc)
|
|
|
|
include "dev/pcmcia/files.pcmcia"
|
|
|
|
|
2003-03-22 09:39:43 +03:00
|
|
|
# CardBus Support
|
|
|
|
include "dev/cardbus/files.cardbus"
|
|
|
|
file arch/sparc64/sparc64/rbus_machdep.c cardbus
|
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
#
|
2000-11-10 19:05:40 +03:00
|
|
|
# Console related stuff
|
1998-06-20 08:58:50 +04:00
|
|
|
#
|
|
|
|
|
2000-11-10 19:05:40 +03:00
|
|
|
device zs {channel = -1}
|
2011-08-01 14:18:23 +04:00
|
|
|
attach zs at sbus
|
|
|
|
attach zs at fhc with zs_fhc
|
2000-11-10 19:05:40 +03:00
|
|
|
file arch/sparc64/dev/zs.c zs needs-flag
|
|
|
|
file dev/ic/z8530sc.c zs
|
|
|
|
|
|
|
|
# siemens SAB82532; found on U5/U10/... for tty ports.
|
2002-08-16 13:03:36 +04:00
|
|
|
device sab {channel = -1}
|
|
|
|
attach sab at ebus
|
|
|
|
file arch/sparc64/dev/sab.c sab | sabtty needs-flag
|
2000-11-10 19:05:40 +03:00
|
|
|
|
|
|
|
# "com" attachments for the kbd/mouse of the U5/U10/...
|
|
|
|
attach com at ebus with com_ebus
|
|
|
|
file arch/sparc64/dev/com_ebus.c com_ebus
|
|
|
|
|
2002-10-15 19:11:07 +04:00
|
|
|
device zstty {}: tty
|
1998-06-20 08:58:50 +04:00
|
|
|
attach zstty at zs
|
|
|
|
file dev/ic/z8530tty.c zstty needs-flag
|
2003-05-19 00:56:54 +04:00
|
|
|
# file arch/sparc/dev/zs_kgdb.c kgdb
|
1998-06-20 08:58:50 +04:00
|
|
|
|
2004-09-13 18:29:38 +04:00
|
|
|
device sabtty: tty
|
2002-08-16 13:03:36 +04:00
|
|
|
attach sabtty at sab
|
1999-06-05 07:16:19 +04:00
|
|
|
|
2002-10-03 20:13:24 +04:00
|
|
|
file arch/sparc64/dev/kd.c kbd
|
|
|
|
|
1999-05-14 10:42:02 +04:00
|
|
|
attach kbd at zs with kbd_zs
|
2002-10-03 20:13:24 +04:00
|
|
|
attach kbd at zstty, com with kbd_tty
|
1999-05-14 10:42:02 +04:00
|
|
|
file dev/sun/kbd_zs.c kbd_zs
|
2002-10-03 20:13:24 +04:00
|
|
|
file dev/sun/sunkbd.c kbd_tty
|
|
|
|
file dev/sun/kbdsun.c kbd_zs | kbd_tty
|
1998-06-20 08:58:50 +04:00
|
|
|
|
1999-05-14 10:42:02 +04:00
|
|
|
attach ms at zs with ms_zs
|
2002-10-03 20:13:24 +04:00
|
|
|
attach ms at zstty, com with ms_tty
|
1999-05-14 10:42:02 +04:00
|
|
|
file dev/sun/ms_zs.c ms_zs
|
2002-10-03 20:13:24 +04:00
|
|
|
file dev/sun/sunms.c ms_tty
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent SCSI drivers
|
|
|
|
#
|
1999-04-18 01:26:59 +04:00
|
|
|
include "dev/scsipi/files.scsipi"
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
device cgfourteen
|
1998-09-05 20:01:11 +04:00
|
|
|
attach cgfourteen at sbus
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
|
|
|
|
|
2011-10-04 14:35:33 +04:00
|
|
|
device ffb: wsemuldisplaydev, rasops8, rasops32, fb, vcons, i2cexec, i2c_bitbang, ddc_read_edid, edid, videomode
|
2003-05-23 10:57:58 +04:00
|
|
|
file arch/sparc64/dev/ffb.c ffb
|
2010-09-21 07:26:20 +04:00
|
|
|
defflag opt_ffb.h FFB_DEBUG FFB_SYNC
|
2010-01-12 17:45:50 +03:00
|
|
|
attach ffb at mainbus,upa with ffb_mainbus
|
2003-05-23 10:57:58 +04:00
|
|
|
file arch/sparc64/dev/ffb_mainbus.c ffb_mainbus
|
|
|
|
|
2009-12-29 09:56:41 +03:00
|
|
|
device gfb: wsemuldisplaydev, rasops32, fb, vcons
|
|
|
|
file arch/sparc64/dev/gfb.c gfb
|
|
|
|
attach gfb at mainbus
|
|
|
|
|
2003-07-18 01:02:03 +04:00
|
|
|
# CP1500/1400 watchdog timer
|
|
|
|
device pldwdog: sysmon_wdog
|
|
|
|
attach pldwdog at ebus
|
|
|
|
file arch/sparc64/dev/pld_wdog.c pldwdog
|
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
#
|
|
|
|
# Generic Sun stuff
|
|
|
|
#
|
|
|
|
|
|
|
|
file dev/cons.c
|
1999-05-23 06:45:19 +04:00
|
|
|
file arch/sparc64/dev/consinit.c
|
2003-11-15 20:52:30 +03:00
|
|
|
file dev/sun/disksubr.c
|
1998-06-20 08:58:50 +04:00
|
|
|
|
2008-02-03 16:27:12 +03:00
|
|
|
file arch/sparc64/sparc64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
|
|
|
|
|
2000-06-18 10:57:15 +04:00
|
|
|
file arch/sparc/fpu/fpu.c
|
|
|
|
file arch/sparc/fpu/fpu_add.c
|
|
|
|
file arch/sparc/fpu/fpu_compare.c
|
|
|
|
file arch/sparc/fpu/fpu_div.c
|
|
|
|
file arch/sparc/fpu/fpu_explode.c
|
|
|
|
file arch/sparc/fpu/fpu_implode.c
|
|
|
|
file arch/sparc/fpu/fpu_mul.c
|
|
|
|
file arch/sparc/fpu/fpu_sqrt.c
|
|
|
|
file arch/sparc/fpu/fpu_subr.c
|
1998-06-20 08:58:50 +04:00
|
|
|
|
2004-03-21 17:07:01 +03:00
|
|
|
file arch/sparc/sparc/promlib.c
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/sparc64/autoconf.c
|
2011-06-06 05:16:48 +04:00
|
|
|
file arch/sparc64/sparc64/cache.c
|
2011-06-06 05:23:31 +04:00
|
|
|
file arch/sparc64/sparc64/clock.c
|
2008-11-19 21:35:57 +03:00
|
|
|
file arch/sparc64/sparc64/core_machdep.c coredump
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/sparc64/emul.c
|
|
|
|
file arch/sparc64/sparc64/intr.c
|
2001-11-20 09:00:09 +03:00
|
|
|
file arch/sparc64/sparc64/kgdb_machdep.c kgdb
|
2008-01-06 21:03:58 +03:00
|
|
|
file arch/sparc64/sparc64/kobj_machdep.c modular
|
2010-02-23 01:28:57 +03:00
|
|
|
# sparc64/sparc64/locore.s is handled specially in the makefile,
|
1998-06-20 08:58:50 +04:00
|
|
|
# because it must come first in the "ld" command line.
|
|
|
|
file arch/sparc64/sparc64/machdep.c
|
2010-03-07 02:26:10 +03:00
|
|
|
file arch/sparc64/sparc64/memcpyset.s
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/sparc64/process_machdep.c
|
2001-01-17 03:07:18 +03:00
|
|
|
file arch/sparc64/sparc64/procfs_machdep.c procfs
|
2004-03-21 17:25:51 +03:00
|
|
|
file arch/sparc/sparc/openprom.c
|
|
|
|
file arch/sparc/sparc/openfirm.c
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/sparc64/ofw_machdep.c
|
|
|
|
file arch/sparc64/sparc64/pmap.c
|
|
|
|
file arch/sparc64/sparc64/sys_machdep.c
|
2005-07-10 04:50:16 +04:00
|
|
|
file arch/sparc64/sparc64/syscall.c
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/sparc64/trap.c
|
|
|
|
file arch/sparc64/sparc64/vm_machdep.c
|
2004-03-14 21:18:54 +03:00
|
|
|
file arch/sparc64/sparc64/ipifuncs.c multiprocessor
|
2007-02-10 00:55:00 +03:00
|
|
|
file arch/sparc64/sparc64/lock_stubs.s
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
file arch/sparc64/sparc64/db_interface.c ddb | kgdb
|
2010-02-23 01:28:57 +03:00
|
|
|
file arch/sparc64/sparc64/db_trace.c ddb
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/sparc64/db_disasm.c ddb
|
2010-02-23 01:28:57 +03:00
|
|
|
file arch/sparc64/sparc64/db_tlb_access.S ddb
|
1998-06-20 08:58:50 +04:00
|
|
|
|
2001-04-13 20:26:41 +04:00
|
|
|
# USB Support
|
|
|
|
include "dev/usb/files.usb"
|
2001-10-26 03:07:50 +04:00
|
|
|
|
2006-09-10 23:49:28 +04:00
|
|
|
# Bluetooth Support
|
|
|
|
include "dev/bluetooth/files.bluetooth"
|
|
|
|
|
2001-04-13 20:26:41 +04:00
|
|
|
# IEEE1394 Support
|
|
|
|
include "dev/ieee1394/files.ieee1394"
|
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
#
|
|
|
|
# Compatibility modules
|
|
|
|
#
|
|
|
|
|
2003-01-06 16:26:24 +03:00
|
|
|
# Binary compatibility with previous NetBSD releases.
|
1998-09-17 08:52:17 +04:00
|
|
|
file arch/sparc64/sparc64/compat_13_machdep.c compat_13
|
2003-10-26 11:07:27 +03:00
|
|
|
file arch/sparc64/sparc64/compat_16_machdep.c compat_16
|
1998-09-17 08:52:17 +04:00
|
|
|
|
1999-06-05 20:55:19 +04:00
|
|
|
# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
|
1999-04-18 01:26:59 +04:00
|
|
|
include "compat/netbsd32/files.netbsd32"
|
1999-03-25 19:26:19 +03:00
|
|
|
file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
|
2001-06-07 01:19:48 +04:00
|
|
|
file arch/sparc64/sparc64/netbsd32_sigcode.s compat_netbsd32
|
1998-08-26 14:31:36 +04:00
|
|
|
|
1998-06-20 08:58:50 +04:00
|
|
|
# SVR4 Binary Compatibility (COMPAT_SVR4)
|
1999-04-18 01:26:59 +04:00
|
|
|
include "compat/svr4/files.svr4"
|
1998-06-20 08:58:50 +04:00
|
|
|
file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
|
2001-10-26 02:03:38 +04:00
|
|
|
file arch/sparc64/sparc64/svr4_sigcode64.s compat_svr4 & exec_elf64
|
1998-06-20 08:58:50 +04:00
|
|
|
|
2001-02-11 03:39:37 +03:00
|
|
|
# 32-bit SVR4 Binary Compatibility (COMPAT_SVR4_32)
|
|
|
|
include "compat/svr4_32/files.svr4_32"
|
|
|
|
file arch/sparc64/sparc64/svr4_32_machdep.c compat_svr4_32
|
2001-10-26 02:03:38 +04:00
|
|
|
file arch/sparc64/sparc64/svr4_32_sigcode.s compat_svr4_32 | (compat_svr4 & !exec_elf64)
|
2001-02-11 03:39:37 +03:00
|
|
|
|
2001-02-02 10:32:45 +03:00
|
|
|
# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
|
|
|
|
# (64-bit also depends on COMPAT_NETBSD32)
|
1999-04-18 01:26:59 +04:00
|
|
|
include "compat/sunos/files.sunos"
|
2001-06-07 01:19:48 +04:00
|
|
|
file arch/sparc64/sparc64/sunos_sigcode.s compat_sunos
|
2001-02-05 15:47:47 +03:00
|
|
|
file arch/sparc64/sparc64/sunos_machdep.c compat_sunos & !compat_netbsd32
|
2001-02-02 10:32:45 +03:00
|
|
|
include "compat/sunos32/files.sunos32"
|
2001-02-05 15:47:47 +03:00
|
|
|
file arch/sparc64/sparc64/sunos32_machdep.c compat_sunos & compat_netbsd32
|
1998-06-20 08:58:50 +04:00
|
|
|
|
|
|
|
# Miscellaneous
|
2002-01-22 00:56:57 +03:00
|
|
|
file dev/md_root.c memory_disk_hooks
|
2002-09-06 17:18:43 +04:00
|
|
|
|
|
|
|
include "arch/sparc64/conf/majors.sparc64"
|
2004-03-22 03:43:37 +03:00
|
|
|
|
|
|
|
# special compiler settings (no optimization if 32bit kernel)
|
|
|
|
file uvm/uvm_bio.c compile-with "${CC_NOOPT}"
|
2007-11-19 06:26:04 +03:00
|
|
|
|
|
|
|
# OpenFirmware convenience stuff
|
|
|
|
file dev/ofw/ofw_subr.c
|