Subject: kern/17790: Mode common PCU cards
To: None <gnats-bugs@gnats.netbsd.org>
From: None <paul@plectere.com>
List: netbsd-bugs
Date: 07/31/2002 19:32:03
>Number:         17790
>Category:       kern
>Synopsis:       Adds support for common PCI/PUC cards
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 31 19:33:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Paul Shupak
>Release:        NetBSD 1.6E
>Organization:
>Environment:
>Description:
	Some common PUC cards aren't yet supported -- e.g. Siig 20x 8 ports
	and Oxford x952 cards ( sold by compusa as house brand and/or as
	"Digital Research 2S1P PCI"
>How-To-Repeat:
	Plug one in. ( Also, please note the typo in the existing oxford cards'
	entrries -- i.e. 'Ox' => 'Qx' ).

>Fix:
Index: pucdata.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/pucdata.c,v
retrieving revision 1.30
diff -c -r1.30 pucdata.c
*** pucdata.c	2002/07/05 14:10:32	1.30
--- pucdata.c	2002/08/01 02:11:36
***************
*** 606,611 ****
--- 606,627 ----
  	    },
  	},
  
+ 	/* SIIG Cyber PS8000 PCI 16C650 (20x family): 8S - 32 Byte FIFOs */
+ 	{   "SIIG PS8000 8S PCI 16C650 (20x family)",
+ 	    {	0x131f,	0x2081,	0,	0	},
+ 	    {	0xffff,	0xffff,	0,	0	},
+ 	    {
+ 		{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ 		{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+ 		{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
+ 		{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
+ 		{ PUC_PORT_TYPE_COM, 0x20, 0x00, COM_FREQ },
+ 		{ PUC_PORT_TYPE_COM, 0x20, 0x08, COM_FREQ },
+ 		{ PUC_PORT_TYPE_COM, 0x20, 0x10, COM_FREQ },
+ 		{ PUC_PORT_TYPE_COM, 0x20, 0x18, COM_FREQ },
+ 	    },
+ 	},
+ 
  	/* VScom PCI-400: 4S */
  	{   "VScom PCI-400",
  	    {	0x10b5,	0x1077,	0x10b5,	0x1077	},
***************
*** 768,774 ****
  	 */
  
  	/* Oxford Semiconductor OX16PCI954 PCI UARTs */
! 	{   "Qxford Semiconductor OX16PCI954 UARTs",
  	    {	0x1415,	0x9501,	0,	0	},
  	    {	0xffff,	0xffff,	0,	0	},
  	    {
--- 784,790 ----
  	 */
  
  	/* Oxford Semiconductor OX16PCI954 PCI UARTs */
! 	{   "Oxford Semiconductor OX16PCI954 UARTs",
  	    {	0x1415,	0x9501,	0,	0	},
  	    {	0xffff,	0xffff,	0,	0	},
  	    {
***************
*** 780,787 ****
  	},
  
  	/* Oxford Semiconductor OX16PCI954 PCI Parallel port */
! 	{   "Qxford Semiconductor OX16PCI954 Parallel port",
  	    {	0x1415,	0x9513,	0,	0	},
  	    {	0xffff,	0xffff,	0,	0	},
  	    {
  		{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
--- 796,822 ----
  	},
  
  	/* Oxford Semiconductor OX16PCI954 PCI Parallel port */
! 	{   "Oxford Semiconductor OX16PCI954 Parallel port",
  	    {	0x1415,	0x9513,	0,	0	},
 	    {	0xffff,	0xffff,	0,	0	},
--- 806,825 ----
  	},
+ 
+ 	/* Oxford Semiconductor OX16PCI952 PCI `950 UARTs - 128 byte FIFOs */
+ 	{   "Oxford Semiconductor OX16PCI952 UARTs",
+ 	    {	0x1415,	0x9521,	0,	0	},
+ 	    {	0xffff,	0xffff,	0,	0	},
+ 	    {
+ 		{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ 		{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+ 	    },
+ 	},
+ 
+ 	/* Oxford Semiconductor OX16PCI952 PCI Parallel port */
+ 	{   "Oxford Semiconductor OX16PCI952 Parallel port",
+ 	    {	0x1415,	0x9523,	0,	0	},
+  	    {	0xffff,	0xffff,	0,	0	},
+  	    {
+  		{ PUC_PORT_TYPE_LPT, 0x10, 0x00, 0x00 },
+ 	    },
+ 	},
>Release-Note:
>Audit-Trail:
>Unformatted:
 System: NetBSD fsrv 1.6E NetBSD 1.6E (FSRV) #159: Tue Jul 30 13:56:06 PDT 2002 root@fsrv:/usr/src/sys/arch/i386/compile/FSRV i386
 Architecture: i386
 Machine: i386