Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2010 12:34:57 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Artem Belevich <fbsdlist@src.cx>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: puc(4) timedia baudrate problem
Message-ID:  <89F0A5CD-D4EB-447C-801F-A3BF750FB475@mac.com>
In-Reply-To: <s2hed91d4a81004272210xb7378c0aj32b335be7f3124d7@mail.gmail.com>
References:  <20100427194725.GA14112@psconsult.nl> <EA6AB901-0E63-4F48-A660-3A96B421C5F8@mac.com> <s2hed91d4a81004272210xb7378c0aj32b335be7f3124d7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89F0A5CD-D4EB-447C-801F-A3BF750FB475>