Date: Fri, 14 Jul 2006 23:15:07 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/iicbus iic.c iic.h iicbus.c iicbus.h iicbus_if.m iiconf.c iiconf.h Message-ID: <200607142315.k6ENF8ux058359@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2006-07-14 23:15:07 UTC FreeBSD src repository Modified files: sys/dev/iicbus iic.c iic.h iicbus.c iicbus.h iicbus_if.m iiconf.c iiconf.h Log: Allow iic bridges to support a generalized transfer, rather than forcing all transfers to do the start read/write stop by hand. Some smart bridges prefer this sort of operation, and this allows us to support their features more easily. When bridges don't support it, we fall back to using the old-style opertaions. Expand the ioctl interface to expose this function. Unlike the old-style interface, this interface is thread safe, even on old bridges. Revision Changes Path 1.35 +28 -1 src/sys/dev/iicbus/iic.c 1.4 +16 -0 src/sys/dev/iicbus/iic.h 1.22 +12 -11 src/sys/dev/iicbus/iicbus.c 1.6 +3 -0 src/sys/dev/iicbus/iicbus.h 1.7 +10 -0 src/sys/dev/iicbus/iicbus_if.m 1.15 +42 -0 src/sys/dev/iicbus/iiconf.c 1.9 +6 -0 src/sys/dev/iicbus/iiconf.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607142315.k6ENF8ux058359>