Page MenuHomeFreeBSD

linuxkpi: Fix pcie_set_readrq()
ClosedPublic

Authored by markj on Apr 9 2021, 3:46 PM.

Details

Summary

We were passing a LinuxKPI struct device * to a pci(4) function that
expects a device_t.

Only mthca uses this routine, and not by default.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

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.