Re: Add SB800+ SMBus support to piixpm.

2011-05-22 Thread Stuart Henderson
On 2011/05/21 23:34, Mark Kettenis wrote: > > Cool! Anybody around who can test this diff on a machine with non-AMD > piixpm(4)? No negative impact on HT-1000. OpenBSD 4.9-current (GENERIC.MP) #1: Sun May 22 10:42:04 BST 2011 st...@symphytum.spacehopper.org:/usr/src/sys/arch/amd64/compile/G

Re: Add SB800+ SMBus support to piixpm.

2011-05-21 Thread Mark Kettenis
> Date: Sat, 21 May 2011 17:08:07 -0400 > From: Brynet > > On Sat, May 21, 2011 at 10:32:01PM +0200, Mark Kettenis wrote: > > > Date: Thu, 19 May 2011 19:09:36 -0400 > > > From: Brynet > > > > > > Here it is a again with the magic relocated to piixreg.h. > > > > > > To clarify, if you have: >

Re: Add SB800+ SMBus support to piixpm.

2011-05-21 Thread Brynet
On Sat, May 21, 2011 at 10:32:01PM +0200, Mark Kettenis wrote: > > Date: Thu, 19 May 2011 19:09:36 -0400 > > From: Brynet > > > > Here it is a again with the magic relocated to piixreg.h. > > > > To clarify, if you have: > > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" > > > > Then check

Re: Add SB800+ SMBus support to piixpm.

2011-05-21 Thread Mark Kettenis
> Date: Thu, 19 May 2011 19:09:36 -0400 > From: Brynet > > Here it is a again with the magic relocated to piixreg.h. > > To clarify, if you have: > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" > > Then check if the revision is >= 0x40, which is the relevant southbridge. > > If it works,

Re: Add SB800+ SMBus support to piixpm.

2011-05-19 Thread Brynet
Here it is a again with the magic relocated to piixreg.h. To clarify, if you have: piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" Then check if the revision is >= 0x40, which is the relevant southbridge. If it works, you'll see pretty stuff like this:: spdmem0 at iic addr 0x50: 2GB DDR3 SDR

Re: Add SB800+ SMBus support to piixpm.

2011-05-18 Thread Brynet
This adds support for SB800+ and is a little easier to understand, but it probably isn't very pretty. Information obtained from AMD SB800 datasheets, 45481.pdf/45482.pdf/45483.pdf. Any comments? I'm not really sure if playing with non-pci I/O space in a PCI driver makes sense.. but there really i

Re: Add SB800+ SMBus support to piixpm.

2011-04-24 Thread Brynet
On Sun, Apr 24, 2011 at 12:23:03AM -0400, Brynet wrote: > I sent this accidentally (..and mangled) a few minutes ago, so, here > it is again.. allows iic(4)/spdmem(4) to attach on my laptop. > > Works for me, let me know if there is a better way. > > -Bryan. Ignore this for now, I can't figure o

Add SB800+ SMBus support to piixpm.

2011-04-23 Thread Brynet
I sent this accidentally (..and mangled) a few minutes ago, so, here it is again.. allows iic(4)/spdmem(4) to attach on my laptop. Works for me, let me know if there is a better way. -Bryan. Index: dev/pci/piixpm.c === RCS file: /cv