Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43676
b: refs/heads/master
c: a8b74de
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Dec 8, 2006
1 parent 07a01b2 commit 3989108
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: 2094e757afb9ecf2daf433e54e02b61f99bf487f
refs/heads/master: a8b74de92ef5b53d45d32934955cbb6e14812a5f
12 changes: 2 additions & 10 deletions trunk/drivers/char/mxser_new.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,17 @@
#define MXSERCUMAJOR 175

#define MXSER_EVENT_TXLOW 1
#define MXSER_EVENT_HANGUP 2

#define MXSER_BOARDS 4 /* Max. boards */
#define MXSER_PORTS 32 /* Max. ports */
#define MXSER_PORTS_PER_BOARD 8 /* Max. ports per board */
#define MXSER_PORTS (MXSER_BOARDS * MXSER_PORTS_PER_BOARD)
#define MXSER_ISR_PASS_LIMIT 99999L

#define MXSER_ERR_IOADDR -1
#define MXSER_ERR_IRQ -2
#define MXSER_ERR_IRQ_CONFLIT -3
#define MXSER_ERR_VECTOR -4

#define SERIAL_TYPE_NORMAL 1
#define SERIAL_TYPE_CALLOUT 2

#define WAKEUP_CHARS 256

#define UART_MCR_AFE 0x20
Expand Down Expand Up @@ -365,14 +361,10 @@ static void process_txrx_fifo(struct mxser_port *info)
static void mxser_do_softint(void *private_)
{
struct mxser_port *info = private_;
struct tty_struct *tty;

tty = info->tty;
struct tty_struct *tty = info->tty;

if (test_and_clear_bit(MXSER_EVENT_TXLOW, &info->event))
tty_wakeup(tty);
if (test_and_clear_bit(MXSER_EVENT_HANGUP, &info->event))
tty_hangup(tty);
}

static unsigned char mxser_get_msr(int baseaddr, int mode, int port)
Expand Down

0 comments on commit 3989108

Please sign in to comment.