HomeFreeBSD

linuxkpi: Fix pcie_set_readrq()

Description

linuxkpi: Fix pcie_set_readrq()

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

Reviewed by: manu, hselasky, bz
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29675

Details

Provenance
markjAuthored on Apr 12 2021, 1:32 PM
Reviewer
manu
Differential Revision
D29675: linuxkpi: Fix pcie_set_readrq()
Parents
rG56cbd386fbae: qlnxr: Properly initialize the Linux device structure
Branches
Unknown
Tags
Unknown