Received: by mail.netbsd.org (Postfix, from userid 605) id AB38584E44; Thu, 7 Jun 2018 05:07:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F05BF84E08 for ; Thu, 7 Jun 2018 05:07:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id GMrsS7SUBPht for ; Thu, 7 Jun 2018 05:07:28 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 77ECF84DF0 for ; Thu, 7 Jun 2018 05:07:28 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 66C17FBEC; Thu, 7 Jun 2018 05:07:28 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 7 Jun 2018 05:07:28 +0000 From: "Jason R Thorpe" Subject: CVS commit: src/sys/arch/arm/broadcom To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180607050728.66C17FBEC@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: "Jason R Thorpe" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: thorpej Date: Thu Jun 7 05:07:28 UTC 2018 Modified Files: src/sys/arch/arm/broadcom: bcm2835_bsc.c Log Message: A minimal change to prevent the Raspberry Pi i2c driver from looping forever if the command buffer and data buffer are both NULL. XXX This driver needs an overhaul. Also, preemptively return an error if we get a 10-bit address, because we don't yet handle them correctly. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/arm/broadcom/bcm2835_bsc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.