diff options
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/68328serial.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/tty/serial/68328serial.c b/drivers/tty/serial/68328serial.c index c1cd2147f9dd..81ed91ed7386 100644 --- a/drivers/tty/serial/68328serial.c +++ b/drivers/tty/serial/68328serial.c | |||
@@ -73,11 +73,6 @@ static unsigned int uart_irqs[NR_PORTS] = UART_IRQ_DEFNS; | |||
73 | /* multiple ports are contiguous in memory */ | 73 | /* multiple ports are contiguous in memory */ |
74 | m68328_uart *uart_addr = (m68328_uart *)USTCNT_ADDR; | 74 | m68328_uart *uart_addr = (m68328_uart *)USTCNT_ADDR; |
75 | 75 | ||
76 | struct tty_struct m68k_ttys; | ||
77 | struct m68k_serial *m68k_consinfo = 0; | ||
78 | |||
79 | #define M68K_CLOCK (16667000) /* FIXME: 16MHz is likely wrong */ | ||
80 | |||
81 | struct tty_driver *serial_driver; | 76 | struct tty_driver *serial_driver; |
82 | 77 | ||
83 | static void change_speed(struct m68k_serial *info); | 78 | static void change_speed(struct m68k_serial *info); |
@@ -132,17 +127,6 @@ static int baud_table[] = { | |||
132 | 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, | 127 | 0, 50, 75, 110, 134, 150, 200, 300, 600, 1200, 1800, 2400, 4800, |
133 | 9600, 19200, 38400, 57600, 115200, 0 }; | 128 | 9600, 19200, 38400, 57600, 115200, 0 }; |
134 | 129 | ||
135 | /* Sets or clears DTR/RTS on the requested line */ | ||
136 | static inline void m68k_rtsdtr(struct m68k_serial *ss, int set) | ||
137 | { | ||
138 | if (set) { | ||
139 | /* set the RTS/CTS line */ | ||
140 | } else { | ||
141 | /* clear it */ | ||
142 | } | ||
143 | return; | ||
144 | } | ||
145 | |||
146 | /* Utility routines */ | 130 | /* Utility routines */ |
147 | static inline int get_baud(struct m68k_serial *ss) | 131 | static inline int get_baud(struct m68k_serial *ss) |
148 | { | 132 | { |
@@ -1104,9 +1088,6 @@ static int block_til_ready(struct tty_struct *tty, struct file * filp, | |||
1104 | info->count--; | 1088 | info->count--; |
1105 | info->blocked_open++; | 1089 | info->blocked_open++; |
1106 | while (1) { | 1090 | while (1) { |
1107 | local_irq_disable(); | ||
1108 | m68k_rtsdtr(info, 1); | ||
1109 | local_irq_enable(); | ||
1110 | current->state = TASK_INTERRUPTIBLE; | 1091 | current->state = TASK_INTERRUPTIBLE; |
1111 | if (tty_hung_up_p(filp) || | 1092 | if (tty_hung_up_p(filp) || |
1112 | !(info->flags & ASYNC_INITIALIZED)) { | 1093 | !(info->flags & ASYNC_INITIALIZED)) { |