puc0 at pci1 dev 18 function 0 "Nanjing QinHeng Electronics CH351" rev 0x0f: 
ports: 2 com
com0 at puc0 port 0 irq 52: ns16550a, 16 byte fifo
com1 at puc0 port 1 irq 52: ns16550a, 16 byte fifo

Index: pcidevs
===================================================================
RCS file: /OpenBSD/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1751
diff -u -p -r1.1751 pcidevs
--- pcidevs     6 Dec 2014 02:47:16 -0000       1.1751
+++ pcidevs     7 Dec 2014 03:38:57 -0000
@@ -4810,6 +4810,7 @@ product MUTECH MV1000             0x0001  MV1000
 
 /* Nanjing QinHeng Electronics products */
 product WCH CH352              0x3253  CH352
+product WCH2 CH351             0x2273  CH351
 product WCH2 CH382_1           0x3253  CH382
 product WCH2 CH382_2           0x3250  CH382
 
Index: pucdata.c
===================================================================
RCS file: /OpenBSD/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.94
diff -u -p -r1.94 pucdata.c
--- pucdata.c   22 Sep 2014 21:16:20 -0000      1.94
+++ pucdata.c   7 Dec 2014 03:38:58 -0000
@@ -2072,6 +2072,14 @@ const struct puc_device_description puc_
                { PUC_COM_POW2(0), 0x10, 0x0000 },
            },
        },
+       {   /* "WinChipHead CH351 (2S)", */
+           {   PCI_VENDOR_WCH2, PCI_PRODUCT_WCH2_CH351,        0, 0    },
+           {   0xffff, 0xffff,                                 0, 0    },
+           {
+               { PUC_COM_POW2(0), 0x10, 0x0000 },
+               { PUC_COM_POW2(0), 0x14, 0x0000 },
+           },
+       },
        {   /* "WinChipHead CH352", */
            {   PCI_VENDOR_WCH, PCI_PRODUCT_WCH_CH352,          0, 0    },
            {   0xffff, 0xffff,                                 0, 0    },

Reply via email to