[PATCH] Various smbus(4) driver fixups and locking
Mike Tancsa
mike at sentex.net
Tue Oct 3 02:47:37 UTC 2006
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
isab0 at pci0: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
nfsmb0 at pci0: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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-stable
mailing list