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)
Wed, Oct 2, 3:29 AM
Unknown Object (File)
Wed, Sep 18, 5:25 PM
Unknown Object (File)
Wed, Sep 18, 5:25 PM
Unknown Object (File)
Wed, Sep 18, 4:53 PM
Unknown Object (File)
Wed, Sep 18, 2:08 AM
Unknown Object (File)
Mon, Sep 16, 12:43 AM
Unknown Object (File)
Sun, Sep 8, 4:20 PM
Unknown Object (File)
Sat, Sep 7, 6:50 PM

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