freebsd-skq/sys/dev/mps
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
..
mpi Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 2012-06-28 03:48:54 +00:00
mps_config.c Merge in phase 14+ -> 16 mps driver fixes from LSI: 2013-07-22 18:41:53 +00:00
mps_ioctl.h Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 2012-06-28 03:48:54 +00:00
mps_mapping.c Bring in LSI's phase19 changes 2014-07-30 18:21:06 +00:00
mps_mapping.h Bring in LSI's latest mps(4) 6Gb SAS and WarpDrive driver, version 2012-06-28 03:48:54 +00:00
mps_pci.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
mps_sas_lsi.c Bring in LSI's phase16 - phase18 changes 2014-07-30 17:58:17 +00:00
mps_sas.c Bring in LSI's phase19 changes 2014-07-30 18:21:06 +00:00
mps_sas.h Bring in LSI's phase16 - phase18 changes 2014-07-30 17:58:17 +00:00
mps_table.c Overhaul error, information, and debug logging. 2013-07-19 00:12:41 +00:00
mps_table.h
mps_user.c Refactor some code in mps.c to reduce header pollution. 2014-07-01 04:33:36 +00:00
mps.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
mpsvar.h Bring in LSI's phase19 changes 2014-07-30 18:21:06 +00:00