Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54600
b: refs/heads/master
c: e97cb3e
h: refs/heads/master
v: v3
  • Loading branch information
Len Sorensen authored and Linus Torvalds committed May 8, 2007
1 parent 2a30d43 commit c72fc8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3c04c27251c4d064f16846c305cbc1ff2f5b5fbe
refs/heads/master: e97cb3e28ce2fdd3b06a65f67d00462d86929008
7 changes: 6 additions & 1 deletion trunk/drivers/serial/jsm/jsm_neo.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,13 @@ static void neo_parse_modem(struct jsm_channel *ch, u8 signals)
return;

/* Scrub off lower bits. They signify delta's, which I don't care about */
msignals &= 0xf0;
/* Keep DDCD and DDSR though */
msignals &= 0xf8;

if (msignals & UART_MSR_DDCD)
uart_handle_dcd_change(&ch->uart_port, msignals & UART_MSR_DCD);
if (msignals & UART_MSR_DDSR)
uart_handle_cts_change(&ch->uart_port, msignals & UART_MSR_CTS);
if (msignals & UART_MSR_DCD)
ch->ch_mistat |= UART_MSR_DCD;
else
Expand Down

0 comments on commit c72fc8f

Please sign in to comment.