From nobody@FreeBSD.org  Mon Dec 19 14:57:39 2011
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 47F81106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 Dec 2011 14:57:39 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 36E0C8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 Dec 2011 14:57:39 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBJEvcnO063484
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 Dec 2011 14:57:38 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pBJEvcE4063483;
	Mon, 19 Dec 2011 14:57:38 GMT
	(envelope-from nobody)
Message-Id: <201112191457.pBJEvcE4063483@red.freebsd.org>
Date: Mon, 19 Dec 2011 14:57:38 GMT
From: Anonymous Hardware Hacker <silicium@harmony-p.ath.cx>
To: freebsd-gnats-submit@FreeBSD.org
Subject: new pci quad serial card supported by puc
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163450
>Category:       kern
>Synopsis:       [puc] [patch] new pci quad serial card supported by puc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    eadler
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 19 15:00:21 UTC 2011
>Closed-Date:    Wed Jun 06 06:41:24 UTC 2012
>Last-Modified:  Wed Jun 06 06:41:24 UTC 2012
>Originator:     Anonymous Hardware Hacker
>Release:        8.2
>Organization:
>Environment:
8.2-STABLE i386
>Description:
Insert this into /sys/dev/puc/pucdata.c to support a cheap PCI quad serial
card (found on eBay from China) with chip labeled 'Sun 1040'. The new
uarts show on boot or dmesg: uart2: <16550 or compatible> at port 1 on
puc0 ... up to uart5 at port 4. Basic testing: the four ports were
successfully tested at 9600 then 115200 bps, one at a time with 'cu', a
crossover cable and another terminal, sending and receiving a few characters
typed on keyboard.

/* Sun 1040 board */
{   0x5372, 0x6873, 0xffff, 0,
    "Sun 1040 PCI Quad Serial",
    DEFAULT_RCLK,
    PUC_PORT_4S, 0x10, 4, 0,
},


>How-To-Repeat:

