Digi Neo 8 PCIe

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Digi Neo 8 PCIe

Hugo Lombard
Hi

The patch below made a Digi Neo 8 PCIe adapter work for me.  Not stress
tested, just basic loopback and connecting to the on-board serial as
console.

Change in dmesg:

  -vendor "Digi", unknown product 0x00f0 (class communications subclass serial, rev 0x02) at pci14 dev 0 function 0 not configured
  +puc4 at pci14 dev 0 function 0 "Digi Neo-8 PCIe" rev 0x02: ports: 8 com
  +com8 at puc4 port 0 apic 0 int 19: ns16550a, 16 byte fifo
  +com8: probed fifo depth: 0 bytes
  +com9 at puc4 port 1 apic 0 int 19: ns16550a, 16 byte fifo
  +com9: probed fifo depth: 0 bytes
  +com10 at puc4 port 2 apic 0 int 19: ns16550a, 16 byte fifo
  +com10: probed fifo depth: 0 bytes
  +com11 at puc4 port 3 apic 0 int 19: ns16550a, 16 byte fifo
  +com11: probed fifo depth: 0 bytes
  +com12 at puc4 port 4 apic 0 int 19: ns16550a, 16 byte fifo
  +com12: probed fifo depth: 0 bytes
  +com13 at puc4 port 5 apic 0 int 19: ns16550a, 16 byte fifo
  +com13: probed fifo depth: 0 bytes
  +com14 at puc4 port 6 apic 0 int 19: ns16550a, 16 byte fifo
  +com14: probed fifo depth: 0 bytes
  +com15 at puc4 port 7 apic 0 int 19: ns16550a, 16 byte fifo
  +com15: probed fifo depth: 0 bytes

Regards


Index: sys/dev/pci/pcidevs
===================================================================
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1672
diff -u -p -r1.1672 pcidevs
--- sys/dev/pci/pcidevs 4 Apr 2013 23:05:48 -0000 1.1672
+++ sys/dev/pci/pcidevs 21 Apr 2013 17:57:42 -0000
@@ -5267,6 +5267,7 @@ product SANGOMA A10X 0x0300 A10x
 /* Digi International */
 product DIGI NEO4 0x00b0 Neo-4
 product DIGI NEO8 0x00b1 Neo-8
+product DIGI NEO8_PCIE 0x00f0 Neo-8 PCIe
 
 /* Schneider & Koch (SysKonnect) */
 product SCHNEIDERKOCH FDDI 0x4000 FDDI
Index: sys/dev/pci/pucdata.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.86
diff -u -p -r1.86 pucdata.c
--- sys/dev/pci/pucdata.c 8 Jan 2013 02:30:25 -0000 1.86
+++ sys/dev/pci/pucdata.c 21 Apr 2013 17:57:42 -0000
@@ -1777,6 +1777,22 @@ const struct puc_device_description puc_
     },
  },
 
+ /* Digi International Digi Neo 8 PCIe Serial */
+ {
+    { PCI_VENDOR_DIGI, PCI_PRODUCT_DIGI_NEO8_PCIE, 0, 0  },
+    { 0xffff, 0xffff, 0, 0  },
+    {
+ { PUC_COM_POW2(3), 0x10, 0x0000 },
+ { PUC_COM_POW2(3), 0x10, 0x0200 },
+ { PUC_COM_POW2(3), 0x10, 0x0400 },
+ { PUC_COM_POW2(3), 0x10, 0x0600 },
+ { PUC_COM_POW2(3), 0x10, 0x0800 },
+ { PUC_COM_POW2(3), 0x10, 0x0a00 },
+ { PUC_COM_POW2(3), 0x10, 0x0c00 },
+ { PUC_COM_POW2(3), 0x10, 0x0e00 },
+    },
+ },
+
  /*
  * Multi-Tech ISI5634PCI/4 4-port modem board.
  * Has a 4-channel Exar XR17C154 UART, but with bogus product ID in its


--
Hugo Lombard