Received: by mail.netbsd.org (Postfix, from userid 605) id 5126084ECC; Thu, 7 Jun 2018 13:35:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 612A684E96 for ; Thu, 7 Jun 2018 13:35:32 +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 varBD0NdsAF1 for ; Thu, 7 Jun 2018 13:35:31 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id D528384C71 for ; Thu, 7 Jun 2018 13:35:31 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CE734FBEC; Thu, 7 Jun 2018 13:35:31 +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 13:35:31 +0000 From: "Jason R Thorpe" Subject: CVS commit: src/sys/arch/x86/x86 To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20180607133531.CE734FBEC@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 13:35:31 UTC 2018 Modified Files: src/sys/arch/x86/x86: x86_autoconf.c Log Message: In device_register(), if the device is an "iic" child of "imcsmb", attach a I2C_PROP_INDIRECT_DEVICE_WHITELIST property that limits the allowed devices to "spdmem" and "sdtemp". Also set the I2C_PROP_INDIRECT_PROBE_STRATEGY property to I2C_PROBE_STRATEGY_NONE, since that controller can't issue any of the "quick" commands. XXX It would be nice to be able to do this in the imcsmb driver itself, but the way autoconfiguration works makes that infeasible. To generate a diff of this commit: cvs rdiff -u -r1.76 -r1.77 src/sys/arch/x86/x86/x86_autoconf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.