NetBSD-Bugs archive

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

kern/42759: amdpm(4) does not attach the smbus on AMD768 chips



>Number:         42759
>Category:       kern
>Synopsis:       amdpm(4) does not attach the smbus on AMD768 chips
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 07 00:45:00 +0000 2010
>Originator:     Michael Stapelberg
>Release:        5.0.1
>Organization:
>Environment:
NetBSD  5.0.1 NetBSD 5.0.1 (FLOBIMVRO) #19: Sun Feb  7 01:20:34 CET 2010  
root@:/usr/src/sys/arch/i386/compile/FLOBIMVRO i386
>Description:
The amdpm(4) driver does not attach the smbus, thus drivers using i2c cannot be 
used.
>How-To-Repeat:
Load amdpm, notice that there is no iic0
>Fix:
Index: pci/amdpm.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/amdpm.c,v
retrieving revision 1.30
diff -u -r1.30 amdpm.c
--- pci/amdpm.c 28 Apr 2008 20:23:54 -0000      1.30
+++ pci/amdpm.c 7 Feb 2010 00:37:46 -0000
@@ -156,6 +156,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