freebsd-nq/sys/dev/uart
Hans Petter Selasky 3da1cf1e88 Extend the meaning of the CTLFLAG_TUN flag to automatically check if
there is an environment variable which shall initialize the SYSCTL
during early boot. This works for all SYSCTL types both statically and
dynamically created ones, except for the SYSCTL NODE type and SYSCTLs
which belong to VNETs. A new flag, CTLFLAG_NOFETCH, has been added to
be used in the case a tunable sysctl has a custom initialisation
function allowing the sysctl to still be marked as a tunable. The
kernel SYSCTL API is mostly the same, with a few exceptions for some
special operations like iterating childrens of a static/extern SYSCTL
node. This operation should probably be made into a factored out
common macro, hence some device drivers use this. The reason for
changing the SYSCTL API was the need for a SYSCTL parent OID pointer
and not only the SYSCTL parent OID list pointer in order to quickly
generate the sysctl path. The motivation behind this patch is to avoid
parameter loading cludges inside the OFED driver subsystem. Instead of
adding special code to the OFED driver subsystem to post-load tunables
into dynamically created sysctls, we generalize this in the kernel.

Other changes:
- Corrected a possibly incorrect sysctl name from "hw.cbb.intr_mask"
to "hw.pcic.intr_mask".
- Removed redundant TUNABLE statements throughout the kernel.
- Some minor code rewrites in connection to removing not needed
TUNABLE statements.
- Added a missing SYSCTL_DECL().
- Wrapped two very long lines.
- Avoid malloc()/free() inside sysctl string handling, in case it is
called to initialize a sysctl from a tunable, hence malloc()/free() is
not ready when sysctls from the sysctl dataset are registered.
- Bumped FreeBSD version to indicate SYSCTL API change.

MFC after:	2 weeks
Sponsored by:	Mellanox Technologies
2014-06-27 16:33:43 +00:00
..
uart_bus_acpi.c uart: add resume method and enable it for attachments on the most common 2013-02-02 11:38:26 +00:00
uart_bus_ebus.c
uart_bus_fdt.c Make clock optional on uart nodes. It is a FreeBSD-specific extention, 2014-03-08 03:39:09 +00:00
uart_bus_isa.c uart: add resume method and enable it for attachments on the most common 2013-02-02 11:38:26 +00:00
uart_bus_pccard.c
uart_bus_pci.c add support for MosChip MCS9922... This is found on an ExpressCard.. 2014-06-22 06:54:36 +00:00
uart_bus_puc.c
uart_bus_scc.c
uart_bus.h uart: add resume method and enable it for attachments on the most common 2013-02-02 11:38:26 +00:00
uart_core.c Back out r262921. I don't know what I was thinking, but it is lame. 2014-03-08 19:59:52 +00:00
uart_cpu_fdt.c clock-frequency is a FreeBSD-specific extention. Make it optional and 2014-01-24 00:14:14 +00:00
uart_cpu_ia64.c
uart_cpu_pc98.c
uart_cpu_powerpc.c Real OF systems have an ihandle under /chosen/stdout, not a phandle. Use 2013-12-01 19:05:32 +00:00
uart_cpu_sparc64.c
uart_cpu_x86.c
uart_cpu.h Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_dbg.c
uart_dev_imx.c Reword a comment block a bit; no functional changes. 2014-04-26 20:27:58 +00:00
uart_dev_imx.h The freescale imx uart driver works for the whole i.MX family, so rename the 2014-04-26 17:56:39 +00:00
uart_dev_lpc.c Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_dev_ns8250.c Extend the meaning of the CTLFLAG_TUN flag to automatically check if 2014-06-27 16:33:43 +00:00
uart_dev_ns8250.h Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_dev_pl011.c Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_dev_quicc.c Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_dev_sab82532.c Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_dev_ti8250.c Add support for uarts other than the serial console in TI OMAP SoCs. 2013-08-21 14:33:02 +00:00
uart_dev_z8530.c Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_if.m Introduce grab and ungrab upcalls. When the kernel desires to grab the 2014-01-19 19:39:13 +00:00
uart_kbd_sun_tables.h
uart_kbd_sun.c
uart_kbd_sun.h
uart_subr.c Teach UART to attach Exynos/s3/s5 class driver. 2013-06-29 23:48:08 +00:00
uart_tty.c Do not prevent processes from making changes to the baudrate or the 2014-04-05 22:25:10 +00:00
uart.h Add Atmel serial drivers. 2014-01-23 18:09:10 +00:00