NetBSD/sys/arch/sparc64/conf/files.sparc64
martin d65cbab3ff Connect the front panel power button on psycho based machines to sysmon's
/dev/power.

XXX - due to the way interrupt handling is structured we have no easy
way to defer clearing the button interrupt until the sysmon callback
has  happened and the event is dispatched. We clear it imediately on
return from the interrupt handler. This means we get an interrupt storm
until the button is released, and then start to handle it.
This needs to be fixed! (But with the default application for the power
button does not make a user visible difference.)
2003-04-21 12:14:19 +00:00

259 lines
6.6 KiB
Plaintext

# $NetBSD: files.sparc64,v 1.76 2003/04/21 12:14:19 martin Exp $
# @(#)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
defflag opt_sparc_arch.h SUN4U
#
# XXXXXXXXXXX
#
# These files must be compiled w/no omtimization in 64-bit mode
#
file dev/ic/elink3.c compile-with "${NOOPT_C}"
file net/if_ppp.c compile-with "${NOOPT_C}"
file net/if_loop.c compile-with "${NOOPT_C}"
file net/if_sl.c compile-with "${NOOPT_C}"
file ufs/lfs/lfs_debug.c compile-with "${NOOPT_C}"
#
# XXXXXXXXXXX
#
define mainbus {}
device mainbus: mainbus
attach mainbus at root
device pcons
attach pcons at mainbus
file arch/sparc64/dev/pcons.c pcons needs-flag
include "dev/sun/files.sun"
include "dev/i2o/files.i2o"
include "dev/sbus/files.sbus"
attach sbus at mainbus
file arch/sparc64/dev/sbus.c sbus
device psycho: pcibus, sysmon_power, sysmon_taskq
attach psycho at mainbus
include "dev/pci/files.pci"
file arch/sparc64/dev/psycho.c psycho
file arch/sparc64/dev/pci_machdep.c psycho
# IOMMU is for both
file arch/sparc64/dev/iommu.c sbus | psycho
include "dev/ata/files.ata"
device ebus {[addr = -1]}: pcibus
attach ebus at pci
file arch/sparc64/dev/ebus.c ebus
device clock: mk48txx
attach clock at mainbus, sbus with clock_sbus
attach clock at ebus with clock_ebus
device rtc
attach rtc at ebus with rtc_ebus
device timer
attach timer at mainbus, sbus
device eeprom
attach eeprom at sbus, ebus
file arch/sparc64/sparc64/clock.c
file dev/clock_subr.c
device power
attach power at sbus, ebus
file arch/sparc64/dev/power.c power
device cpu
attach cpu at mainbus
file arch/sparc64/sparc64/cpu.c
# XXX bogus; this is in dev/isa/files.isa. fix me please!
# XXX we should attach a `bpp'-style device here rather than
# `lpt' because the `bpp' driver supports DMA.
device lpt
file dev/ic/lpt.c lpt needs-flag
device auxio
attach auxio at ebus with auxio_ebus
attach auxio at sbus with auxio_sbus
file arch/sparc64/dev/auxio.c auxio
attach lpt at ebus with lpt_ebus
file arch/sparc64/dev/lpt_ebus.c lpt_ebus
device fdc {}
attach fdc at mainbus, sbus, ebus
# attach fdc at ebus
device fd: disk
attach fd at fdc
file dev/sun/fd.c fdc | fd needs-flag
file arch/sparc64/sparc64/bsd_fdintr.s fdc
attach audiocs at ebus with audiocs_ebus
file dev/ebus/cs4231_ebus.c audiocs_ebus
# PCMCIA bus (references fdc)
include "dev/pcmcia/files.pcmcia"
# CardBus Support
include "dev/cardbus/files.cardbus"
file arch/sparc64/sparc64/rbus_machdep.c cardbus
#
# Console related stuff
#
device zs {channel = -1}
attach zs at mainbus, sbus
file arch/sparc64/dev/zs.c zs needs-flag
file dev/ic/z8530sc.c zs
# siemens SAB82532; found on U5/U10/... for tty ports.
device sab {channel = -1}
attach sab at ebus
file arch/sparc64/dev/sab.c sab | sabtty needs-flag
#file arch/sparc64/dev/sab_ebus.c sab
#file dev/ic/sab82532.c sab
# "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
device zstty {}: tty
attach zstty at zs
file dev/ic/z8530tty.c zstty needs-flag
file arch/sparc/dev/zs_kgdb.c kgdb
device sabtty {}: tty
attach sabtty at sab
# file arch/sparc64/dev/sabtty.c sabtty needs-flag
file arch/sparc64/dev/kd.c kbd
attach kbd at zs with kbd_zs
attach kbd at zstty, com with kbd_tty
file dev/sun/kbd_zs.c kbd_zs
file dev/sun/sunkbd.c kbd_tty
file dev/sun/kbdsun.c kbd_zs | kbd_tty
attach ms at zs with ms_zs
attach ms at zstty, com with ms_tty
file dev/sun/ms_zs.c ms_zs
file dev/sun/sunms.c ms_tty
#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"
device cgfourteen
attach cgfourteen at sbus
file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
#
# Generic Sun stuff
#
file dev/cons.c
file arch/sparc64/dev/consinit.c
file kern/kern_microtime.c
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
file arch/sparc64/sparc64/autoconf.c
file arch/sparc64/sparc64/emul.c
file arch/sparc64/sparc64/in_cksum.S
file arch/sparc64/sparc64/in4_cksum.c inet
file arch/sparc64/sparc64/intr.c
file arch/sparc64/sparc64/kgdb_machdep.c kgdb
# sparc/sparc/locore.s is handled specially in the makefile,
# because it must come first in the "ld" command line.
file arch/sparc64/sparc64/machdep.c
file arch/sparc64/sparc64/process_machdep.c
file arch/sparc64/sparc64/procfs_machdep.c procfs
file arch/sparc64/sparc64/mem.c
file arch/sparc64/sparc64/openprom.c
file arch/sparc64/sparc64/openfirm.c
file arch/sparc64/sparc64/ofw_machdep.c
file arch/sparc64/sparc64/pmap.c
file arch/sparc64/sparc64/sys_machdep.c
file arch/sparc64/sparc64/trap.c
file arch/sparc64/sparc64/vm_machdep.c
file arch/sparc64/sparc64/disksubr.c
file arch/sparc64/sparc64/db_interface.c ddb | kgdb
file arch/sparc64/sparc64/db_trace.c ddb
file arch/sparc64/sparc64/db_disasm.c ddb
#
# Raster Console support
#
include "dev/wscons/files.wscons"
include "dev/wsfont/files.wsfont"
# USB Support
include "dev/usb/files.usb"
# IEEE1394 Support
include "dev/ieee1394/files.ieee1394"
#
# Compatibility modules
#
# Binary compatibility with previous NetBSD releases.
file arch/sparc64/sparc64/compat_13_machdep.c compat_13
# NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
include "compat/netbsd32/files.netbsd32"
file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
file arch/sparc64/sparc64/netbsd32_sigcode.s compat_netbsd32
# NetBSD a.out Binary Compatibility (COMPAT_AOUT)
include "compat/aout/files.aout"
# SVR4 Binary Compatibility (COMPAT_SVR4)
include "compat/svr4/files.svr4"
file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
file arch/sparc64/sparc64/svr4_sigcode64.s compat_svr4 & exec_elf64
# 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
file arch/sparc64/sparc64/svr4_32_sigcode.s compat_svr4_32 | (compat_svr4 & !exec_elf64)
# SunOS Binary Compatibility (COMPAT_SUNOS), 32-bit & 64-bit kernel
# (64-bit also depends on COMPAT_NETBSD32)
include "compat/sunos/files.sunos"
file arch/sparc64/sparc64/sunos_sigcode.s compat_sunos
file arch/sparc64/sparc64/sunos_machdep.c compat_sunos & !compat_netbsd32
include "compat/sunos32/files.sunos32"
file arch/sparc64/sparc64/sunos32_machdep.c compat_sunos & compat_netbsd32
# Miscellaneous
file netns/ns_cksum.c ns
file dev/md_root.c memory_disk_hooks
include "arch/sparc64/conf/majors.sparc64"