NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/57202
The following reply was made to PR kern/57202; it has been noted by GNATS.
From: Carl Hakan Engvall <hakan.engvall%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/57202
Date: Wed, 6 Sep 2023 23:04:12 -0400
I'll try a third time to provide the additional patches. These are
against CVS tag netbsd-0 (NetBSD-9.3_STABLE) per 8/12/2023. These add
support for EXAR XR17V35[248] based cards and correct a small typo in
the code committed previously.
Index: share/man/man4/puc.4
===================================================================
RCS file: /cvsroot/src/share/man/man4/puc.4,v
retrieving revision 1.41.2.2
diff -u -r1.41.2.2 puc.4
--- share/man/man4/puc.4Â Â Â Â Â Â Â 30 Jan 2023 11:35:15 -0000 1.41.2.2
+++ share/man/man4/puc.4Â Â Â Â Â Â Â 7 Sep 2023 02:52:43 -0000
@@ -89,7 +89,9 @@
 .It Tn "EXAR XR17D152 (2 port serial)"
 .It Tn "EXAR XR17D154 (4 port serial)"
 .It Tn "EXAR XR17D158 (8 port serial)"
+.It Tn "EXAR XR17V352 (2 port serial)"
 .It Tn "EXAR XR17V354 (4 port serial)"
+.It Tn "EXAR XR17V358 (8 port serial)"
 .It Tn "Exsys EX-41098 (4 port serial)"
 .It Tn "IBM 4810 SurePOS 300 Series SCC (4 port serial)"
 .It Tn "InnoSys Keyspan SX Pro (4 port serial)"
Index: sys/dev/pci/pcidevs
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1383.2.17
diff -u -r1.1383.2.17 pcidevs
--- sys/dev/pci/pcidevs 29 Jul 2023 10:30:37 -0000 1.1383.2.17
+++ sys/dev/pci/pcidevs 7 Sep 2023 02:52:54 -0000
@@ -3222,7 +3222,9 @@
 product EXAR XR17D152 0x0152 dual-channel Universal PCI UART
 product EXAR XR17D154 0x0154 quad-channel Universal PCI UART
 product EXAR XR17D158 0x0158 octal-channel Universal PCI UART
+product EXAR XR17V352Â 0x0352Â dual-channel Universal PCIe UART
 product EXAR XR17V354 0x0354 quad-channel Universal PCIe UART
+product EXAR XR17V358Â 0x0358Â octal-channel Universal PCIe UART
 /* FORE products */
 product FORE PCA200   0x0210 ATM PCA-200
Index: sys/dev/pci/pucdata.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.104.2.3
diff -u -r1.104.2.3 pucdata.c
--- sys/dev/pci/pucdata.c      30 Jan 2023 11:35:15 -0000 1.104.2.3
+++ sys/dev/pci/pucdata.c      7 Sep 2023 02:52:56 -0000
@@ -444,7 +444,18 @@
               { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0600, COM_FREQ * 8 },
           },
       },
-Â Â Â Â Â Â {Â Â "EXAR XR17D154",
+
+Â Â Â Â Â Â /* The XR17V35[248] use the 125MHz PCIe clock as reference clock. */
+Â Â Â Â Â Â {Â Â "EXAR XR17V352",
+          {  PCI_VENDOR_EXAR, PCI_PRODUCT_EXAR_XR17V352, 0,    Â
0Â Â Â Â Â Â },
+          {  0xffff, 0xffff, 0,     0      },
+Â Â Â Â Â Â Â Â Â Â {
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, 125000000 },
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0400, 125000000 },
+Â Â Â Â Â Â Â Â Â Â },
+Â Â Â Â Â Â },
+
+Â Â Â Â Â Â {Â Â "EXAR XR17V354",
           {  PCI_VENDOR_EXAR, PCI_PRODUCT_EXAR_XR17V354, 0,    Â
0Â Â Â Â Â Â },
           {  0xffff, 0xffff, 0,     0      },
           {
@@ -455,6 +466,21 @@
           },
       },
+Â Â Â Â Â Â {Â Â "EXAR XR17V358",
+          {  PCI_VENDOR_EXAR, PCI_PRODUCT_EXAR_XR17V358, 0,    Â
0Â Â Â Â Â Â },
+          {  0xffff, 0xffff, 0,     0      },
+Â Â Â Â Â Â Â Â Â Â {
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0000, 125000000 },
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0400, 125000000 },
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0800, 125000000 },
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x0c00, 125000000 },
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1000, 125000000 },
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1400, 125000000 },
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1800, 125000000 },
+Â Â Â Â Â Â Â Â Â Â Â Â Â Â { PUC_PORT_TYPE_COM, PCI_BAR0, 0x1c00, 125000000 },
+Â Â Â Â Â Â Â Â Â Â },
+Â Â Â Â Â Â },
+
       /*
        * Multi-Tech ISI5634PCI/4 4-port modem board.
        * Has a 4-channel Exar XR17C154 UART, but with bogus product
ID in its
Home |
Main Index |
Thread Index |
Old Index