puc(4) timedia baudrate problem
fbsdlist at src.cx
Wed Apr 28 05:10:25 UTC 2010
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
vendor = 'Oxford Semiconductor Ltd'
device = 'OX16PCI952 Integrated Dual UART'
class = simple comms
subclass = UART
bar  = type I/O Port, range 32, base 0xd480, size 8, enabled
bar  = type I/O Port, range 32, base 0xd400, size 8, enabled
bar  = type I/O Port, range 32, base 0xd080, size 32, enabled
bar [1c] = type Memory, range 32, base 0xf9ffd000, size 4096, enabled
bar  = type Memory, range 32, base 0xf9ffc000, size 4096, enabled
Perhaps we can add some sort of tunable to override UART clock, if necessary?
On Tue, Apr 27, 2010 at 9:46 PM, Marcel Moolenaar <xcllnt at mac.com> wrote:
> On Apr 27, 2010, at 12:47 PM, Paul Schenkeveld wrote:
>> puc0: <Timedia technology 8 Port Serial> port 0xe500-0xe51f,0xe520-0xe52f,0xe530-0xe537,0xe538-0xe53f,0xe540-0xe547,0xe548-0xe54f irq 10 at device 14.0 on pci0
>> 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. I 'know' that this particular hardware
>> has a baudrate multiplier on the first two ports but not on the other
> 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)?
> Marcel Moolenaar
> xcllnt at mac.com
> freebsd-stable at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
More information about the freebsd-stable