From babolo@cicuta.babolo.ru  Wed Feb 19 12:17:46 2003uun
Return-Path: <babolo@cicuta.babolo.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 71E6E37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 12:17:46 -0800 (PST)
Received: from ints.mail.pike.ru (ints.mail.pike.ru [195.9.45.194])
	by mx1.FreeBSD.org (Postfix) with ESMTP id CB65B43F75
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 12:17:44 -0800 (PST)
	(envelope-from babolo@cicuta.babolo.ru)
Received: (qmail 90102 invoked from network); 19 Feb 2003 20:33:52 -0000
Received: from babolo.ru (HELO cicuta.babolo.ru) (194.58.226.160)
  by ints.mail.pike.ru with SMTP; 19 Feb 2003 20:33:52 -0000
Received: (nullmailer pid 2183 invoked by uid 136);
	Wed, 19 Feb 2003 20:19:06 -0000
Message-Id: <1045685946.681507.2182.nullmailer@cicuta.babolo.ru>
Date: Wed, 19 Feb 2003 23:19:06 +0300
From: Alexandr A.Babaylov <"."@baboloi.ru>
Reply-To: Alexandr A.Babaylov <"."@babolo.ru>
To: FreeBSD-gnats-submit@freebsd.org
Subject: puc driver for Nm9845
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48468
>Category:       kern
>Synopsis:       puc driver for Nm9845
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 12:20:13 PST 2003
>Closed-Date:    Mon Jan 10 17:53:29 MST 2005
>Last-Modified:  Sun Mar 17 01:35:49 UTC 2013
>Originator:     Alexandr A. Babaylov
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
home
>Environment:
System: FreeBSD cicuta.babolo.ru 4.7-STABLE FreeBSD 4.7-STABLE #5: Sun Feb 16 19:05:08 MSK 2003 babolo@cicuta.babolo.ru:/tmp/babolo/usr/src/sys/cicuta i386


>Description:
	Try to configure Nm9845 based 6 sio ports card
>How-To-Repeat:
	N/A
>Fix:

--- sys/dev/puc/pucdata.c	6 Feb 2003 13:17:11 -0000
+++ sys/dev/puc/pucdata.c	16 Feb 2003 00:26:29 -0000
@@ -823,6 +823,21 @@
 	    },
 	},
 
+	/* NetMos 2S PCI 9845 + 4S ISA 16C554 */
+	/* What if another hardware on ISA XXXX */
+	{   "NetMos NM9845 2 UART + 4S ISA 16C554",
+	    {	0x9710,	0x9845,	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, 0x24, 0x00, COM_FREQ },
+	    },
+	},
+
 	/*
 	 * This is the Middle Digital, Inc. PCI-Weasel, which
 	 * uses a PCI interface implemented in FPGA.
--- sys/isa/sio.c	12 Aug 2002 11:57:09 -0000
+++ sys/isa/sio.c	16 Feb 2003 02:15:42 -0000
@@ -602,7 +602,6 @@
 	{ 0x95211415, "Oxford Semiconductor PCI Dual Port Serial", 0x10 },
 	{ 0x7101135e, "SeaLevel Ultra 530.PCI Single Port Serial", 0x18 },
 	{ 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },
-	{ 0x98459710, "Netmos Nm9845 PCI Bridge with Dual UART", 0x10 },
 	{ 0x00000000, NULL, 0 }
 };
 
--- sys/pc98/pc98/sio.c	14 Oct 2002 09:39:40 -0000
+++ sys/pc98/pc98/sio.c	16 Feb 2003 02:39:12 -0000
@@ -978,7 +978,6 @@
 	{ 0x95211415, "Oxford Semiconductor PCI Dual Port Serial", 0x10 },
 	{ 0x7101135e, "SeaLevel Ultra 530.PCI Single Port Serial", 0x18 },
 	{ 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },
-	{ 0x98459710, "Netmos Nm9845 PCI Bridge with Dual UART", 0x10 },
 	{ 0x00000000, NULL, 0 }
 };
 
--- share/man/man4/sio.4	18 Dec 2002 13:31:17 -0000
+++ share/man/man4/sio.4	16 Feb 2003 07:40:14 -0000
@@ -62,15 +62,6 @@
 .Cd "..."
 .Cd "device sio11 at isa? port 0x138 flags 0xb05 irq 12"
 .Pp
-For Netmos Nm9845 multiport cards with 6 ports:
-.Cd "options COM_MULTIPORT"
-.Cd "device sio4 at isa? port 0xb000 flags 0x901"
-.Cd "device sio5 at isa? port 0xb400 flags 0x901"
-.Cd "device sio6 at isa? port 0xb800 flags 0x901"
-.Cd "device sio7 at isa? port 0xbc00 flags 0x901"
-.Cd "device sio8 at isa? port 0xc000 flags 0x901"
-.Cd "device sio9 at isa? port 0xac00 flags 0x901 irq 12"
-.Pp
 For Hayes ESP cards:
 .Cd "options COM_ESP"
 .Cd "..."
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: imp 
Responsible-Changed-When: Sat Apr 5 00:50:06 MST 2003 
Responsible-Changed-Why:  
I'll integrate this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48468 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Mon Jan 10 17:50:14 MST 2005 
State-Changed-Why:  
This appaers to have been integrated already. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48468 
>Unformatted:
