[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] [patch] valid data left in rx fifo: no moreinterrupts
Hi Yashi,
Yasushi SHOJI wrote:
> In the course of reading interrupt handler in microblaze arch, I found
> a bug in xmbserial.c
[snip]
> what we sould do is to drop any data in the RX FIFO when flip buffer
> is full, instead of breaking out from while loop.
>
> Attached patch is a minimal patch to fix the problem; No error
> handling yet.
I finally had a chance to test this patch, but still get the error of
the serial driver hanging if you dump a large amount of text into it.
Logically, I think your patch is correct, but I'm wondering if there's
not something else in there that is causing a problem.
What do you think?
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/