Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2010 22:10:17 -0700
From:      Artem Belevich <fbsdlist@src.cx>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: puc(4) timedia baudrate problem
Message-ID:  <s2hed91d4a81004272210xb7378c0aj32b335be7f3124d7@mail.gmail.com>
In-Reply-To: <EA6AB901-0E63-4F48-A660-3A96B421C5F8@mac.com>
References:  <20100427194725.GA14112@psconsult.nl> <EA6AB901-0E63-4F48-A660-3A96B421C5F8@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D0x070006 card=3D0x00011415 chip=3D0x9521141=
5
rev=3D0x00 hdr=3D0x00
    vendor     =3D 'Oxford Semiconductor Ltd'
    device     =3D 'OX16PCI952 Integrated Dual UART'
    class      =3D simple comms
    subclass   =3D UART
    bar   [10] =3D type I/O Port, range 32, base 0xd480, size  8, enabled
    bar   [14] =3D type I/O Port, range 32, base 0xd400, size  8, enabled
    bar   [18] =3D type I/O Port, range 32, base 0xd080, size 32, enabled
    bar   [1c] =3D type Memory, range 32, base 0xf9ffd000, size 4096, enabl=
ed
    bar   [20] =3D type Memory, range 32, base 0xf9ffc000, size 4096, enabl=
ed

Perhaps we can add some sort of tunable to override UART clock, if necessar=
y?

--Artem



On Tue, Apr 27, 2010 at 9:46 PM, Marcel Moolenaar <xcllnt@mac.com> wrote:
>
> On Apr 27, 2010, at 12:47 PM, Paul Schenkeveld wrote:
>
>> =A0 =A0puc0: <Timedia technology 8 Port Serial> port 0xe500-0xe51f,0xe52=
0-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f irq 10 at =
device 14.0 on pci0
> *snip*
>> The first two ports work correctly but the baudrate of the other six
>> is incorrect, i.e. I have to use 'tip -76800 uart5' to get the port
>> to communicate at 9600 baud. =A0I 'know' that this particular hardware
>> has a baudrate multiplier on the first two ports but not on the other
>> six.
> *snip*
>
> Can you show me the output of ``pciconf -lbv'' for this device so that
> I can create a patch for you to test?
>
> Also: do you happen to know if all 8-port Timedia cards have a non-
> uniform RCLK or only a select set (maybe only yours)?
>
> Thanks,
>
> --
> Marcel Moolenaar
> xcllnt@mac.com
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?s2hed91d4a81004272210xb7378c0aj32b335be7f3124d7>