diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2006-03-14 18:05:45 -0500 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2006-03-14 18:05:45 -0500 |
commit | c5111f504d2a9b0d258d7c4752b4093523315989 (patch) | |
tree | 6a52864aff79691689aea21cb0cb928327d5de5b /drivers/serial/mcfserial.c | |
parent | 69eb66d7da7dba2696281981347698e1693c2340 (diff) | |
parent | a488edc914aa1d766a4e2c982b5ae03d5657ec1b (diff) |
Merge with /home/shaggy/git/linus-clean/
Diffstat (limited to 'drivers/serial/mcfserial.c')
-rw-r--r-- | drivers/serial/mcfserial.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/drivers/serial/mcfserial.c b/drivers/serial/mcfserial.c index d957a3a9edf1..8cbbb954df2c 100644 --- a/drivers/serial/mcfserial.c +++ b/drivers/serial/mcfserial.c | |||
@@ -57,20 +57,16 @@ struct timer_list mcfrs_timer_struct; | |||
57 | * keep going. Perhaps one day the cflag settings for the | 57 | * keep going. Perhaps one day the cflag settings for the |
58 | * console can be used instead. | 58 | * console can be used instead. |
59 | */ | 59 | */ |
60 | #if defined(CONFIG_ARNEWSH) || defined(CONFIG_FREESCALE) || \ | ||
61 | defined(CONFIG_senTec) || defined(CONFIG_SNEHA) | ||
62 | #define CONSOLE_BAUD_RATE 19200 | ||
63 | #define DEFAULT_CBAUD B19200 | ||
64 | #endif | ||
65 | |||
66 | #if defined(CONFIG_HW_FEITH) | 60 | #if defined(CONFIG_HW_FEITH) |
67 | #define CONSOLE_BAUD_RATE 38400 | 61 | #define CONSOLE_BAUD_RATE 38400 |
68 | #define DEFAULT_CBAUD B38400 | 62 | #define DEFAULT_CBAUD B38400 |
69 | #endif | 63 | #elif defined(CONFIG_MOD5272) || defined(CONFIG_M5208EVB) |
70 | |||
71 | #if defined(CONFIG_MOD5272) || defined(CONFIG_M5208EVB) | ||
72 | #define CONSOLE_BAUD_RATE 115200 | 64 | #define CONSOLE_BAUD_RATE 115200 |
73 | #define DEFAULT_CBAUD B115200 | 65 | #define DEFAULT_CBAUD B115200 |
66 | #elif defined(CONFIG_ARNEWSH) || defined(CONFIG_FREESCALE) || \ | ||
67 | defined(CONFIG_senTec) || defined(CONFIG_SNEHA) | ||
68 | #define CONSOLE_BAUD_RATE 19200 | ||
69 | #define DEFAULT_CBAUD B19200 | ||
74 | #endif | 70 | #endif |
75 | 71 | ||
76 | #ifndef CONSOLE_BAUD_RATE | 72 | #ifndef CONSOLE_BAUD_RATE |
@@ -350,8 +346,7 @@ static inline void receive_chars(struct mcf_serial *info) | |||
350 | } | 346 | } |
351 | tty_insert_flip_char(tty, ch, flag); | 347 | tty_insert_flip_char(tty, ch, flag); |
352 | } | 348 | } |
353 | 349 | tty_schedule_flip(tty); | |
354 | schedule_work(&tty->flip.work); | ||
355 | return; | 350 | return; |
356 | } | 351 | } |
357 | 352 | ||