diff options
author | Paul Fulghum <paulkf@microgate.com> | 2008-07-22 06:21:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-22 16:03:29 -0400 |
commit | e5590717afd5fb6f494323206a1a35ea25610c2d (patch) | |
tree | 1f0109271b1b12d4eabe80e92ef75a011fecfd31 /drivers | |
parent | 8a38c2851d6950502252982af712ac65ef6784ed (diff) |
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 'drivers')
-rw-r--r-- | drivers/char/synclink_gt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 0e59cf54adaf..3cfc9e1f8882 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
@@ -4403,6 +4403,8 @@ static void msc_set_vcr(struct slgt_info *info) | |||
4403 | break; | 4403 | break; |
4404 | } | 4404 | } |
4405 | 4405 | ||
4406 | if (info->if_mode & MGSL_INTERFACE_MSB_FIRST) | ||
4407 | val |= BIT4; | ||
4406 | if (info->signals & SerialSignal_DTR) | 4408 | if (info->signals & SerialSignal_DTR) |
4407 | val |= BIT3; | 4409 | val |= BIT3; |
4408 | if (info->signals & SerialSignal_RTS) | 4410 | if (info->signals & SerialSignal_RTS) |