freebsd-nq/sys/dev/oce
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
..
oce_hw.c Apply vendor fixes for big endian support and 20GBps/25GBps link speeds. 2014-06-24 20:11:22 +00:00
oce_hw.h Apply vendor fixes for big endian support and 20GBps/25GBps link speeds. 2014-06-24 20:11:22 +00:00
oce_if.c Improve transmit sending offload, TSO, algorithm in general. 2014-09-22 08:27:27 +00:00
oce_if.h Improve transmit sending offload, TSO, algorithm in general. 2014-09-22 08:27:27 +00:00
oce_mbox.c Cast queue length because q_len isn't really an enum in the same sense 2014-08-07 21:56:46 +00:00
oce_queue.c Update driver to version 10.0.664.0. 2013-10-23 18:58:38 +00:00
oce_sysctl.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
oce_util.c Fix teardown of static DMA allocations in various NIC drivers: 2014-06-17 14:47:49 +00:00