Hello,

Here's the patch for I-O DATA RSA-PCI2, OX16PCI954-based high speed 2 port
UART card (max 921600bps).

http://www.iodata.jp/product/interface/rs232c/rsa-pci2/ (Japanese)

The card uses 14.7456MHz clock so I have to modify pucdata.c.

ok or comment?

----
Index: pucdata.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.82
diff -u -p -r1.82 pucdata.c
--- pucdata.c   12 May 2012 15:54:54 -0000      1.82
+++ pucdata.c   11 Jul 2012 10:46:45 -0000
@@ -963,6 +963,17 @@ const struct puc_device_description puc_
            },
        },
 
+       /* I-O DATA RSA-PCI2 (uses Oxford 16PCI954 and a 8x clock) */
+       {   /* "Oxford Semiconductor OX16PCI954 UARTs", */
+           {   PCI_VENDOR_OXFORD2, PCI_PRODUCT_OXFORD2_OX16PCI954,
+               PCI_VENDOR_IODATA, 0xc070 },
+           {   0xffff, 0xffff, 0xffff, 0xffff },
+           {
+               { PUC_COM_POW2(3), 0x10, 0x0000 },
+               { PUC_COM_POW2(3), 0x10, 0x0008 },
+           },
+       },
+
        /* Oxford Semiconductor OX16PCI954 PCI UARTs */
        {   /* "Oxford Semiconductor OX16PCI954 UARTs", */
            {   PCI_VENDOR_OXFORD2, PCI_PRODUCT_OXFORD2_OX16PCI954,     0, 0 },

----

By the way, does someone know how to use over 230400bps?
I cannot find B460800 and B921600 in <termios.h>.

Regards,
----
SASANO Takayoshi <u...@mx5.nisiq.net>

Reply via email to