Subject: kern/12204: patch to support Lava 8-port serial card
To: None <gnats-bugs@gnats.netbsd.org>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 02/14/2001 09:46:33
>Number:         12204
>Category:       kern
>Synopsis:       patch to support Lava 8-port serial card
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 14 06:47:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Wrede
>Release:        <NetBSD-current source date>
>Organization:
Planix, Inc.
>Environment:
	
System: NetBSD woffi.planix.com 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (PLANIX-IPv6) #1: Mon Jan 1 11:27:16 EST 2001 root@woffi.planix.com:/usr/src/sys/arch/i386/compile/WOFFI i386


>Description:
Attached is a patch that adds support for the Lava Computers Octopus-[95]50
8-port serial cards to the puc device. It is working fine on 2 systems with
a total of 3 8-port Octopus-950 and Octopus-550 cards.
>How-To-Repeat:
	
>Fix:
Apply patch. The diff is against 1.5-release branch.
Index: pucdata.c
===================================================================
RCS file: /u5/NetBSD-CVS/main/syssrc/sys/dev/pci/pucdata.c,v
retrieving revision 1.9.4.1
diff -c -r1.9.4.1 pucdata.c
*** pucdata.c	2000/09/06 16:54:28	1.9.4.1
--- pucdata.c	2001/01/02 03:29:26
***************
*** 552,557 ****
--- 552,569 ----
  	    },
  	},
  
+ 	/* Lava Computers Octopus-550 serial ports */
+ 	{   "Lava Computers Octopus-550 8-port serial",
+ 	    {	0x1407,	0x0180,	0,	0	},
+ 	    {	0xffff,	0xfffc,	0,	0	},
+ 	    {
+ 		{ PUC_PORT_TYPE_COM, 0x10, 0x00 },
+ 		{ PUC_PORT_TYPE_COM, 0x14, 0x00 },
+ 		{ PUC_PORT_TYPE_COM, 0x18, 0x00 },
+ 		{ PUC_PORT_TYPE_COM, 0x1c, 0x00 },
+ 	    },
+ 	},
+ 
  	/* US Robotics (3Com) PCI Modems */
  	{   "US Robotics (3Com) 3CP5609 PCI 16550 Modem",
  	    {	0x12b9,	0x1008,	0,	0	},
>Release-Note:
>Audit-Trail:
>Unformatted: