Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 14:44:36 -0400 (EDT)
From:      Colin Perkins <csp@isi.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/36972: ICH3 SMbus controller not correctly detected
Message-ID:  <200204101844.g3AIiaab000371@purple.nge.isi.edu>

next in thread | raw e-mail | index | archive | help

>Number:         36972
>Category:       i386
>Synopsis:       ICH3 SMbus controller not correctly detected
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 10 11:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Colin Perkins
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
USC/ISI
>Environment:
System: FreeBSD purple.nge.isi.edu 4.5-STABLE FreeBSD 4.5-STABLE #9: Wed Apr 10 14:28:42 EDT 2002 root@purple.nge.isi.edu:/usr/src/sys/compile/PURPLE i386

>Description:

Intel ICH3 SMbus controller is not detected when booting (tested on
ThinkPad X22, but doubt that the problem is specific to that host).
Patch enclosed.

>How-To-Repeat:

Reboot. Dmesg will show:
  ichsmb0: <SMBus controller> port 0x1880-0x189f irq 5 at device 31.3 on pci0
with enclosed patch, it shows:
  ichsmb0: <Intel 82801CA (ICH3) SMBus controller> port 0x1880-0x189f irq 5 at device 31.3 on pci0
  smbus0: <System Management Bus> on ichsmb0
  smb0: <SMBus general purpose I/O> on smbus0
instead (detecting the smbus0 and smb0 devices correctly).

>Fix:

Patch to /usr/src/sys/dev/ichsmb/ichsmb_pci.c as shown below.

*** ichsmb_pci.c.orig   Wed Apr 10 14:06:57 2002
--- ichsmb_pci.c        Wed Apr 10 14:27:14 2002
***************
*** 67,72 ****
--- 67,73 ----
  #define ID_81801AA                    0x24138086
  #define ID_81801AB                    0x24238086
  #define ID_82801BA                    0x24438086
+ #define ID_82801CA                    0x24838086
  
  #define PCIS_SERIALBUS_SMBUS_PROGIF   0x00
  
***************
*** 121,126 ****
--- 122,130 ----
                break;
        case ID_82801BA:
                device_set_desc(dev, "Intel 82801BA (ICH2) SMBus controller");
+               break;
+       case ID_82801CA:
+               device_set_desc(dev, "Intel 82801CA (ICH3) SMBus controller");
                break;
        default:
                if (pci_get_class(dev) == PCIC_SERIALBUS



>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204101844.g3AIiaab000371>