04ac7f705e
MPC824x-based systems. It registers the power button to sysmon and sets a reboot/shutdown callback for cpu_reboot(). Other functions can be controlled through /dev/satmgr. Currently there is support for KuroBox and Synology, which will be extended as soon more platforms have been reasearched. This patch was submitted by Toru Nishimura.
114 lines
2.5 KiB
Plaintext
114 lines
2.5 KiB
Plaintext
# $NetBSD: files.sandpoint,v 1.26 2010/05/29 22:47:02 phx Exp $
|
|
#
|
|
# Motorola's "SandPoint" evaluation board and multiplied descendents.
|
|
#
|
|
maxpartitions 16
|
|
|
|
maxusers 2 8 64
|
|
|
|
include "arch/powerpc/pic/files.pic"
|
|
|
|
file arch/sandpoint/sandpoint/machdep.c
|
|
file arch/sandpoint/sandpoint/autoconf.c
|
|
file arch/powerpc/powerpc/bus_dma.c
|
|
file arch/powerpc/powerpc/bus_space.c
|
|
file arch/powerpc/powerpc/procfs_machdep.c procfs
|
|
file arch/powerpc/powerpc/clock.c
|
|
file kern/subr_disk_mbr.c disk
|
|
file dev/cons.c
|
|
|
|
#
|
|
# Machine-independent SCSI drivers
|
|
#
|
|
include "dev/scsipi/files.scsipi"
|
|
|
|
#
|
|
# Machine-independent ATA drivers
|
|
#
|
|
|
|
include "dev/ata/files.ata"
|
|
|
|
#
|
|
# Memory Disk for install floppy
|
|
#
|
|
file dev/md_root.c memory_disk_hooks
|
|
|
|
#
|
|
# System bus types
|
|
#
|
|
define mainbus { }
|
|
device mainbus: isabus, pcibus, mainbus
|
|
attach mainbus at root
|
|
device cpu
|
|
attach cpu at mainbus
|
|
file arch/sandpoint/sandpoint/mainbus.c mainbus|cpu needs-flag
|
|
|
|
device eumb { [ unit = -1 ] }: mainbus
|
|
attach eumb at mainbus
|
|
file arch/sandpoint/sandpoint/eumb.c eumb
|
|
attach com at eumb with com_eumb
|
|
file arch/sandpoint/sandpoint/com_eumb.c com_eumb needs-flag
|
|
device ociic: i2cbus, i2cexec
|
|
attach ociic at eumb with iic_eumb
|
|
file arch/sandpoint/sandpoint/iic_eumb.c iic_eumb
|
|
|
|
#
|
|
# PCI-only drivers
|
|
# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
|
|
# XXX devices to 'pci'.
|
|
#
|
|
include "dev/i2o/files.i2o"
|
|
include "dev/pci/files.pci"
|
|
include "dev/pci/files.agp"
|
|
file arch/sandpoint/pci/pci_machdep.c pci
|
|
|
|
# PCI-Host bridge chipsets
|
|
device pchb: pcibus
|
|
attach pchb at pci
|
|
file arch/powerpc/pci/pchb.c pchb
|
|
|
|
# PCI-ISA bridges
|
|
device pcib: isabus
|
|
attach pcib at pci
|
|
file arch/powerpc/pci/pcib.c pcib needs-flag
|
|
|
|
file arch/sandpoint/pci/pciide_machdep.c pciide_common
|
|
|
|
#
|
|
# ISA and mixed ISA+PCI drivers
|
|
#
|
|
|
|
include "dev/isa/files.isa"
|
|
file arch/powerpc/isa/isa_machdep_common.c isa
|
|
file arch/powerpc/isa/isadma_machdep.c isa
|
|
|
|
# PC clock
|
|
file arch/sandpoint/isa/isaclock.c isa
|
|
|
|
include "dev/pckbport/files.pckbport"
|
|
|
|
# PC clock
|
|
device mcclock: mc146818
|
|
attach mcclock at isa with mcclock_isa
|
|
file arch/sandpoint/isa/mcclock_isa.c mcclock_isa
|
|
|
|
# Floppy disk controller
|
|
device fdc {drive = -1}: isadma
|
|
file dev/isa/fd.c fdc needs-flag
|
|
|
|
attach fdc at isa with fdc_isa
|
|
file dev/isa/fdc_isa.c fdc_isa
|
|
|
|
device fd: disk
|
|
attach fd at fdc
|
|
|
|
include "dev/usb/files.usb"
|
|
|
|
device satmgr: sysmon_power, sysmon_taskq
|
|
attach satmgr at eumb
|
|
file arch/sandpoint/sandpoint/satmgr.c satmgr
|
|
|
|
include "arch/powerpc/conf/majors.powerpc"
|
|
|
|
device-major satmgr char 100 satmgr
|