Received: by mail.netbsd.org (Postfix, from userid 605) id A388B14A120; Fri, 8 Feb 2013 15:14:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 384DB14A14A for ; Fri, 8 Feb 2013 15:14:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id gWKA-538WYD6 for ; Fri, 8 Feb 2013 15:14:11 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 7708614A130 for ; Fri, 8 Feb 2013 15:14:11 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 49F29175DD; Fri, 8 Feb 2013 15:14:11 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Fri, 8 Feb 2013 15:14:11 +0000 From: "Julian Coleman" Subject: CVS commit: src/sys/dev/i2c To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20130208151411.49F29175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Julian Coleman" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: jdc Date: Fri Feb 8 15:14:11 UTC 2013 Modified Files: src/sys/dev/i2c: at24cxx.c Log Message: Handle direct configuration if ia->ia_name is set, using iic_compat_match(). If ia->ia_name is set, display the name on attach. Display the size (if known) on attach. Move the iic_acquire_bus() and iic_release_bus() calls inside the read and write loops, to avoid holding the bus for the full duration of the read or write. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/dev/i2c/at24cxx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.