Re: git: 29afffb942b1 - main - subr_bus: restore bus_null_rescan()

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 23 Jun 2022 21:25:51 UTC
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 <mhorne@FreeBSD.org>
> AuthorDate: 2022-06-23 18:44:28 +0000
> Commit:     Mitchell Horne <mhorne@FreeBSD.org>
> 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