At 03:53 PM 10/2/2006, John Baldwin wrote:
The patch below fixes various nits (mostly adding locking) in most of the
smbus controller drivers we have in the tree.  It should apply to both HEAD
and RELENG_6 with the exception that the intpm(4) driver will require the
style fixes to be applied to RELENG_6 first.  If you aren't using intpm and
want to test on RELENG_6, you can just ignore that part of the patch.  Please
test, thanks.

http://www.FreeBSD.org/~jhb/patches/smbus_locking.patch


Compiles and seems to run on my TYAN Tomcat K8E S2865 BIOS V3.02

nfsmb0: <nForce2/3/4 MCP SMBus Controller> port 0xfc00-0xfc1f,0x1c00-0x1c3f,0x1c40-0x1c7f irq 20 at device 1.1 on pci0
smbus0: <System Management Bus> on nfsmb0
smb0: <SMBus generic I/O> on smbus0
nfsmb1: <nForce2/3/4 MCP SMBus Controller> on nfsmb0
smbus1: <System Management Bus> on nfsmb1
smb1: <SMBus generic I/O> on smbus1

[EMAIL PROTECTED]:1:0: class=0x060100 card=0x286510f1 chip=0x005010de rev=0xa3 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 PCI to ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
[EMAIL PROTECTED]:1:1: class=0x0c0500 card=0x286510f1 chip=0x005210de rev=0xa2 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    device   = 'nForce4 SMBus'
    class    = serial bus
    subclass = SMBus

Dont have any apps that can talk to it as mbmon doesnt understand this chipset

[tyan-1u]#  mbmon -S -s0 -d
No SMBus HWM available!!
InitMBInfo: Unknown error: 0
[tyan-1u]# mbmon -S -s1 -d
No SMBus HWM available!!
InitMBInfo: Unknown error: 0
[tyan-1u]#



--
John Baldwin
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to