]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] Orion: implement power-off method for QNAP TS-109/209
authorHerbert Valerio Riedel <hvr@gnu.org>
Sun, 16 Dec 2007 16:42:31 +0000 (17:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:04:04 +0000 (15:04 +0000)
commit8f86dda3ed8f05748f2351ae967926227a91ca2a
treed6a5c23676d3c9fca7171b77911f28718e562e35
parent3faf2ee870c26f6a809af3f32368f96c357ed91b
[ARM] Orion: implement power-off method for QNAP TS-109/209

Since the PIC is attached to UART1, it doesn't need a kernel device driver
of its own; but powering off is something that the kernel should do, so
this patch forcefully configures the UART1 for 19200 baud and sends the
character that tells the PIC to cut the power.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Cc: Byron Bradley <byron.bbradley@gmail.com>
Acked-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-orion/ts209-setup.c