From nobody@FreeBSD.org  Wed Mar 28 11:26:15 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id C231416A408
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 11:26:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id B170E13C4CC
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 11:26:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l2SBQFkc010580
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 28 Mar 2007 11:26:15 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2SBLDFZ009831;
	Wed, 28 Mar 2007 11:21:13 GMT
	(envelope-from nobody)
Message-Id: <200703281121.l2SBLDFZ009831@www.freebsd.org>
Date: Wed, 28 Mar 2007 11:21:13 GMT
From: Joseph Terner<jtsn@gmx.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] MosChip/Netmos 9835 PCI Dual UART
X-Send-Pr-Version: www-3.0

>Number:         110966
>Category:       kern
>Synopsis:       [patch] MosChip/Netmos 9835 PCI Dual UART
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 28 11:30:03 GMT 2007
>Closed-Date:    Thu Mar 29 04:27:49 GMT 2007
>Last-Modified:  Thu Mar 29 04:27:49 GMT 2007
>Originator:     Joseph Terner
>Release:        FreeBSD 6.2-RELEASE
>Organization:
>Environment:
FreeBSD plex 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Wed Mar 28 11:17:42 CEST 2007     root@plex:/var/spool/src/sys/i386/compile/PLEX  i386

>Description:
The MCS9835 is a PCI based dual-channel UART with enhanced bi-directional
parallel controller.

The datasheet is available here:
<http://www.moschip.com/data/products/NM9835/Data%20Sheet_9835.pdf>

The UART is currently unsupported by sio(4).
>How-To-Repeat:

>Fix:
To get the PCI UART supported by sio(4) apply the following patch to RELENG_6_2. This enables the first of the two serial ports. The parallel port remains unsupported.

--- sys/dev/sio/sio_pci.c.orig  Sat Sep 23 22:44:37 2006
+++ sys/dev/sio/sio_pci.c       Wed Mar 28 11:17:07 2007
@@ -78,6 +78,7 @@
        { 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },
        { 0x0103115d, "Xircom Cardbus modem", 0x10 },
        { 0x432214e4, "Broadcom 802.11g/GPRS CardBus (Serial)", 0x10 },
+       { 0x98359710, "MosChip MCS9835 PCI Dual UART", 0x10 },
        { 0x01c0135c, "Quatech SSCLP-200/300", 0x18 
                /* 
                 * NB: You must mount the "SPAD" jumper to correctly detect

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: maxim 
State-Changed-When: Wed Mar 28 18:57:04 UTC 2007 
State-Changed-Why:  
Committed to HEAD.  MFC in one month.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110966 
State-Changed-From-To: patched->closed 
State-Changed-By: maxim 
State-Changed-When: Thu Mar 29 04:27:23 UTC 2007 
State-Changed-Why:  
The chip already sipported by puc(4). 

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