From nobody@FreeBSD.org  Sun Mar 25 13:49:19 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 42CE016A402
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Mar 2007 13:49:19 +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 3331613C455
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Mar 2007 13:49:19 +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 l2PDnJkH009162
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Mar 2007 13:49:19 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l2PDiHEb007933;
	Sun, 25 Mar 2007 13:44:17 GMT
	(envelope-from nobody)
Message-Id: <200703251344.l2PDiHEb007933@www.freebsd.org>
Date: Sun, 25 Mar 2007 13:44:17 GMT
From: Trevor Roydhouse<fbsdbugs@sentry.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH] Avlab Technology Inc. PCI IO 4S-850 serial card
X-Send-Pr-Version: www-3.0

>Number:         110800
>Category:       kern
>Synopsis:       [PATCH] Avlab Technology Inc. PCI IO 4S-850 serial card
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 25 13:50:03 GMT 2007
>Closed-Date:    Sun Mar 25 13:55:15 GMT 2007
>Last-Modified:  Sun Mar 25 13:55:15 GMT 2007
>Originator:     Trevor Roydhouse
>Release:        6.2-STABLE
>Organization:
>Environment:
FreeBSD centurion.sentry.org 6.2-STABLE FreeBSD 6.2-STABLE #24: Sun Mar 25 18:58:14 EST 2007     xxxx@xxx.sentry.org:/usr/obj/usr/src/sys/XXX  i386
>Description:
The following Avlab Technology 4 port PCI serial card is not recognised by the puc device:

none@pci0:15:0: class=0x070002 card=0x215214db chip=0x215214db rev=0x00 hdr=0x00
    vendor     = 'Avlab Technology Inc.'
    device     = 'PCI IO 4S-850'
    class      = simple comms
    subclass   = UART
    cap 01[a0] = powerspec 1  supports D0 D3  current D0


>How-To-Repeat:
o Install Avlab Technology PCI IO 4S-850 4 port serial card

o Add puc device to kernel config, build kernel, install kernel, reboot

dmesg:

Mar 25 17:38:27 xxx kernel: pci0: <simple comms, UART> at device 15.0 (no driver attached)
>Fix:
Add:

        /* Avlab Technology, Inc. PCI 4 Serial: 4S-850 */  
        {   "Avlab Low Profile PCI IO 4S-850 Serial",
            {   0x14db, 0x2152, 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 },
            },
        },

to /usr/src/sys/dev/puc/pucdata.c
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Sun Mar 25 13:54:58 UTC 2007 
State-Changed-Why:  
Duplicate of 110797. 

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