[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:
> Unless I'm (well, actually it's not me but my hardware guy helped me
> reading the source ;) mis-reading, INTC gets UART Lite interrupt with
> FDC.
>
> Even if you clear FDC while C is asserted with level, you won't get
> signal.
It should be easy to test - drop a printk in the top of the uartlite
interrupt handler, and trigger the error condition - either it prints
nothing, or fills the screen. A good exercise, help to understand the
behaviour of the intc.
>>Have you tried copy and pasting a large chunk of text into a terminal
>>window after your fix? That usually is a good way to hang the serial
>>driver...
>
> yup, i did that, and the patch fix the problem.
Well really that's all that matters! Great job spotting and fixing
this. I'll check on mbvanilla (and hopefully Jozsef too), and get it
into CVS next week.
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/