summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/pcf8584.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Read status register after all writes to the pcf8584 controller. Alegedlykettenis2010-08-011-3/+4
| | | | | | | this is what (Open)Solaris does and it makes the i2c controller on the blade2.5k work. From NetBSD. Tested by sthen@, ok deraadt@
* Remove volatile from function return values since gcc4 complains about themkettenis2010-04-301-5/+5
| | | | | | | and they don't make any sense (the old deprecated GCC way of marking noreturn functions is surely not what was meant here). ok jsg@, guenther@, marco@
* Move a few more definitions to pcf8584var.h. Needed for SUNW,envctrl andkettenis2007-10-201-6/+1
| | | | | | SUNW,envctrltwo support. ok deraadt@
* Switch pcfiic to rwlock.jsg2007-05-211-5/+5
| | | | ok dlg@ kettenis@
* BBC-based machines swap the two registers (good going Sun -- that is why wederaadt2006-06-221-36/+38
| | | | | don't get documentation, right?), and the clock fed into the chip can vary from model to model; help & testing from dlg
* properly handle timeout failure in while loopderaadt2006-06-211-3/+3
|
* tighten this code upderaadt2006-06-151-23/+15
|
* no more infinite loops; tested by dlgderaadt2006-06-141-5/+14
|
* support the iic busses on the ultrasparc III machines (something is stillderaadt2006-06-141-27/+33
| | | | wrong, likely clocking); tested to not break older machines by dlg & djm
* dont clutter up dmesg with useless or redundant informationdlg2006-02-011-3/+2
| | | | prodded by deraadt@
* a driver for the phillips pcf8584 i2c controller as found on the sun netradlg2006-02-011-0/+312
t1 105. tested by henning@ djm@ ok kettenis@ put it in deraadt@