From nobody@FreeBSD.org  Sun Aug 15 03:15:49 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 23F5710656A4
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Aug 2010 03:15:49 +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 14EAB8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Aug 2010 03:15:49 +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 o7F3FmxN090980
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 15 Aug 2010 03:15:48 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o7F3Fmui090959;
	Sun, 15 Aug 2010 03:15:48 GMT
	(envelope-from nobody)
Message-Id: <201008150315.o7F3Fmui090959@www.freebsd.org>
Date: Sun, 15 Aug 2010 03:15:48 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ppc] [patch] Add PCI ID for MosChip Semiconductor card with vendor = 0x9710
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         149658
>Category:       kern
>Synopsis:       [ppc] [patch] Add PCI ID for MosChip Semiconductor card with vendor = 0x9710
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 15 03:20:01 UTC 2010
>Closed-Date:    Fri Nov 12 09:34:04 UTC 2010
>Last-Modified:  Sun Feb 03 22:29:02 UTC 2013
>Originator:     Garrett Cooper
>Release:        9-CURRENT
>Organization:
Cisco Systems, Inc.
>Environment:
FreeBSD orangebox.local 9.0-CURRENT FreeBSD 9.0-CURRENT #7 r210523:210999M: Thu Aug 12 02:27:15 UTC 2010     root@orangebox.local:/usr/obj/usr/src/sys/ORANGEBOX  amd64
>Description:
This patch adds support for the PCI ID requested in kern/146647. The other work required to enable the additional RS-232 uart is pending.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: dev/uart/uart_bus_pci.c
===================================================================
--- dev/uart/uart_bus_pci.c	(revision 210523)
+++ dev/uart/uart_bus_pci.c	(working copy)
@@ -115,6 +115,7 @@
 { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 },
 { 0x9710, 0x9901, 0xa000, 0x1000,
 	"MosChip MCS9901 PCIe to Peripheral Controller", 0x10 },
+{ 0x9710, 0x9901, 0xa000, 0x3012, "PCIe 9901 Multi-I/O Controller", 0x10 },
 { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 },
 { 0xffff, 0, 0xffff, 0, NULL, 0, 0}
 };


>Release-Note:
>Audit-Trail:

From: Garrett Cooper <yaneurabeya@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org, freebsd-bugs@freebsd.org
Cc:  
Subject: Re: kern/149658: [ppc] [patch] Add PCI ID for MosChip Semiconductor
 card with vendor = 0x9710
Date: Sat, 14 Aug 2010 20:28:09 -0700

 On Sat, Aug 14, 2010 at 8:20 PM,  <FreeBSD-gnats-submit@freebsd.org> wrote:
 > Thank you very much for your problem report.
 > It has the internal identification `kern/149658'.
 > The individual assigned to look at your
 > report is: freebsd-bugs.
 >
 > You can access the state of your problem report at any time
 > via this link:
 
     Interesting... looks like the PCI BAR address for the device is
 used for multiple devices / reasons.
 
 # Parallel ports at BAR0,BAR2. Serial ports at BAR4-5
 		1000 0022  2P2S (2 Parallel / 2 16550A Serial Port Adapter)
 	9865  PCI 9865 Multi-I/O Controller
 	9901  PCIe 9901 Multi-I/O Controller
 
     Please hold off committing anything here, until I do more
 investigation into the previous kern PR.
 
 Thanks,
 -Garrett
State-Changed-From-To: open->suspended 
State-Changed-By: vwe 
State-Changed-When: Sun Aug 15 21:14:15 UTC 2010 
State-Changed-Why:  
suspending this per originators' request. 
Garrett: please attach a note to the PR or drop a bugbuster a private message when you think everything is in perfect shape. 

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

From: Garrett Cooper <yaneurabeya@gmail.com>
To: bug-followup@FreeBSD.org, gcooper@FreeBSD.org
Cc:  
Subject: Re: kern/149658: [ppc] [patch] Add PCI ID for MosChip Semiconductor
 card with vendor = 0x9710
Date: Thu, 11 Nov 2010 01:22:37 -0800

     Please close. This information needs to be setup via puc, not
 uart. Thus, all of the info should be done via the other bug
 referenced.
 Thanks!
 -Garrett
State-Changed-From-To: suspended->closed 
State-Changed-By: linimon 
State-Changed-When: Fri Nov 12 09:33:50 UTC 2010 
State-Changed-Why:  
Closed at submitter's request. 

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