Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2003 15:46:34 +0200
From:      Igor Pokrovsky <igor.pokrovsky@cnrm.meteo.fr>
To:        Don Bowman <don@sandvine.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: support of SMBus on ICH3
Message-ID:  <20030812134634.GA3783@exmatis1.cnrm.meteo.fr>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C853370274224D@mail.sandvine.com>
References:  <FE045D4D9F7AED4CBFF1B3B813C853370274224D@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 12, 2003 at 09:40:50AM -0400, Don Bowman wrote:

Thank you Don!

>  ... ich3 smbus not showing up in pciconf output ...
> 
> see p297 of ICH3 datasheet [intel pn 290733-002], FUNC_DIS register. 
> 
> pciconf -r -h 0:31:0
> 
> shows the value.
> clear bit '3'.
> 
> bit 0 should be either set or cleared :) I suspect it should be clear.
> 
> this datasheet is on intel's website.

# pciconf -r -h 0:31:0 00
0x00008086
# pciconf -r -h 0:31:0 02
0x0000248c

What about the following patch:

Index: ichsmb_pci.c
===================================================================
RCS file: /home/src/CVS/FreeBSD/src/sys/dev/ichsmb/ichsmb_pci.c,v
retrieving revision 1.1.2.3
diff -u -r1.1.2.3 ichsmb_pci.c
--- ichsmb_pci.c	20 Oct 2002 14:57:19 -0000	1.1.2.3
+++ ichsmb_pci.c	12 Aug 2003 13:44:48 -0000
@@ -68,6 +68,7 @@
 #define ID_82801AB			0x24238086
 #define ID_82801BA			0x24438086
 #define ID_82801CA			0x24838086
+#define ID_82801CA_M			0x248C8086
 
 #define PCIS_SERIALBUS_SMBUS_PROGIF	0x00
 
@@ -125,6 +126,9 @@
 		break;
 	case ID_82801CA:
 		device_set_desc(dev, "Intel 82801CA (ICH3) SMBus controller");
+		break;
+	case ID_82801CA_M:
+		device_set_desc(dev, "Intel 82801CA (ICH3-M) SMBus controller");
 		break;
 	default:
 		if (pci_get_class(dev) == PCIC_SERIALBUS


-ip

-- 
FORTUNE'S PARTY TIPS		#14

Tired of finding that other people are helping themselves to your good
liquor at BYOB parties?  Take along a candle, which you insert and
light after you've opened the bottle.  No one ever expects anything
drinkable to be in a bottle which has a candle stuck in its neck.



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