Module Name:    src
Committed By:   pgoyette
Date:           Sun Feb  7 20:55:46 UTC 2010

Modified Files:
        src/sys/dev/pci: amdpm.c

Log Message:
Recognize the i2c bus on the AMD768 PCI-ISA/LPC Bridge

Resolves PR/42759 - thanks Michael Stapelberg


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/dev/pci/amdpm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/amdpm.c
diff -u src/sys/dev/pci/amdpm.c:1.33 src/sys/dev/pci/amdpm.c:1.34
--- src/sys/dev/pci/amdpm.c:1.33	Tue May 12 08:22:59 2009
+++ src/sys/dev/pci/amdpm.c	Sun Feb  7 20:55:46 2010
@@ -1,4 +1,4 @@
-/*	$NetBSD: amdpm.c,v 1.33 2009/05/12 08:22:59 cegger Exp $	*/
+/*	$NetBSD: amdpm.c,v 1.34 2010/02/07 20:55:46 pgoyette Exp $	*/
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdpm.c,v 1.33 2009/05/12 08:22:59 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amdpm.c,v 1.34 2010/02/07 20:55:46 pgoyette Exp $");
 
 #include "opt_amdpm.h"
 
@@ -155,6 +155,7 @@
 
 	/* try to attach devices on the smbus */
 	if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_AMD_PBC8111_ACPI ||
+	    PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_AMD_PBC768_PMC ||
 	    sc->sc_nforce) {
 		amdpm_smbus_attach(sc);
 	}

Reply via email to