support of SMBus on ICH3
Igor Pokrovsky
igor.pokrovsky at cnrm.meteo.fr
Tue Aug 12 06:51:23 PDT 2003
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.
More information about the freebsd-stable
mailing list