cvs commit: src/sys/pci amdpm.c

Ruslan Ermilov ru at freebsd.org
Fri Dec 16 14:26:41 PST 2005


On Fri, Dec 16, 2005 at 04:03:00PM -0600, Jeremy Messenger wrote:
> >Yes.  Please change ID_NFORCE2 define in pci_pm.h (in xmbmon sources)
> >from 0x006410DE to 0x008410DE, this will "add support for your SMBus
> >controller to xmbmon".  I doubt it will ever work, but just to be
> >absolutely sure, try again mbmon commands I asked and show me the
> >output.
> 
> # mbmon -A -d
> Summary of Detection:
>  * SMB monitor(s)[ioctl:NVidia nForce2]:
>   ** Genesys Logic GL518SM_rev80 found at slave address: 0x58.
>  * ISA monitor(s):
>   ** Winbond Chip W83627HF/THF/THF-A found.
>   ** Int.Tec.Exp. Chip IT8705F/IT8712F or SIS950 found.
> 
> # mbmon -S 8
> 
> Temp.=  9.0,  0.0,  0.0; Rot.=  937,    0,    0
> Vcore = 2.74, 0.00; Volt. = 2.74, 3.31, 11.48,   0.00,  0.00
> 
> Temp.= 25.0,  0.0,  0.0; Rot.=  833,    0,    0
> Vcore = 3.04, 0.00; Volt. = 3.04, 3.68, 12.76,   0.00,  0.00
> 
> Temp.= 41.0,  0.0,  0.0; Rot.=  750,    0,    0
> Vcore = 3.34, 0.00; Volt. = 3.34, 4.05, 14.03,   0.00,  0.00
> 
> Temp.= 57.0,  0.0,  0.0; Rot.=  681,    0,    0
> Vcore = 2.43, 0.00; Volt. = 2.43, 2.94, 10.20,   0.00,  0.00
> 
> Temp.=  9.0,  0.0,  0.0; Rot.=  937,    0,    0
> Vcore = 2.74, 0.00; Volt. = 2.74, 3.31, 11.48,   0.00,  0.00
> 
Not surprisingly that I get exactly the same nonsense on my nForce3:

amdpm0 at pci0:1:1:        class=0x0c0500 card=0x80c51043 chip=0x00d410de rev=0xa4 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce MCP3? SMBus Controller'
    class    = serial bus
    subclass = SMBus

./mbmon -S -d
Using SMBus-ioctl access method[NVidia nForce2]!!
* Genesys Logic GL518SM_rev80 found.

./mbmon -S -c8 1

Temp.=  9.0,  0.0,  0.0; Rot.=  937,    0,    0
Vcore = 2.74, 0.00; Volt. = 2.74, 3.31, 11.48,   0.00,  0.00

Temp.= 25.0,  0.0,  0.0; Rot.=  833,    0,    0
Vcore = 3.04, 0.00; Volt. = 3.04, 3.68, 12.76,   0.00,  0.00

Temp.= 41.0,  0.0,  0.0; Rot.=  750,    0,    0
Vcore = 3.34, 0.00; Volt. = 3.34, 4.05, 14.03,   0.00,  0.00

Temp.= 57.0,  0.0,  0.0; Rot.=  681,    0,    0
Vcore = 2.43, 0.00; Volt. = 2.43, 2.94, 10.20,   0.00,  0.00

Temp.=  9.0,  0.0,  0.0; Rot.=  937,    0,    0
Vcore = 2.74, 0.00; Volt. = 2.74, 3.31, 11.48,   0.00,  0.00

Temp.= 25.0,  0.0,  0.0; Rot.=  833,    0,    0
Vcore = 3.04, 0.00; Volt. = 3.04, 3.68, 12.76,   0.00,  0.00

Temp.= 41.0,  0.0,  0.0; Rot.=  750,    0,    0
Vcore = 3.34, 0.00; Volt. = 3.34, 4.05, 14.03,   0.00,  0.00

Temp.= 57.0,  0.0,  0.0; Rot.=  681,    0,    0
Vcore = 2.43, 0.00; Volt. = 2.43, 2.94, 10.20,   0.00,  0.00

Exactly the same non-sense, with cycle count of four.

OK, I'm going to add a true AMD-8111 SMBus 2.0 support which
should also cover nForce-2/3/4 chipsets.  For now, John, I
believe you're safe to revert your commit (I'll make it a
separate driver, nf2pm.c perhaps).


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20051217/0305418d/attachment.bin


More information about the cvs-src mailing list