puc(4) timedia baudrate problem

Marcel Moolenaar xcllnt at mac.com
Wed Apr 28 19:34:59 UTC 2010


On Apr 27, 2010, at 10:10 PM, Artem Belevich wrote:

> I've got another PCI UART card based on OX16PCI952 that needs its
> clock multiplied by 8 in order to work correctly. It was some
> el-cheapo card I've got at Fry's.
> 
> puc0 at pci0:1:0:0:        class=0x070006 card=0x00011415 chip=0x95211415
> rev=0x00 hdr=0x00
>    vendor     = 'Oxford Semiconductor Ltd'
>    device     = 'OX16PCI952 Integrated Dual UART'
>    class      = simple comms
>    subclass   = UART
>    bar   [10] = type I/O Port, range 32, base 0xd480, size  8, enabled
>    bar   [14] = type I/O Port, range 32, base 0xd400, size  8, enabled
>    bar   [18] = type I/O Port, range 32, base 0xd080, size 32, enabled
>    bar   [1c] = type Memory, range 32, base 0xf9ffd000, size 4096, enabled
>    bar   [20] = type Memory, range 32, base 0xf9ffc000, size 4096, enabled
> 
> Perhaps we can add some sort of tunable to override UART clock, if necessary?

That's a good idea. I've seen with the Oxford that the RCLK can different
even for the same vendor/device ID. There's no way for us to do the right
thing. This may also be the case for Timedia chipsets...

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-stable mailing list