NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/48180: support for Oxford Semi OXuPCI952 dial serial PCI card
>Number: 48180
>Category: kern
>Synopsis: support for Oxford Semi OXuPCI952 dial serial PCI card
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Sep 04 15:00:00 +0000 2013
>Originator: Christian Groessler
>Release: NetBSD 6.99.23
>Organization:
>Environment:
System: NetBSD muc-twinppc 6.99.23 NetBSD 6.99.23 (TWINPPC.MP) #4: Wed Sep 4
15:04:04 CEST 2013
chris@muc-twinppc:/usr/src/sys/arch/macppc/compile/TWINPPC.MP macppc
Architecture: powerpc
Machine: macppc
>Description:
support for Oxford Semi OXuPCI952 dial serial PCI card
>How-To-Repeat:
n.a.
>Fix:
This patch makes the card known to the puc driver:
===================================================================
RCS file: /net/swamp/zeug/netbsd-rsync/main/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.1152
diff -u -p -r1.1152 pcidevs.h
--- pcidevs.h 23 Aug 2013 16:50:24 -0000 1.1152
+++ pcidevs.h 4 Sep 2013 12:09:21 -0000
@@ -4417,6 +4417,7 @@
#define PCI_PRODUCT_OXFORDSEMI_VSCOM_PCI011H 0x8403 /* 011H
*/
#define PCI_PRODUCT_OXFORDSEMI_OX16PCI954 0x9501 /*
OX16PCI954 */
#define PCI_PRODUCT_OXFORDSEMI_OX16PCI954K 0x9504 /*
OX16PCI954K */
+#define PCI_PRODUCT_OXFORDSEMI_OXUPCI952 0x9505 /*
OXuPCI952 */
#define PCI_PRODUCT_OXFORDSEMI_EXSYS_EX41092 0x950a /*
Exsys EX-41092 */
#define PCI_PRODUCT_OXFORDSEMI_OXCB950 0x950b /* OXCB950 */
#define PCI_PRODUCT_OXFORDSEMI_OXMPCI954 0x950c /*
OXmPCI954 */
Index: pucdata.c
===================================================================
RCS file: /net/swamp/zeug/netbsd-rsync/main/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.85
diff -u -p -r1.85 pucdata.c
--- pucdata.c 17 Jul 2013 19:49:11 -0000 1.85
+++ pucdata.c 4 Sep 2013 13:03:51 -0000
@@ -1014,6 +1014,17 @@ const struct puc_device_description puc_
},
},
+ /* Oxford Semiconductor OXuPCI952 950 PCI UARTs */
+ { "Oxford Semiconductor OXuPCI952 UARTs",
+ { PCI_VENDOR_OXFORDSEMI, PCI_PRODUCT_OXFORDSEMI_OXUPCI952,
+ 0, 0 },
+ { 0xffff, 0xffff, 0, 0 },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ * 8 },
+ },
+ },
+
/* Oxford Semiconductor OX16PCI952 PCI `950 UARTs - 128 byte FIFOs */
{ "Oxford Semiconductor OX16PCI952 UARTs",
{ PCI_VENDOR_OXFORDSEMI, PCI_PRODUCT_OXFORDSEMI_OX16PCI952,
I've tested the card with this change and both ports are working.
Home |
Main Index |
Thread Index |
Old Index