Subject: Re: kern/37566: OX16PCI954 based cards have mis-match COM_FREQ in
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: MASUDA Hideo <h-masuda@ootani.nagata.kobe.jp>
List: netbsd-bugs
Date: 12/19/2007 09:30:03
The following reply was made to PR kern/37566; it has been noted by GNATS.
From: MASUDA Hideo <h-masuda@ootani.nagata.kobe.jp>
To: gnats-bugs@NetBSD.org
Cc: h-masuda@ootani.nagata.kobe.jp
Subject: Re: kern/37566: OX16PCI954 based cards have mis-match COM_FREQ in
pucdata.c
Date: Wed, 19 Dec 2007 18:25:11 +0900
Hi,
gnats-admin@netbsd.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `kern/37566'.
> The individual assigned to look at your
> report is: kern-bug-people.
>
>> Category: kern
>> Responsible: kern-bug-people
>> Synopsis: OX16PCI954 based cards have mis-match COM_FREQ in pucdata.c
>> Arrival-Date: Wed Dec 19 06:35:00 +0000 2007
I have one advice that Subsystem vendor ID and Subsystem ID are
required. My revised patch is as following:
Index: pucdata.c
===================================================================
RCS file: /ftp/pub/NetBSD-cvs/main/src/sys/dev/pci/pucdata.c,v
retrieving revision 1.40.2.4
diff -u -r1.40.2.4 pucdata.c
--- pucdata.c 20 Nov 2006 15:49:38 -0000 1.40.2.4
+++ pucdata.c 19 Dec 2007 09:20:49 -0000
@@ -866,6 +866,32 @@
* I/O Flex PCI I/O Card Model-223 with 4 serial and 1 parallel ports.
*/
+/* */
+ /* I-O DATA RSA-PCI2 four/eight(1-4) UARTs based on OX16PCI954 */
+ { "IO-DATA RSA-PCI2/P4 or P8 (1-4) UARTs",
+ { 0x1415, 0x9501, 0x10fc, 0xd007 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8 },
+ { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8 },
+ },
+ },
+
+ /* I-O DATA RSA-PCI2 eight(5-8) UARTs base on OX16PCI954 */
+ { "IO-DATA RSA-PCI2/P8 (5-8) UARTs",
+ { 0x1415, 0x9511, 0x10fc, 0xd007 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8},
+ { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8},
+ { PUC_PORT_TYPE_COM, 0x10, 0x10, COM_FREQ * 8},
+ { PUC_PORT_TYPE_COM, 0x10, 0x18, COM_FREQ * 8},
+ },
+ },
+/* */
+
/* Oxford Semiconductor OX16PCI952 PCI `950 UARTs - 128 byte FIFOs */
{ "Oxford Semiconductor OX16PCI952 UARTs",
{ 0x1415, 0x9521, 0, 0 },
Best Regards.
--
MASUDA Hideo (h-masuda@ootani.nagata.kobe.jp)