Re: Timeda 8-multiport adapter: only 2 ports available

From: Marcel Moolenaar <xcllnt_at_mac.com>
Date: Wed, 10 Dec 2008 17:00:24 -0800
On Dec 10, 2008, at 4:02 PM, Boris Samorodov wrote:

> Seems that just the same card should work:
> http://lists.freebsd.org/pipermail/freebsd-stable/2008-May/042505.html
>
> I've added some diagnistic. But 'rid' is not what you want, I guess:

The RID is fine. It should always be 0.

*
> uart4: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0

> ns8250_probe: no errors, exiting
*
> uart4: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: no errors, exiting
*
> uart5: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: no errors, exiting
*
> uart5: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: no errors, exiting
*
> uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: got MCR wrong register, exiting with ENXIO
*
> uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: got MCR wrong register, exiting with ENXIO
*
> uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: got MCR wrong register, exiting with ENXIO
*
> uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: got MCR wrong register, exiting with ENXIO
*
> uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: got MCR wrong register, exiting with ENXIO
*
> uart6: /usr/src/sys/dev/uart/uart_core.c:374: continue with rid=0x0
> ns8250_probe: got MCR wrong register, exiting with ENXIO

It looks like the mapping is wrong. That is, uart(4) gets to
probe 8 ports but rejects 6. I would add debugging information
to puc(4) and in particular to where resources are assigned
to ports so that we can see what the BAR and offsets within the
BAR are for each port.

FYI,

-- 
Marcel Moolenaar
xcllnt_at_mac.com
Received on Thu Dec 11 2008 - 00:00:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC