Timeda 8-multiport adapter: only 2 ports available

Marcel Moolenaar xcllnt at mac.com
Fri Dec 12 17:49:15 UTC 2008

On Dec 12, 2008, at 2:37 AM, Boris Samorodov wrote:

> I may say that SUN1889 uarts are initialized like default. And indeed
> two first ports work here. The card contains only one SUN1889 chip  
> (for
> two first ports). All other chips are SUN1699 which (better to say
> serial ports) should be initialized with the flag
> Don't know how/where to do it. :-(

Since it's puc(4) that has the visibility, it's puc(4)
that should pre-initialize the IER register for ports
that need special treatment. Then later when uart(4)
probes and attaches, we need to make sure that uart(4)
doesn't mess up the settings, but other than that it
does not need to know.

Unfortunately, there's no existing configuration command
for this sort of thing. In particular, you want to pass
the resource corresponding to the port to the config
function so that it can talk to the hardware without
kluges. The attached patch is a quick and dirty way to
program the ports. Can you see if it actually works and
if it makes a difference?

Marcel Moolenaar
xcllnt at mac.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: puc.diff
Type: application/octet-stream
Size: 1351 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20081212/9250a5c1/puc.obj

More information about the freebsd-current mailing list