freebsd-skq/sys/dev/bnxt
Mark Johnston ffe3def903 iflib: Make if_shared_ctx_t a pointer to const
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
2021-03-08 12:39:06 -05:00
..
bnxt_hwrm.c bnxt: clean up empty lines in .c and .h files 2020-09-01 21:43:23 +00:00
bnxt_hwrm.h
bnxt_ioctl.h
bnxt_sysctl.c bnxt: clean up empty lines in .c and .h files 2020-09-01 21:43:23 +00:00
bnxt_sysctl.h
bnxt_txrx.c iflib: leave only 1 receive descriptor unused 2020-09-01 20:41:47 +00:00
bnxt.h bnxt: clean up empty lines in .c and .h files 2020-09-01 21:43:23 +00:00
convert_hsi.pl
hsi_struct_def.h
if_bnxt.c iflib: Make if_shared_ctx_t a pointer to const 2021-03-08 12:39:06 -05:00