freebsd-dev/sys/powerpc/powermac
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
..
ata_dbdma.c - With the demise of !ATA_CAM, ATA_STATIC_ID is the only ata(4) related 2013-04-06 19:12:49 +00:00
ata_dbdma.h
ata_kauai.c Move the resource allocation from the ata_*_probe section to the ata_*_attach 2013-10-15 18:59:32 +00:00
ata_macio.c Add suspend/resume to DBDMA and ATA on PowerMacs. 2013-12-21 00:07:56 +00:00
atibl.c Clear the backlight level when it's turned off. Also, reduce the delay times to 2014-04-06 23:57:19 +00:00
cpcht.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
cuda.c
cudavar.h
dbdma.c Add suspend/resume to DBDMA and ATA on PowerMacs. 2013-12-21 00:07:56 +00:00
dbdmavar.h Add suspend/resume to DBDMA and ATA on PowerMacs. 2013-12-21 00:07:56 +00:00
fcu.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
grackle.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
gracklevar.h Unify OF PCI infrastructure, including changing from parsing the device 2012-02-04 19:54:13 +00:00
hrowpic.c Remove bogus __unused attribute from hrowpic_eoi(). 2012-07-01 19:07:45 +00:00
hrowpicvar.h
kiic.c Return EIO iso -1, the kiic_transfer has an signed return. 2013-08-23 20:39:41 +00:00
macgpio.c Save and restore the GPIOs on the macio for suspend/resume. 2014-01-11 06:35:29 +00:00
macgpiovar.h Save and restore the GPIOs on the macio for suspend/resume. 2014-01-11 06:35:29 +00:00
macio.c Rename OF_xref_phandle() to OF_node_from_xref() and add a new function 2014-09-01 18:51:01 +00:00
maciovar.h Fix the resource information for the i2s-a node on certain G5 PowerMacs. 2014-01-20 21:54:05 +00:00
nvbl.c Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this 2013-11-30 22:17:27 +00:00
platform_powermac.c Unbreak non-SMP builds. This was broken by r259284. Also, reorganize the 2014-01-31 03:55:34 +00:00
pmu.c Add a sysctl to allow disabling the monitoring thread. 2014-10-15 02:31:14 +00:00
pmuvar.h Add PMU-based CPU frequency scaling. This method is used on most Titanium 2013-12-13 02:37:35 +00:00
powermac_thermal.c Be a little more suspicious of thermal sensors, which can have single 2013-10-25 03:55:52 +00:00
powermac_thermal.h
pswitch.c
smu.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
smusat.c Improve error handling in smusat(4). 2012-02-15 16:59:24 +00:00
uninorth.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
uninorthpci.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
uninorthvar.h Add PMU-based CPU frequency scaling. This method is used on most Titanium 2013-12-13 02:37:35 +00:00
vcoregpio.c
viareg.h Add PMU-based CPU frequency scaling. This method is used on most Titanium 2013-12-13 02:37:35 +00:00