From nobody@www.freebsd.org  Sun May 19 10:25:26 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 4241937B406
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 May 2002 10:25:26 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4JHPQhG043958
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 19 May 2002 10:25:26 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4JHPQKK043957;
	Sun, 19 May 2002 10:25:26 -0700 (PDT)
Message-Id: <200205191725.g4JHPQKK043957@www.freebsd.org>
Date: Sun, 19 May 2002 10:25:26 -0700 (PDT)
From: Rob Schulhof <rrs@there.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add VT8233A to pci/viapm.c SMBus driver.  Only requires chipID add to probe
X-Send-Pr-Version: www-1.0

>Number:         38299
>Category:       i386
>Synopsis:       Add VT8233A to pci/viapm.c SMBus driver.  Only requires chipID add to probe
>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 May 19 10:30:02 PDT 2002
>Closed-Date:    Sat Jun 21 23:49:57 PDT 2003
>Last-Modified:  Sat Jun 21 23:49:57 PDT 2003
>Originator:     Rob Schulhof
>Release:        RELENG_4
>Organization:
>Environment:
>Description:
The newer, VT8233A southbridge is functionally ( as far as SMBus) the same as 
the VT8233 southbridge.  I have SMBus working well with the VT8233A chip
by adding a probe for ChipID=0x31471106.  If found identify it as 

 case VIA_8233_PMU_ID:
 case VIA_8233A_PMU_ID:
                desc = "VIA VT8233 Power Management Unit";
                viapm->type = VIAPM_TYP_UNKNOWN;
                base_cfgreg = VIAPM_8233_BASE;
                goto viapro;

>How-To-Repeat:
      
>Fix:
      Patch:
*** viapm.c     Sun May 19 10:22:46 2002
--- viapm.new.c Sun May 19 10:13:58 2002
***************
*** 65,70 ****
--- 65,71 ----
  #define VIA_596A_PMU_ID               0x30501106
  #define VIA_596B_PMU_ID               0x30511106
  #define VIA_686A_PMU_ID               0x30571106
+ #define VIA_8233A_PMU_ID              0x31471106
  #define VIA_8233_PMU_ID               0x30741106
  
  #define VIAPM_INB(port) \
***************
*** 266,271 ****
--- 267,273 ----
                goto viapro;
  
        case VIA_8233_PMU_ID:
+       case VIA_8233A_PMU_ID:
                desc = "VIA VT8233 Power Management Unit";
                viapm->type = VIAPM_TYP_UNKNOWN;
                base_cfgreg = VIAPM_8233_BASE;


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mdodd 
State-Changed-When: Sat Jun 21 23:49:43 PDT 2003 
State-Changed-Why:  
Committed. 

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