summaryrefslogtreecommitdiffstats
path: root/include/linux/synclink.h
diff options
context:
space:
mode:
authorPaul Fulghum <paulkf@microgate.com>2008-07-22 11:21:39 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-22 13:03:29 -0700
commite5590717afd5fb6f494323206a1a35ea25610c2d (patch)
tree1f0109271b1b12d4eabe80e92ef75a011fecfd31 /include/linux/synclink.h
parent8a38c2851d6950502252982af712ac65ef6784ed (diff)
downloadop-kernel-dev-e5590717afd5fb6f494323206a1a35ea25610c2d.zip
op-kernel-dev-e5590717afd5fb6f494323206a1a35ea25610c2d.tar.gz
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>
Diffstat (limited to 'include/linux/synclink.h')
-rw-r--r--include/linux/synclink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/synclink.h b/include/linux/synclink.h
index 45f6bc8..c844a22 100644
--- a/include/linux/synclink.h
+++ b/include/linux/synclink.h
@@ -136,6 +136,7 @@
#define MGSL_INTERFACE_RTS_EN 0x10
#define MGSL_INTERFACE_LL 0x20
#define MGSL_INTERFACE_RL 0x40
+#define MGSL_INTERFACE_MSB_FIRST 0x80
typedef struct _MGSL_PARAMS
{
OpenPOWER on IntegriCloud