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
Differential Revision
D29677: netmap: Use device_t in preference to struct device *
Parents
rGf7691b18b76e: netmap: vale: fix disabled logs
Branches
Unknown
Tags
Unknown