Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5122
b: refs/heads/master
c: c223695
h: refs/heads/master
v: v3
  • Loading branch information
V. ANANDA KRISHNAN authored and Linus Torvalds committed Jul 27, 2005
1 parent 58fcefb commit ec5fb23
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 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: 9539c1d495c8d92837e7b6382a1219ac275b94b2
refs/heads/master: c223695634fb360ed65e5a811161853a05e46962
2 changes: 1 addition & 1 deletion trunk/drivers/serial/jsm/jsm.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ enum {
#define WRITEBUFLEN ((4096) + 4)
#define MYFLIPLEN N_TTY_BUF_SIZE

#define JSM_VERSION "jsm: 1.1-1-INKERNEL"
#define JSM_VERSION "jsm: 1.2-1-INKERNEL"
#define JSM_PARTNUM "40002438_A-INKERNEL"

struct jsm_board;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/serial/jsm/jsm_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* Scott H Kilau <Scott_Kilau@digi.com>
* Wendy Xiong <wendyx@us.ltcfwd.linux.ibm.com>
*
*
***********************************************************************/
#include <linux/moduleparam.h>
#include <linux/pci.h>
Expand Down
30 changes: 18 additions & 12 deletions trunk/drivers/serial/jsm/jsm_neo.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ static inline void neo_pci_posting_flush(struct jsm_board *bd)

static void neo_set_cts_flow_control(struct jsm_channel *ch)
{
u8 ier = readb(&ch->ch_neo_uart->ier);
u8 efr = readb(&ch->ch_neo_uart->efr);
u8 ier, efr;
ier = readb(&ch->ch_neo_uart->ier);
efr = readb(&ch->ch_neo_uart->efr);

jsm_printk(PARAM, INFO, &ch->ch_bd->pci_dev, "Setting CTSFLOW\n");

Expand Down Expand Up @@ -78,8 +79,9 @@ static void neo_set_cts_flow_control(struct jsm_channel *ch)

static void neo_set_rts_flow_control(struct jsm_channel *ch)
{
u8 ier = readb(&ch->ch_neo_uart->ier);
u8 efr = readb(&ch->ch_neo_uart->efr);
u8 ier, efr;
ier = readb(&ch->ch_neo_uart->ier);
efr = readb(&ch->ch_neo_uart->efr);

jsm_printk(PARAM, INFO, &ch->ch_bd->pci_dev, "Setting RTSFLOW\n");

Expand Down Expand Up @@ -117,8 +119,9 @@ static void neo_set_rts_flow_control(struct jsm_channel *ch)

static void neo_set_ixon_flow_control(struct jsm_channel *ch)
{
u8 ier = readb(&ch->ch_neo_uart->ier);
u8 efr = readb(&ch->ch_neo_uart->efr);
u8 ier, efr;
ier = readb(&ch->ch_neo_uart->ier);
efr = readb(&ch->ch_neo_uart->efr);

jsm_printk(PARAM, INFO, &ch->ch_bd->pci_dev, "Setting IXON FLOW\n");

Expand Down Expand Up @@ -153,8 +156,9 @@ static void neo_set_ixon_flow_control(struct jsm_channel *ch)

static void neo_set_ixoff_flow_control(struct jsm_channel *ch)
{
u8 ier = readb(&ch->ch_neo_uart->ier);
u8 efr = readb(&ch->ch_neo_uart->efr);
u8 ier, efr;
ier = readb(&ch->ch_neo_uart->ier);
efr = readb(&ch->ch_neo_uart->efr);

jsm_printk(PARAM, INFO, &ch->ch_bd->pci_dev, "Setting IXOFF FLOW\n");

Expand Down Expand Up @@ -190,8 +194,9 @@ static void neo_set_ixoff_flow_control(struct jsm_channel *ch)

static void neo_set_no_input_flow_control(struct jsm_channel *ch)
{
u8 ier = readb(&ch->ch_neo_uart->ier);
u8 efr = readb(&ch->ch_neo_uart->efr);
u8 ier, efr;
ier = readb(&ch->ch_neo_uart->ier);
efr = readb(&ch->ch_neo_uart->efr);

jsm_printk(PARAM, INFO, &ch->ch_bd->pci_dev, "Unsetting Input FLOW\n");

Expand Down Expand Up @@ -228,8 +233,9 @@ static void neo_set_no_input_flow_control(struct jsm_channel *ch)

static void neo_set_no_output_flow_control(struct jsm_channel *ch)
{
u8 ier = readb(&ch->ch_neo_uart->ier);
u8 efr = readb(&ch->ch_neo_uart->efr);
u8 ier, efr;
ier = readb(&ch->ch_neo_uart->ier);
efr = readb(&ch->ch_neo_uart->efr);

jsm_printk(PARAM, INFO, &ch->ch_bd->pci_dev, "Unsetting Output FLOW\n");

Expand Down

0 comments on commit ec5fb23

Please sign in to comment.