Date: Thu, 10 Jun 2004 21:56:53 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pcf pcf_ebus.c Message-ID: <200406102156.i5ALurm1009113@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2004-06-10 21:56:53 UTC FreeBSD src repository Added files: sys/dev/pcf pcf_ebus.c Log: 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 Revision Changes Path 1.1 +261 -0 src/sys/dev/pcf/pcf_ebus.c (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406102156.i5ALurm1009113>