Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

synclink_gt: add serial bit order control

Add control of hardware serial bit order between LSB first
(default/standard) and MSB first.

Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Paul Fulghum and committed by
Linus Torvalds
e5590717 8a38c285

+3
+1
include/linux/synclink.h
··· 136 136 #define MGSL_INTERFACE_RTS_EN 0x10 137 137 #define MGSL_INTERFACE_LL 0x20 138 138 #define MGSL_INTERFACE_RL 0x40 139 + #define MGSL_INTERFACE_MSB_FIRST 0x80 139 140 140 141 typedef struct _MGSL_PARAMS 141 142 {