freebsd-skq/sys/dev/mpr
hselasky 49c137f7be 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
..
mpi
mpr_config.c
mpr_ioctl.h
mpr_mapping.c
mpr_mapping.h
mpr_pci.c
mpr_sas_lsi.c Add #ifdefs in the mpr(4) driver so that versions of stable/9 that 2014-05-08 20:46:46 +00:00
mpr_sas.c Properly report 12Gbps connection rate. 2014-10-08 16:22:26 +00:00
mpr_sas.h
mpr_table.c Properly report 12Gbps connection rate. 2014-10-08 16:22:26 +00:00
mpr_table.h
mpr_user.c
mpr.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
mprvar.h