[Soekris] fixing a PUC / uart speed issue (4511)

Mike Tancsa mike at sentex.net
Sat Mar 24 04:52:08 UTC 2007


Hi,
I have a mini-pci UART that has a problem with its speed on 
FreeBSD.  When I connect to it at 300bps the other side sees this as 
1200.  e.g.

Other PC   PUC device
4800       1200
9600       2400
19200      4800

Its a mini-pci card on a soekris 4511 and dmesg on a RELENG_6 box shows

puc0: <Oxford Semiconductor OX16PCI954 UARTs> port 
0xe000-0xe01f,0xe020-0xe03f mem 
0xa0000000-0xa0000fff,0xa0001000-0xa0001fff irq 10 at device 16.0 on pci0
uart4: <16950 or compatible> on puc0
uart5: <16950 or compatible> on puc0
uart6: <16950 or compatible> on puc0
uart7: <16950 or compatible> on puc0


puc0 at pci0:16:0: class=0x070006 card=0x00000000 chip=0x95011415 
rev=0x00 hdr=0x00
     vendor     = 'Oxford Semiconductor Ltd'
     device     = 'OX16PCI954 Quad UART'
     class      = simple comms
     subclass   = UART
     cap 01[40] = powerspec 1  supports D0 D2 D3  current D0
none0 at pci0:16:1:        class=0x068000 card=0x00000000 
chip=0x95101415 rev=0x00 hdr=0x00
     vendor     = 'Oxford Semiconductor Ltd'
     device     = 'OX16PCI954 PCI Interface (disabled)'
     class      = bridge
     cap 01[40] = powerspec 1  supports D0 D2 D3  current D0


product specs at
http://www.commell.com.tw/Product/Peripheral/MiniPCI/MP-954.HTM



I am guessing something needs to be changed in the puc driver for it ?

        /* Oxford Semiconductor OX16PCI954 PCI UARTs */
         {   "Oxford Semiconductor OX16PCI954 UARTs",
             {   0x1415, 0x9501, 0,      0       },
             {   0xffff, 0xffff, 0,      0       },
             {
                 { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
                 { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ },
                 { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ },
                 { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ },
             },
         },


but what ?

Other than this odd speed issue, the card seems to work fine.  Any 
pointers appreciated.

Thanks,

         ---Mike


--------------------------------------------------------------------
Mike Tancsa,                                      tel +1 519 651 3400
Sentex Communications,                            mike at sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike



More information about the Soekris-tech mailing list