Page MenuHomeFreeBSD

LinuxKPI: return value for linux_pci_probe()
ClosedPublic

Authored by bz on Jan 17 2022, 12:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 1:27 PM
Unknown Object (File)
Fri, Nov 1, 3:14 AM
Unknown Object (File)
Thu, Oct 24, 5:20 AM
Unknown Object (File)
Tue, Oct 22, 6:06 AM
Unknown Object (File)
Oct 20 2024, 10:50 PM
Unknown Object (File)
Oct 7 2024, 9:58 AM
Unknown Object (File)
Oct 3 2024, 1:24 PM
Unknown Object (File)
Oct 2 2024, 3:29 AM

Details

Summary

In linux_pci_probe() return BUS_PROBE_DEFAULT rather than 0.
Using DEFAULT seems to be to best match as it will have to work for
all LinuXKPI based drivers using PCI.
Older or other native drivers can adjust their priority relative to this
more easily than to 0 (which is BUS_PROBE_SPECIFIC).

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable