Page MenuHomeFreeBSD

LinuxKPI: return value for linux_pci_probe()
ClosedPublic

Authored by bz on Jan 17 2022, 12:51 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.