HomeFreeBSD

netmap: don't use linux type struct device *

Description

netmap: don't use linux type struct device *

Such type cannot be used in code that is in common between
FreeBSD and Linux. Use the FreeBSD type instead.

MFC after: 3 days
Reported by: markj
Differential Revision: https://reviews.freebsd.org/D29677

(cherry picked from commit 70275a6735df8a514f48be77418491f2f8dba817)

Details

Provenance
vmaffioneAuthored on Apr 11 2021, 9:06 PM
markjCommitted on Apr 19 2021, 6:17 PM
Differential Revision
D29677: netmap: Use device_t in preference to struct device *
Parents
rG5b8039d5ed3e: linuxkpi: Fix pcie_set_readrq()
Branches
Unknown
Tags
Unknown