Timeda 8-multiport adapter: only 2 ports available
Marcel Moolenaar
xcllnt at mac.com
Thu Dec 11 01:00:29 UTC 2008
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
More information about the freebsd-current
mailing list