Received: by mail.netbsd.org (Postfix, from userid 605) id 29E2D84D4D; Sun, 16 May 2021 05:16:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5D21084CF1 for ; Sun, 16 May 2021 05:16:22 +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 TJ-JU5wXNgug for ; Sun, 16 May 2021 05:16:22 +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 E483684CD8 for ; Sun, 16 May 2021 05:16:21 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D19DCFA95; Sun, 16 May 2021 05:16:21 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 16 May 2021 05:16:21 +0000 From: "Jason R Thorpe" Subject: CVS commit: [thorpej-i2c-spi-conf] src/sys/dev/i2c To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210516051621.D19DCFA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: 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: Sun May 16 05:16:21 UTC 2021 Modified Files: src/sys/dev/i2c [thorpej-i2c-spi-conf]: spdmem_i2c.c Log Message: SPD stands for "Serial Presence Detect". This implies that if we're using direct configuration that we should treat that as a *hint*... it's entirely possible that a device tree lists locations where SPD memory can be found, not necessarily where memory is known to be present. Accordingly, if we get a direct configuration match based on compatible data or device name, we still check to see if the device is there. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.21.4.1 src/sys/dev/i2c/spdmem_i2c.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.