kern/142571: nfsmb.c - add missing MCP chip IDs
Oliver Lehmann
oliver at FreeBSD.org
Sun Jan 10 15:00:12 UTC 2010
>Number: 142571
>Category: kern
>Synopsis: nfsmb.c - add missing MCP chip IDs
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 10 15:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Oliver Lehmann
>Release: FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD kartoffel.salatschuessel.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Dec 13 15:03:04 CET 2009 olivleh1 at kartoffel.salatschuessel.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
I'm having an ASUS Atom ION board with a MCP79 SMB controller. It
is not detected by the nfsmb.c which is in the tree right now.
This update detects the SMB controller (and the older versions)
>How-To-Repeat:
>Fix:
--- nfsmb.c.diff begins here ---
--- nfsmb.c.orig 2010-01-07 19:35:04.000000000 +0100
+++ nfsmb.c 2010-01-07 06:27:34.000000000 +0100
@@ -65,6 +65,10 @@
#define NFSMB_DEVICEID_NF4_55_SMB 0x0368
#define NFSMB_DEVICEID_NF4_61_SMB 0x03eb
#define NFSMB_DEVICEID_NF4_65_SMB 0x0446
+#define NFSMB_DEVICEID_NF4_67_SMB 0x0542
+#define NFSMB_DEVICEID_NF4_73_SMB 0x07d8
+#define NFSMB_DEVICEID_NF4_78S_SMB 0x0752
+#define NFSMB_DEVICEID_NF4_79_SMB 0x0aa2
/* PCI Configuration space registers */
#define NF2PCI_SMBASE_1 PCIR_BAR(4)
@@ -158,6 +162,10 @@
case NFSMB_DEVICEID_NF4_55_SMB:
case NFSMB_DEVICEID_NF4_61_SMB:
case NFSMB_DEVICEID_NF4_65_SMB:
+ case NFSMB_DEVICEID_NF4_67_SMB:
+ case NFSMB_DEVICEID_NF4_73_SMB:
+ case NFSMB_DEVICEID_NF4_78S_SMB:
+ case NFSMB_DEVICEID_NF4_79_SMB:
device_set_desc(dev, "nForce2/3/4 MCP SMBus Controller");
return (BUS_PROBE_DEFAULT);
}
@@ -245,6 +253,10 @@
case NFSMB_DEVICEID_NF4_55_SMB:
case NFSMB_DEVICEID_NF4_61_SMB:
case NFSMB_DEVICEID_NF4_65_SMB:
+ case NFSMB_DEVICEID_NF4_67_SMB:
+ case NFSMB_DEVICEID_NF4_73_SMB:
+ case NFSMB_DEVICEID_NF4_78S_SMB:
+ case NFSMB_DEVICEID_NF4_79_SMB:
/* Trying to add secondary device as slave */
nfsmb_sc->subdev = device_add_child(dev, "nfsmb", -1);
if (!nfsmb_sc->subdev) {
--- nfsmb.c.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list