freebsd-dev/sys/dev/bxe
Hans Petter Selasky f0188618f2 Fix multiple incorrect SYSCTL arguments in the kernel:
- Wrong integer type was specified.

- Wrong or missing "access" specifier. The "access" specifier
sometimes included the SYSCTL type, which it should not, except for
procedural SYSCTL nodes.

- Logical OR where binary OR was expected.

- Properly assert the "access" argument passed to all SYSCTL macros,
using the CTASSERT macro. This applies to both static- and dynamically
created SYSCTLs.

- Properly assert the the data type for both static and dynamic
SYSCTLs. In the case of static SYSCTLs we only assert that the data
pointed to by the SYSCTL data pointer has the correct size, hence
there is no easy way to assert types in the C language outside a
C-function.

- Rewrote some code which doesn't pass a constant "access" specifier
when creating dynamic SYSCTL nodes, which is now a requirement.

- Updated "EXAMPLES" section in SYSCTL manual page.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2014-10-21 07:31:21 +00:00
..
57710_init_values.c Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
57710_int_offsets.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
57711_init_values.c Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
57711_int_offsets.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
57712_init_values.c Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
57712_int_offsets.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
bxe_dcb.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
bxe_debug.c Convert bxe(4) to use the driver API. 2014-06-02 18:54:45 +00:00
bxe_elink.c Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
bxe_elink.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
bxe_stats.c - Use if_inc_counter() to increment various counters. 2014-09-18 15:56:14 +00:00
bxe_stats.h - Use if_inc_counter() to increment various counters. 2014-09-18 15:56:14 +00:00
bxe.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
bxe.h Initiate error recovery stats fail to update after 3 retries. 2014-07-18 20:04:11 +00:00
ecore_fw_defs.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
ecore_hsi.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
ecore_init_ops.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
ecore_init.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
ecore_mfw_req.h Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
ecore_reg.h Initiate error recovery stats fail to update after 3 retries. 2014-07-18 20:04:11 +00:00
ecore_sp.c Modify Copyright information to reflect Qlogic Corporation's purchase 2014-05-06 02:32:27 +00:00
ecore_sp.h For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before 2014-09-17 22:49:29 +00:00