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>
This commit is contained in:
Paul Fulghum
2008-07-22 11:21:39 +01:00
committed by Linus Torvalds
부모 8a38c2851d
커밋 e5590717af
2개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@@ -4403,6 +4403,8 @@ static void msc_set_vcr(struct slgt_info *info)
break;
}
if (info->if_mode & MGSL_INTERFACE_MSB_FIRST)
val |= BIT4;
if (info->signals & SerialSignal_DTR)
val |= BIT3;
if (info->signals & SerialSignal_RTS)