Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Oct 2006 22:45:42 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        John Baldwin <jhb@freebsd.org>
Cc:        stable@freebsd.org
Subject:   Re: [PATCH] Various smbus(4) driver fixups and locking
Message-ID:  <7.0.1.0.0.20061002222506.12a95f18@sentex.net>
In-Reply-To: <200610021553.27195.jhb@freebsd.org>
References:  <200610021553.27195.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.1.0.0.20061002222506.12a95f18>