Re: serial: 8250 fails to detect Exar XR16L2551 correctly

From: Alex Williamson
Date: Mon Jul 11 2005 - 16:21:41 EST


On Mon, 2005-07-11 at 21:17 +0100, Russell King wrote:
> On Mon, Jul 11, 2005 at 02:00:57PM -0600, Alex Williamson wrote:
> > On Mon, 2005-07-11 at 20:46 +0100, Russell King wrote:
> > > There was a bug in this area - does it happen with latest and greatest
> > > kernels?
> >
> > Yes, I'm using a git pull from ~5hrs ago. How recent was the bug
> > fix? It worked fine before I applied David's patch, the A2 UART was
> > detected as a 16550A. Thanks,
>
> The fix for this went in on 21st May 2005, so obviously it's not
> actually fixed.

No, I think this is a problem with the broken A2 UARTs getting
confused in serial8250_set_sleep(). If I remove either UART_CAP_SLEEP
or UART_CAP_EFR from the capabilities list for this UART, it behaves
normally. Also, just commenting out the UART_CAP_EFR chunks of
set_sleep make it behave. I'll ping Exar for more data. Thanks,

Alex

--
Alex Williamson HP Linux & Open Source Lab

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/