]> git.baikalelectronics.ru Git - kernel.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)
commit5669cda145405812ac0164b447dbc0cbaed61a33
treed6a5c23676d3c9fca7171b77911f28718e562e35
parent2663180f5e21015eccbb2a1ce024bf2f315ef697
[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