This structure is shared among multiple instances of a driver, so we should ensure that it doesn't somehow get treated as if there's a separate instance per interface. This is especially important for software-only drivers like wg. DEVICE_REGISTER() still returns a void * and so the per-driver sctx structures are not yet defined with the const qualifier. Reviewed by: gallatin, erj MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29102 |
||
---|---|---|
.. | ||
bnxt_hwrm.c | ||
bnxt_hwrm.h | ||
bnxt_ioctl.h | ||
bnxt_sysctl.c | ||
bnxt_sysctl.h | ||
bnxt_txrx.c | ||
bnxt.h | ||
convert_hsi.pl | ||
hsi_struct_def.h | ||
if_bnxt.c |