From: Andrew Lunn Date: Wed, 19 Feb 2014 20:02:35 +0000 (+1000) Subject: Power: Reset: Generalize qnap-poweroff to work on Synology devices. X-Git-Tag: v3.15-rc1~76^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=200c0a3e404beab02be83e5cbf111d26b9f6ce22;p=pandora-kernel.git Power: Reset: Generalize qnap-poweroff to work on Synology devices. The Synology NAS devices use a very similar mechanism to QNAP NAS devices to power off. Both send a single charactor command to a PIC, over the second serial port. However the baud rate and the command differ. Generalize the driver to support this. Signed-off-by: Ben Peddell Signed-off-by: Andrew Lunn Acked-by: Jason Cooper Cc: Anton Vorontsov Cc: Dmitry Eremin-Solenikov Cc: David Woodhouse Signed-off-by: Jason Cooper --- Reading git-diff-tree failed