From owner-cvs-all@FreeBSD.ORG Fri Jul 14 23:15:09 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 250EB16A4DA; Fri, 14 Jul 2006 23:15:09 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E666F43D45; Fri, 14 Jul 2006 23:15:08 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6ENF8Aj058363; Fri, 14 Jul 2006 23:15:08 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6ENF8ux058359; Fri, 14 Jul 2006 23:15:08 GMT (envelope-from imp) Message-Id: <200607142315.k6ENF8ux058359@repoman.freebsd.org> From: Warner Losh Date: Fri, 14 Jul 2006 23:15:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/iicbus iic.c iic.h iicbus.c iicbus.h iicbus_if.m iiconf.c iiconf.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 23:15:09 -0000 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