>Fix:
Also update 'man 4 sio' manpage to tell sio has been broken since the
new tty came out, can't appear in i386/amd64 kernel config file (don't
know for other architectures), and has been replaced with uart.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->eadler 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Thu May 10 18:23:17 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163450 
State-Changed-From-To: open->analyzed 
State-Changed-By: eadler 
State-Changed-When: Sat May 12 01:46:57 UTC 2012 
State-Changed-Why:  
awaiting approval 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/163450: commit references a PR
Date: Wed, 30 May 2012 03:48:03 +0000 (UTC)

 Author: eadler
 Date: Wed May 30 03:47:51 2012
 New Revision: 236282
 URL: http://svn.freebsd.org/changeset/base/236282
 
 Log:
   Add support for Sun 1040 PCI Quad Serial
   
   PR:		kern/163450
   Submitted by:	Anonymous Hardware Hacker <silicium@harmony-p.ath.cx>
   Approved by:	cperciva
   MFC after:	1 week
 
 Modified:
   head/sys/dev/puc/pucdata.c
 
 Modified: head/sys/dev/puc/pucdata.c
 ==============================================================================
 --- head/sys/dev/puc/pucdata.c	Wed May 30 03:10:22 2012	(r236281)
 +++ head/sys/dev/puc/pucdata.c	Wed May 30 03:47:51 2012	(r236282)
 @@ -901,6 +901,12 @@ const struct puc_cfg puc_pci_devices[] =
  	    .config_function = puc_config_syba
  	},
  
 +	{    0x5372, 0x6873, 0xffff, 0,
 +	     "Sun 1040 PCI Quad Serial",
 +	     DEFAULT_RCLK,
 +	     PUC_PORT_4S, 0x10, 4, 0,
 +	},
 +
  	{   0x6666, 0x0001, 0xffff, 0,
  	    "Decision Computer Inc, PCCOM 4-port serial",
  	    DEFAULT_RCLK,
 _______________________________________________
 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"
 
State-Changed-From-To: analyzed->patched 
State-Changed-By: eadler 
State-Changed-When: Wed May 30 04:17:03 UTC 2012 
State-Changed-Why:  
committed, awaiting MFC 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/163450: commit references a PR
Date: Wed,  6 Jun 2012 04:17:58 +0000 (UTC)

 Author: eadler
 Date: Wed Jun  6 04:17:40 2012
 New Revision: 236650
 URL: http://svn.freebsd.org/changeset/base/236650
 
 Log:
   MFC r236282:
   	Add support for Sun 1040 PCI Quad Serial
   
   PR:		kern/163450
   Approved by:	cperciva (implicit)
 
 Modified:
   stable/9/sys/dev/puc/pucdata.c
 Directory Properties:
   stable/9/sys/   (props changed)
   stable/9/sys/dev/   (props changed)
 
 Modified: stable/9/sys/dev/puc/pucdata.c
 ==============================================================================
 --- stable/9/sys/dev/puc/pucdata.c	Wed Jun  6 02:42:30 2012	(r236649)
 +++ stable/9/sys/dev/puc/pucdata.c	Wed Jun  6 04:17:40 2012	(r236650)
 @@ -901,6 +901,12 @@ const struct puc_cfg puc_pci_devices[] =
  	    .config_function = puc_config_syba
  	},
  
 +	{    0x5372, 0x6873, 0xffff, 0,
 +	     "Sun 1040 PCI Quad Serial",
 +	     DEFAULT_RCLK,
 +	     PUC_PORT_4S, 0x10, 4, 0,
 +	},
 +
  	{   0x6666, 0x0001, 0xffff, 0,
  	    "Decision Computer Inc, PCCOM 4-port serial",
  	    DEFAULT_RCLK,
 _______________________________________________
 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/163450: commit references a PR
Date: Wed,  6 Jun 2012 04:18:13 +0000 (UTC)

 Author: eadler
 Date: Wed Jun  6 04:18:04 2012
 New Revision: 236651
 URL: http://svn.freebsd.org/changeset/base/236651
 
 Log:
   MFC r236282:
   	Add support for Sun 1040 PCI Quad Serial
   
   PR:		kern/163450
   Approved by:	cperciva (implicit)
 
 Modified:
   stable/8/sys/dev/puc/pucdata.c
 Directory Properties:
   stable/8/sys/   (props changed)
 
 Modified: stable/8/sys/dev/puc/pucdata.c
 ==============================================================================
 --- stable/8/sys/dev/puc/pucdata.c	Wed Jun  6 04:17:40 2012	(r236650)
 +++ stable/8/sys/dev/puc/pucdata.c	Wed Jun  6 04:18:04 2012	(r236651)
 @@ -887,6 +887,12 @@ const struct puc_cfg puc_pci_devices[] =
  	    .config_function = puc_config_syba
  	},
  
 +	{    0x5372, 0x6873, 0xffff, 0,
 +	     "Sun 1040 PCI Quad Serial",
 +	     DEFAULT_RCLK,
 +	     PUC_PORT_4S, 0x10, 4, 0,
 +	},
 +
  	{   0x6666, 0x0001, 0xffff, 0,
  	    "Decision Computer Inc, PCCOM 4-port serial",
  	    DEFAULT_RCLK,
 _______________________________________________
 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/163450: commit references a PR
Date: Wed,  6 Jun 2012 04:18:34 +0000 (UTC)

 Author: eadler
 Date: Wed Jun  6 04:18:22 2012
 New Revision: 236652
 URL: http://svn.freebsd.org/changeset/base/236652
 
 Log:
   MFC r236282:
   	Add support for Sun 1040 PCI Quad Serial
   
   PR:		kern/163450
   Approved by:	cperciva (implicit)
 
 Modified:
   stable/7/sys/dev/puc/pucdata.c
 Directory Properties:
   stable/7/sys/   (props changed)
 
 Modified: stable/7/sys/dev/puc/pucdata.c
 ==============================================================================
 --- stable/7/sys/dev/puc/pucdata.c	Wed Jun  6 04:18:04 2012	(r236651)
 +++ stable/7/sys/dev/puc/pucdata.c	Wed Jun  6 04:18:22 2012	(r236652)
 @@ -761,6 +761,12 @@ const struct puc_cfg puc_pci_devices[] =
  	    .config_function = puc_config_syba
  	},
  
 +	{    0x5372, 0x6873, 0xffff, 0,
 +	     "Sun 1040 PCI Quad Serial",
 +	     DEFAULT_RCLK,
 +	     PUC_PORT_4S, 0x10, 4, 0,
 +	},
 +
  	{   0x6666, 0x0001, 0xffff, 0,
  	    "Decision Computer Inc, PCCOM 4-port serial",
  	    DEFAULT_RCLK,
 _______________________________________________
 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"
 
State-Changed-From-To: patched->closed 
State-Changed-By: eadler 
State-Changed-When: Wed Jun 6 06:41:21 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

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