> Can you look into filling in the sub-vendor fields?
Like this you mean? They're the same as the vendor and product fields.
Index: pucdata.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.100
diff -u -p -r1.100 pucdata.c
--- pucdata.c 26 Dec 2015 22:16:12 -0000 1.100
+++ pucdata.c 15 Jan 2016 17:18:39 -0000
@@ -1423,6 +1423,23 @@ const struct puc_device_description puc_
},
},
+ /* Moxa Technologies Co., Ltd. PCI I/O Card 8S RS232 */
+ { /* "Moxa Technologies, CP-168U" */
+ { PCI_VENDOR_MOXA, PCI_PRODUCT_MOXA_CP168U,
+ PCI_VENDOR_MOXA, PCI_PRODUCT_MOXA_CP168U },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_COM_POW2(3), 0x18, 0x0000 },
+ { PUC_COM_POW2(3), 0x18, 0x0008 },
+ { PUC_COM_POW2(3), 0x18, 0x0010 },
+ { PUC_COM_POW2(3), 0x18, 0x0018 },
+ { PUC_COM_POW2(3), 0x18, 0x0020 },
+ { PUC_COM_POW2(3), 0x18, 0x0028 },
+ { PUC_COM_POW2(3), 0x18, 0x0030 },
+ { PUC_COM_POW2(3), 0x18, 0x0038 },
+ },
+ },
+
/* NetMos 1P PCI: 1P */
{ /* "NetMos NM9805 1284 Printer Port" */
{ PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9805, 0, 0 },
pcidump -v
3:3:0: Moxa CP-168U
0x0000: Vendor ID: 1393 Product ID: 1681
0x0004: Command: 0001 Status: 0200
0x0008: Class: 07 Subclass: 00 Interface: 02 Revision: 00
0x000c: BIST: 00 Header Type: 00 Latency Timer: 20 Cache Line Size: 10
0x0010: BAR empty (00000000)
0x0014: BAR io addr: 0x0000dca0/0x0020
0x0018: BAR io addr: 0x0000dc40/0x0040
0x001c: BAR io addr: 0x0000dc20/0x0010
0x0020: BAR empty (00000000)
0x0024: BAR empty (00000000)
0x0028: Cardbus CIS: 00000000
0x002c: Subsystem Vendor ID: 1393 Product ID: 1681
0x0030: Expansion ROM Base Address: 00000000
0x0038: 00000000
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00