From nobody@FreeBSD.org  Mon Mar  1 20:19:56 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B68F6106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  1 Mar 2010 20:19:56 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A5ED98FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon,  1 Mar 2010 20:19:56 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o21KJumw046243
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 1 Mar 2010 20:19:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o21KJuxh046242;
	Mon, 1 Mar 2010 20:19:56 GMT
	(envelope-from nobody)
Message-Id: <201003012019.o21KJuxh046242@www.freebsd.org>
Date: Mon, 1 Mar 2010 20:19:56 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add PCI ID for MosChip Semiconductor 16550 UART
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144397
>Category:       kern
>Synopsis:       [uart] [patch] Add PCI ID for MosChip Semiconductor 16550 UART
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    delphij
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 01 20:30:01 UTC 2010
>Closed-Date:    Wed Mar 31 00:43:18 UTC 2010
>Last-Modified:  Sun Feb 03 22:28:06 UTC 2013
>Originator:     Garrett Cooper
>Release:        9-CURRENT
>Organization:
Cisco Systems, Inc
>Environment:
FreeBSD left4dead.cisco.com 9.0-CURRENT FreeBSD 9.0-CURRENT #2: Mon Mar  1 10:29:49 PST 2010     garrcoop@left4dead.cisco.com:/usr/obj/usr/src/sys/LEFT4DEAD  i386
>Description:
The PCI ID for the card here is missing: http://www.startech.com/item/PEX2S5521P-2S1P-Port-PCI-Express-Parallel-Serial-Combo-Card-with-16550-UART.aspx . This also covers several other cards, as mentioned on the webpage.
>How-To-Repeat:
n/a
>Fix:
See patch.

Patch attached with submission follows:

Index: uart_bus_pci.c
===================================================================
--- uart_bus_pci.c	(revision 204532)
+++ uart_bus_pci.c	(working copy)
@@ -113,6 +113,7 @@
 { 0x9710, 0x9820, 0x1000, 1, "NetMos NM9820 Serial Port", 0x10 },
 { 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 },
 { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 },
+{ 0x9710, 0x9901, 0xa000, 0x1000, "MosChip Semiconductors (Was: Netmos Technology) 16550 UART", 0x10 },
 { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
 { 0xffff, 0, 0xffff, 0, NULL, 0, 0}
 };


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: delphij 
State-Changed-When: Mon Mar 1 20:41:28 UTC 2010 
State-Changed-Why:  
Slightly modified patch applied against -HEAD. 


Responsible-Changed-From-To: freebsd-bugs->delphij 
Responsible-Changed-By: delphij 
Responsible-Changed-When: Mon Mar 1 20:41:28 UTC 2010 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144397 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/144397: commit references a PR
Date: Mon,  1 Mar 2010 20:41:35 +0000 (UTC)

 Author: delphij
 Date: Mon Mar  1 20:41:27 2010
 New Revision: 204533
 URL: http://svn.freebsd.org/changeset/base/204533
 
 Log:
   Add PCI ID for MCS9901.
   
   Submitted by:	gcooper
   PR:		kern/144397
   MFC after:	1 month
 
 Modified:
   head/sys/dev/uart/uart_bus_pci.c
 
 Modified: head/sys/dev/uart/uart_bus_pci.c
 ==============================================================================
 --- head/sys/dev/uart/uart_bus_pci.c	Mon Mar  1 19:43:26 2010	(r204532)
 +++ head/sys/dev/uart/uart_bus_pci.c	Mon Mar  1 20:41:27 2010	(r204533)
 @@ -113,6 +113,8 @@ static struct pci_id pci_ns8250_ids[] = 
  { 0x9710, 0x9820, 0x1000, 1, "NetMos NM9820 Serial Port", 0x10 },
  { 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 },
  { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 },
 +{ 0x9710, 0x9901, 0xa000, 0x1000,
 +	"MosChip MCS9901 PCIe to Peripheral Controller", 0x10 },
  { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
  { 0xffff, 0, 0xffff, 0, NULL, 0, 0}
  };
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: Garrett Cooper <yaneurabeya@gmail.com>
To: bug-followup@FreeBSD.org, gcooper@FreeBSD.org
Cc:  
Subject: Re: kern/144397: [uart] [patch] Add PCI ID for MosChip Semiconductor 
	16550 UART
Date: Mon, 1 Mar 2010 21:02:06 -0800

 Note: this doesn't include the additional serial via parallel ports'
 PCI ID because I didn't know where do put it. Can someone please
 advise where that needs to go?
 Thanks,
 -Garrett
State-Changed-From-To: patched->closed 
State-Changed-By: delphij 
State-Changed-When: Wed Mar 31 00:42:53 UTC 2010 
State-Changed-Why:  
Patch MFC'ed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144397 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/144397: commit references a PR
Date: Wed, 31 Mar 2010 00:41:47 +0000 (UTC)

 Author: delphij
 Date: Wed Mar 31 00:41:32 2010
 New Revision: 205951
 URL: http://svn.freebsd.org/changeset/base/205951
 
 Log:
   MFC r204533:
   
   Add PCI ID for MCS9901.
   
   Submitted by:	gcooper
   PR:		kern/144397
 
 Modified:
   stable/8/sys/dev/uart/uart_bus_pci.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
   stable/8/sys/dev/xen/xenpci/   (props changed)
 
 Modified: stable/8/sys/dev/uart/uart_bus_pci.c
 ==============================================================================
 --- stable/8/sys/dev/uart/uart_bus_pci.c	Wed Mar 31 00:27:49 2010	(r205950)
 +++ stable/8/sys/dev/uart/uart_bus_pci.c	Wed Mar 31 00:41:32 2010	(r205951)
 @@ -112,6 +112,8 @@ static struct pci_id pci_ns8250_ids[] = 
  { 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 },
  { 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 },
  { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 },
 +{ 0x9710, 0x9901, 0xa000, 0x1000,
 +	"MosChip MCS9901 PCIe to Peripheral Controller", 0x10 },
  { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
  { 0xffff, 0, 0xffff, 0, NULL, 0, 0}
  };
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/144397: commit references a PR
Date: Wed, 31 Mar 2010 00:42:38 +0000 (UTC)

 Author: delphij
 Date: Wed Mar 31 00:42:18 2010
 New Revision: 205952
 URL: http://svn.freebsd.org/changeset/base/205952
 
 Log:
   MFC r204533:
   
   Add PCI ID for MCS9901.
   
   Submitted by:	gcooper
   PR:		kern/144397
 
 Modified:
   stable/7/sys/dev/uart/uart_bus_pci.c
 Directory Properties:
   stable/7/sys/   (props changed)
   stable/7/sys/cddl/contrib/opensolaris/   (props changed)
   stable/7/sys/contrib/dev/acpica/   (props changed)
   stable/7/sys/contrib/pf/   (props changed)
 
 Modified: stable/7/sys/dev/uart/uart_bus_pci.c
 ==============================================================================
 --- stable/7/sys/dev/uart/uart_bus_pci.c	Wed Mar 31 00:41:32 2010	(r205951)
 +++ stable/7/sys/dev/uart/uart_bus_pci.c	Wed Mar 31 00:42:18 2010	(r205952)
 @@ -111,6 +111,8 @@ static struct pci_id pci_ns8250_ids[] = 
  { 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 },
  { 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 },
  { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 },
 +{ 0x9710, 0x9901, 0xa000, 0x1000,
 +	"MosChip MCS9901 PCIe to Peripheral Controller", 0x10 },
  { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
  { 0xffff, 0, 0xffff, 0, NULL, 0, 0}
  };
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
