Messages in this thread |  | | | Date | Tue, 28 Sep 2004 22:16:00 +0100 | | From | Russell King <> | | Subject | Re: Serial driver hangs |
| |
On Tue, Sep 28, 2004 at 04:10:31PM -0500, Paul Fulghum wrote: > On Tue, 2004-09-28 at 10:34, Roland CaÃebohm wrote: > > I have tried just to read all byte left in the FIFO of the > > UART in that case and throw them away. > > In my opinion, this is the correct way to handle the problem. > This is what I do in the SyncLink drivers.
Some 16x50 ports (most of the ones higher than 16550A) have auto flow control, so if this is enabled you really don't want to drop bytes in the FIFO on the floor.
-- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |