freebsd-dev/sys/dev/mxge
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
..
eth_z8e.h Update mxge(4) firmware to the latest version available from 2012-05-29 00:53:51 +00:00
ethp_z8e.h Update mxge(4) firmware to the latest version available from 2012-05-29 00:53:51 +00:00
if_mxge_var.h Since 32-bit if_baudrate isn't enough to describe a baud rate of a 10 Gbit 2014-03-13 03:42:24 +00:00
if_mxge.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
mcp_gen_header.h
mxge_eth_z8e.c Revert previous commit... 2012-10-10 08:36:38 +00:00
mxge_ethp_z8e.c Revert previous commit... 2012-10-10 08:36:38 +00:00
mxge_mcp.h Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
mxge_rss_eth_z8e.c Revert previous commit... 2012-10-10 08:36:38 +00:00
mxge_rss_ethp_z8e.c Revert previous commit... 2012-10-10 08:36:38 +00:00
rss_eth_z8e.h Update mxge(4) firmware to the latest version available from 2012-05-29 00:53:51 +00:00
rss_ethp_z8e.h Update mxge(4) firmware to the latest version available from 2012-05-29 00:53:51 +00:00