From nobody Thu Jun 23 21:25:51 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6158F879939; Thu, 23 Jun 2022 21:25:53 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LTYFs2NH4z4kwR; Thu, 23 Jun 2022 21:25:53 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656019553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YJucX+UcsKyvr8HQfpcuGXc3/fqFfsVFyDoYjVjMtlw=; b=k7gbGreb3Y8b0GvC+cSF9QKXDfzOVllnPFhYZCT/PPKAuZpWmd5Z556Ge0xYJWm8wye8DU KzvWdFLvT6ikhEk4/w6Q+Osoify/88ThgT/cyd5T9nuHpy6gJzVPCRs/O//jDvDuH+hZgk /+88Wuht2sak7OmKYFEN9nrxxjJwQqy7p4q/AHvdyxNCUxW4ArO12YN4MAKo0ADrgct4OL GxuBBtWPB1Tp1mWLpI2n0NDzFGdycDWPqy70o/AKaKp8ZnvvD/cIO6qG4DGiSjXg1hybBS QU7WUy0W5ywcmWxY31SE3VdMa0d74s/mJOeKGv/l339i3+CudC8BggYcAii/pA== Received: from [10.0.1.4] (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 88EC22994; Thu, 23 Jun 2022 21:25:52 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: Date: Thu, 23 Jun 2022 14:25:51 -0700 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: git: 29afffb942b1 - main - subr_bus: restore bus_null_rescan() Content-Language: en-US To: Mitchell Horne , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202206231907.25NJ7NCg083704@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: <202206231907.25NJ7NCg083704@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656019553; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YJucX+UcsKyvr8HQfpcuGXc3/fqFfsVFyDoYjVjMtlw=; b=VOSsmXx/dgDYjsuoe3EYP/FSxufOTqIap/le7L0WTJ9ldQoAOZOGJ6ifMLpsgWp3TSPX7T 7TxJ94hRZd3/IdP4MMkhlOIiGPPxiohoEUPda2Tpce5KpEShI3fVLrvYoaZtg3Png0L8Jj S/knEezPf3evk17hZEMK3OBC3qbxCM6Cf1vY/N8aZKbhb5pMl8Tu0PWj4pe4CeenYfPfeQ ZCZNO0Yy1/yM86Cbmio9vNBeAsH5xpgbWR42R6g3Hhh5tq9X1gFdjUrHfDkytV7zpofe0/ JjpAQ9yTd1YK7IL4hPmJycq7k8c7XSzD+10M8bvtjPi6p5Bz3HEwpArwa8pbVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656019553; a=rsa-sha256; cv=none; b=Y3fq6KVpiHQCpidb0F2wK4umrKLKIy4yF4t+r9UKx1IFLlO/kDW7eKqxOQctQ6ix3Px9Ip U0/BrnnZ8KEXyWFpgHIeTc7dvDKyNKLhpxInOQHpmVQ0uS/FqNhrH1rBSGZ6vGs6XPiuNX ogGvEP1Y0DkM3JpeAA+hBPeOOFoz6ToYzvKm2eh7Cz4GwROfGzKlS0VKCm34xltB4z//t7 M+1XlLq11eqELRTq8MKgvjuZYQC0qaQ/bMcqwXNB36CocnYvU5wXcELwmFrh+dNUe2UJpi Ebc7tND5cwmTbi/QfvI7BHy5oDCFQiMAk4taiQlDDVnG+M8VO72mlCejBrM5SA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 6/23/22 12:07 PM, Mitchell Horne wrote: > The branch main has been updated by mhorne: > > URL: https://cgit.FreeBSD.org/src/commit/?id=29afffb942b159511ad7d5ea5d086851f65ef4a0 > > commit 29afffb942b159511ad7d5ea5d086851f65ef4a0 > Author: Mitchell Horne > AuthorDate: 2022-06-23 18:44:28 +0000 > Commit: Mitchell Horne > CommitDate: 2022-06-23 19:07:00 +0000 > > subr_bus: restore bus_null_rescan() > > Partially revert the previous change; we need to keep this method as a > specific override for pci_driver subclasses which should not use > pci_rescan_method() -- cardbus and ofw_pcibus. However, change the return > value to ENODEV for the same reasoning given in the original commit, and > use this as the default rescan method in bus_if.m. > > Reported by: jhb > Fixes: 36a8572ee8f5 ("bus_if: provide a default null rescan method") > MFC with: 36a8572ee8f5 Thanks! -- John Baldwin