freebsd-dev/sys/dev/pcf
Marius Strobl 397f6b1e7f Add a first version of a pcf(4) front-end for the Sun i2c devices ("i2c"
is the actual name here) on EBus and which are PCF8584 (on systems having
a boot-bus controller the i2c are said to not be a PCF8584). Similar to the
SUNW,envctrl devices, onboard slaves for monitoring fans, temperatures and
such hang off of these i2c devices. But there's also stuff like EEPROMs
housing the hostid of the system and the boards usally have a connector to
add custom slave devices (on CP1500 there's actually a second PCF8584 with
its own I2C bus for these).
This driver already works fine but I'm not yet sure if access to the slave
devices on CP1400/CP1500 marked as "reserved for factory use" in the docs
should be blocked (most likely these are the voltage controllers wich aren't
meant to be controller by software and even not by the firmware). Once the
issues with polled mode are fixed in the common pcf(4) part in pcf.c, this
front-end should probably honour the poll-mode property of the i2c devices.
Tested on Ultra AXe and CP1500 (Netra t1 100).

OK'ed by:	joerg, nsouch
2004-06-10 21:56:52 +00:00
..
envctrl.c - Add missing <sys/module.h>. 2004-06-10 21:53:04 +00:00
pcf_ebus.c Add a first version of a pcf(4) front-end for the Sun i2c devices ("i2c" 2004-06-10 21:56:52 +00:00
pcf_isa.c - Add missing <sys/module.h>. 2004-06-10 21:51:39 +00:00
pcf.c Necessary modifications do get pcf working again for ISA. Tested with 2004-05-31 14:24:21 +00:00
pcfvar.h Round #1 of improving pcf(4). 2004-05-25 07:42:45 +00:00