From csp@csperkins.org  Mon Jan 20 12:54:17 2003
Return-Path: <csp@csperkins.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 29C8137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Jan 2003 12:54:17 -0800 (PST)
Received: from purple.nge.isi.edu (dial161.east.isi.edu [65.114.169.161])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5784643F5F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Jan 2003 12:54:10 -0800 (PST)
	(envelope-from csp@csperkins.org)
Received: from purple.nge.isi.edu (localhost [127.0.0.1])
	by purple.nge.isi.edu (8.12.6/8.12.6) with ESMTP id h0KKs8Tw004255
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Jan 2003 15:54:08 -0500 (EST)
	(envelope-from csp@purple.nge.isi.edu)
Received: (from csp@localhost)
	by purple.nge.isi.edu (8.12.6/8.12.6/Submit) id h0KKs7ZL004254;
	Mon, 20 Jan 2003 15:54:07 -0500 (EST)
Message-Id: <200301202054.h0KKs7ZL004254@purple.nge.isi.edu>
Date: Mon, 20 Jan 2003 15:54:07 -0500 (EST)
From: Colin Perkins <csp@csperkins.org>
Reply-To: Colin Perkins <csp@csperkins.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Missing PCI ID for Radeon Mobility graphics adaptor
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         47271
>Category:       kern
>Synopsis:       Missing PCI ID for Radeon Mobility graphics adaptor
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 20 13:00:00 PST 2003
>Closed-Date:    Thu Apr 24 14:33:54 PDT 2003
>Last-Modified:  Thu Apr 24 14:33:54 PDT 2003
>Originator:     Colin Perkins
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
USC/ISI
>Environment:
System: FreeBSD purple.nge.isi.edu 4.7-STABLE FreeBSD 4.7-STABLE #1: Mon Jan 13 22:52:18 EST 2003 root@purple.nge.isi.edu:/usr/obj/usr/src/sys/PURPLE i386
on an IBM ThinkPad X22

>Description:

pci_vga_match() is missing the PCI device ID for Radeon Mobility LY cards,
and so doesn't correctly report their presence in the boot log. A cosmetic
issue only, the enclosed patch doesn't affect functionality.

>How-To-Repeat:

Boot system. Dmesg shows
	pci1: <ATI model 4c59 graphics accelerator> at 0.0 irq 11
but it would be nice if it showed the card name. 

>Fix:

In /usr/src/sys/pci apply the following:

*** pcisupport.c.orig   Mon Jan 13 22:39:37 2003
--- pcisupport.c        Mon Jan 13 22:44:43 2003
***************
*** 1537,1542 ****
--- 1537,1544 ----
                        chip = "Mobility-1"; break;
                case 0x4c52:
                        chip = "RageMobility-P/M"; break;
+               case 0x4c59:
+                       chip = "Radeon Mobility LY"; break;
                case 0x475a:
                        chip = "Mach64-GZ"; break;
                case 0x5245:


If it's worth updating this table, XFree86 has a more complete list of PCI
IDs in xc/programs/Xserver/hw/xfree86/commonxf86.PciInfo.h. 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: anholt 
State-Changed-When: Thu Apr 24 14:32:55 PDT 2003 
State-Changed-Why:  
As of FreeBSD 5.0, we no longer include this identification of cards. 

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