Subject: SMBus implementation
To: None <firstname.lastname@example.org>
From: Jared D. McNeill <email@example.com>
Date: 10/25/2005 20:07:01
So I was bored, and decided to whip up some SMBus support code. Feedback
would be great.
FreeBSD-compatible /dev/smb* devices.
Support for the VIA VT8235 SMBus controller (on PCI-ISA bridge).
No ability to attach hw drivers to the smbus device.
Maybe tie it in a bit tighter with the i2c stuff?
If you're feeling dangerous, the code is available here:
To use (to -current);
1. Apply the patch, untar archive into source tree.
2. Add the following to your kernel config:
viapcib* at pci? dev ? function ?
smbus* at viapcib?
3. Create devices:
cp MAKEDEV /dev
sh MAKEDEV smb
4. Install the smbus headers:
5. Grab 'smbmsg' from the FreeBSD source tree. It should compile as-is.
6. Start poking around.
I'll hold off on committing this for a while until it's better tested,
and I hear some feedback telling me where I've gone wrong :)