Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Recognize the i2c bus on the AMD768 PCI-ISA/LPC ...



details:   https://anonhg.NetBSD.org/src/rev/25c163aa9242
branches:  trunk
changeset: 751539:25c163aa9242
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Feb 07 20:55:46 2010 +0000

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

Resolves PR/42759 - thanks Michael Stapelberg

diffstat:

 sys/dev/pci/amdpm.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 2d10a29a75dc -r 25c163aa9242 sys/dev/pci/amdpm.c
--- a/sys/dev/pci/amdpm.c       Sun Feb 07 19:43:11 2010 +0000
+++ b/sys/dev/pci/amdpm.c       Sun Feb 07 20:55:46 2010 +0000
@@ -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);
        }



Home | Main Index | Thread Index | Old Index