Torbjorn Kristoffersen writes:
> I'm porting a Linux module that reads system health information (such as
> voltages and temperatures) from a WinBond W83781D chip.
> 
> What's the best way of extracting such info from the chip? In the Linux
> module it uses the regular inb(), outb(), set() etc. to read
> the raw data, and then making it look nice and dandy using
> a readable file in the proc filesystem.
> I'm not sure how to do this in FreeBSD..

Check out the "healthd" port which shows how to do it via
/dev/io or /dev/smb0.

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to