diff options
| -rw-r--r-- | drivers/char/synclink_gt.c | 2 | ||||
| -rw-r--r-- | include/linux/synclink.h | 1 |
2 files changed, 3 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) |
diff --git a/include/linux/synclink.h b/include/linux/synclink.h index 45f6bc82d317..c844a229acc9 100644 --- a/include/linux/synclink.h +++ b/include/linux/synclink.h | |||
| @@ -136,6 +136,7 @@ | |||
| 136 | #define MGSL_INTERFACE_RTS_EN 0x10 | 136 | #define MGSL_INTERFACE_RTS_EN 0x10 |
| 137 | #define MGSL_INTERFACE_LL 0x20 | 137 | #define MGSL_INTERFACE_LL 0x20 |
| 138 | #define MGSL_INTERFACE_RL 0x40 | 138 | #define MGSL_INTERFACE_RL 0x40 |
| 139 | #define MGSL_INTERFACE_MSB_FIRST 0x80 | ||
| 139 | 140 | ||
| 140 | typedef struct _MGSL_PARAMS | 141 | typedef struct _MGSL_PARAMS |
| 141 | { | 142 | { |
