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
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29675

(cherry picked from commit 3f322b22e02d6aae147e9948ab50ca1bee9a9dd4)

Details

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