cleanup: include/: move uart.h to drivers/uart.h

move uart.h to drivers/uart.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-25 15:54:01 -04:00
commit d1b2718687
70 changed files with 1234 additions and 1219 deletions

View file

@ -5,7 +5,7 @@
*/ */
#include <drivers/gpio.h> #include <drivers/gpio.h>
#include <uart.h> #include <drivers/uart.h>
#include <device.h> #include <device.h>
#define RESET_PIN CONFIG_BOARD_NRF52840_GPIO_RESET_PIN #define RESET_PIN CONFIG_BOARD_NRF52840_GPIO_RESET_PIN

View file

@ -8,7 +8,7 @@
#include <zephyr.h> #include <zephyr.h>
#include <drivers/gpio.h> #include <drivers/gpio.h>
#include <uart.h> #include <drivers/uart.h>
#include <errno.h> #include <errno.h>

View file

@ -5,7 +5,7 @@
*/ */
#include <kernel.h> #include <kernel.h>
#include <uart.h> #include <drivers/uart.h>
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>

View file

@ -13,7 +13,7 @@
#include <arch/cpu.h> #include <arch/cpu.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <misc/util.h> #include <misc/util.h>
#include <misc/byteorder.h> #include <misc/byteorder.h>
#include <string.h> #include <string.h>

View file

@ -12,7 +12,7 @@
#include <zephyr.h> #include <zephyr.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <misc/util.h> #include <misc/util.h>
#include <misc/byteorder.h> #include <misc/byteorder.h>
#include <misc/stack.h> #include <misc/stack.h>

View file

@ -23,7 +23,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <drivers/console/console.h> #include <drivers/console/console.h>
#include <drivers/console/uart_console.h> #include <drivers/console/uart_console.h>
#include <toolchain.h> #include <toolchain.h>

View file

@ -12,7 +12,7 @@
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#include <kernel.h> #include <kernel.h>
#include <uart.h> #include <drivers/uart.h>
#include <mgmt/serial.h> #include <mgmt/serial.h>
#include <console/uart_mcumgr.h> #include <console/uart_mcumgr.h>

View file

@ -16,7 +16,7 @@ LOG_MODULE_REGISTER(uart_pipe, CONFIG_UART_CONSOLE_LOG_LEVEL);
#include <kernel.h> #include <kernel.h>
#include <uart.h> #include <drivers/uart.h>
#include <console/uart_pipe.h> #include <console/uart_pipe.h>
#include <misc/printk.h> #include <misc/printk.h>

View file

@ -13,7 +13,7 @@
#include <kernel.h> #include <kernel.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <logging/log.h> #include <logging/log.h>

View file

@ -17,7 +17,7 @@
#include <drivers/sensor.h> #include <drivers/sensor.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <uart.h> #include <drivers/uart.h>
#include <logging/log.h> #include <logging/log.h>
#define LOG_LEVEL CONFIG_SENSOR_LOG_LEVEL #define LOG_LEVEL CONFIG_SENSOR_LOG_LEVEL

View file

@ -5,7 +5,7 @@
*/ */
#include <errno.h> #include <errno.h>
#include <uart.h> #include <drivers/uart.h>
#include <em_leuart.h> #include <em_leuart.h>
#include <em_gpio.h> #include <em_gpio.h>
#include <em_cmu.h> #include <em_cmu.h>

View file

@ -7,7 +7,7 @@
#include <kernel.h> #include <kernel.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <uart.h> #include <drivers/uart.h>
#include <sys/sys_io.h> #include <sys/sys_io.h>
#include "altera_avalon_jtag_uart.h" #include "altera_avalon_jtag_uart.h"

View file

@ -7,7 +7,7 @@
#include <device.h> #include <device.h>
#include <errno.h> #include <errno.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <uart.h> #include <drivers/uart.h>
#include <driverlib/ioc.h> #include <driverlib/ioc.h>
#include <driverlib/prcm.h> #include <driverlib/prcm.h>

View file

@ -6,7 +6,7 @@
#include <kernel.h> #include <kernel.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <uart.h> #include <drivers/uart.h>
/* Driverlib includes */ /* Driverlib includes */
#include <inc/hw_types.h> #include <inc/hw_types.h>

View file

@ -15,7 +15,7 @@
#include <clock_control/arm_clock_control.h> #include <clock_control/arm_clock_control.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <linker/sections.h> #include <linker/sections.h>
/* UART registers struct */ /* UART registers struct */

View file

@ -8,7 +8,7 @@
#include <rom/ets_sys.h> #include <rom/ets_sys.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include <errno.h> #include <errno.h>
static void esp32_uart_tx(struct device *dev, static void esp32_uart_tx(struct device *dev,

View file

@ -5,7 +5,7 @@
*/ */
#include <errno.h> #include <errno.h>
#include <uart.h> #include <drivers/uart.h>
#include <em_usart.h> #include <em_usart.h>
#include <em_gpio.h> #include <em_gpio.h>
#include <em_cmu.h> #include <em_cmu.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#include <uart.h> #include <drivers/uart.h>
#include <syscall_handler.h> #include <syscall_handler.h>
#define UART_SIMPLE(op_) \ #define UART_SIMPLE(op_) \

View file

@ -17,7 +17,7 @@
#include <misc/__assert.h> #include <misc/__assert.h>
#include <soc.h> #include <soc.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <uart_imx.h> #include <uart_imx.h>
#define DEV_CFG(dev) \ #define DEV_CFG(dev) \

View file

@ -9,7 +9,7 @@
#include <init.h> #include <init.h>
#include <irq.h> #include <irq.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <zephyr/types.h> #include <zephyr/types.h>
#define UART_EV_TX (1 << 0) #define UART_EV_TX (1 << 0)

View file

@ -6,7 +6,7 @@
#include <errno.h> #include <errno.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <drivers/clock_control.h> #include <drivers/clock_control.h>
#include <fsl_uart.h> #include <fsl_uart.h>
#include <soc.h> #include <soc.h>

View file

@ -6,7 +6,7 @@
#include <errno.h> #include <errno.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <drivers/clock_control.h> #include <drivers/clock_control.h>
#include <fsl_lpsci.h> #include <fsl_lpsci.h>
#include <soc.h> #include <soc.h>

View file

@ -6,7 +6,7 @@
#include <errno.h> #include <errno.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <drivers/clock_control.h> #include <drivers/clock_control.h>
#include <fsl_lpuart.h> #include <fsl_lpuart.h>
#include <soc.h> #include <soc.h>

View file

@ -6,7 +6,7 @@
#include <kernel.h> #include <kernel.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <uart.h> #include <drivers/uart.h>
/* UART REGISTERS DEFINITIONS */ /* UART REGISTERS DEFINITIONS */

View file

@ -10,7 +10,7 @@
* that the definition of BIT is not overridden */ * that the definition of BIT is not overridden */
#include <driverlib/gpio.h> #include <driverlib/gpio.h>
#include <uart.h> #include <drivers/uart.h>
/* Driverlib includes */ /* Driverlib includes */
#include <driverlib/rom.h> #include <driverlib/rom.h>

View file

@ -14,7 +14,7 @@
#include <sys/select.h> #include <sys/select.h>
#include <unistd.h> #include <unistd.h>
#include "uart.h" #include <drivers/uart.h>
#include "cmdline.h" /* native_posix command line options header */ #include "cmdline.h" /* native_posix command line options header */
#include "soc.h" #include "soc.h"

View file

@ -8,7 +8,7 @@
* @brief Driver for Nordic Semiconductor nRF5X UART * @brief Driver for Nordic Semiconductor nRF5X UART
*/ */
#include <uart.h> #include <drivers/uart.h>
#include <hal/nrf_uart.h> #include <hal/nrf_uart.h>
#include <hal/nrf_gpio.h> #include <hal/nrf_gpio.h>

View file

@ -8,7 +8,7 @@
* @brief Driver for Nordic Semiconductor nRF UARTE * @brief Driver for Nordic Semiconductor nRF UARTE
*/ */
#include <uart.h> #include <drivers/uart.h>
#include <hal/nrf_gpio.h> #include <hal/nrf_gpio.h>
#include <hal/nrf_uarte.h> #include <hal/nrf_uarte.h>
#include <nrfx_timer.h> #include <nrfx_timer.h>

View file

@ -29,7 +29,7 @@
#include <init.h> #include <init.h>
#include <toolchain.h> #include <toolchain.h>
#include <linker/sections.h> #include <linker/sections.h>
#include <uart.h> #include <drivers/uart.h>
#include <sys/sys_io.h> #include <sys/sys_io.h>
#include "uart_ns16550.h" #include "uart_ns16550.h"

View file

@ -14,7 +14,7 @@
#include <misc/util.h> #include <misc/util.h>
#include <string.h> #include <string.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
/* /*
* for nsimdrv, "nsim_mem-dev=uart0,base=0xf0000000,irq=24" is * for nsimdrv, "nsim_mem-dev=uart0,base=0xf0000000,irq=24" is

View file

@ -9,7 +9,7 @@
#include <init.h> #include <init.h>
#include <device.h> #include <device.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include <arch/arm/cortex_m/cmsis.h> #include <arch/arm/cortex_m/cmsis.h>

View file

@ -15,7 +15,7 @@
#include <init.h> #include <init.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include "cy_syslib.h" #include "cy_syslib.h"
#include "cy_sysclk.h" #include "cy_sysclk.h"

View file

@ -9,7 +9,7 @@
#if defined(CONFIG_IOAPIC) #if defined(CONFIG_IOAPIC)
#include <drivers/interrupt_controller/ioapic.h> #include <drivers/interrupt_controller/ioapic.h>
#endif #endif
#include <uart.h> #include <drivers/uart.h>
#include <power/power.h> #include <power/power.h>
#include "qm_uart.h" #include "qm_uart.h"

View file

@ -7,7 +7,7 @@
#include <errno.h> #include <errno.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <drivers/clock_control.h> #include <drivers/clock_control.h>
#include <fsl_lpuart.h> #include <fsl_lpuart.h>
#include <soc.h> #include <soc.h>

View file

@ -17,7 +17,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
/* /*
* Verify Kconfig configuration * Verify Kconfig configuration

View file

@ -9,7 +9,7 @@
#include <init.h> #include <init.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include <drivers/dma.h> #include <drivers/dma.h>
/* Device constant configuration parameters */ /* Device constant configuration parameters */

View file

@ -10,7 +10,7 @@
#include <kernel.h> #include <kernel.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <uart.h> #include <drivers/uart.h>
#define RXDATA_EMPTY (1 << 31) /* Receive FIFO Empty */ #define RXDATA_EMPTY (1 << 31) /* Receive FIFO Empty */
#define RXDATA_MASK 0xFF /* Receive Data Mask */ #define RXDATA_MASK 0xFF /* Receive Data Mask */

View file

@ -23,7 +23,7 @@
#include <misc/__assert.h> #include <misc/__assert.h>
#include <soc.h> #include <soc.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <linker/sections.h> #include <linker/sections.h>
/* definitions */ /* definitions */

View file

@ -17,7 +17,7 @@
#include <misc/__assert.h> #include <misc/__assert.h>
#include <soc.h> #include <soc.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <drivers/clock_control.h> #include <drivers/clock_control.h>
#include <linker/sections.h> #include <linker/sections.h>

View file

@ -14,7 +14,7 @@
#include <errno.h> #include <errno.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <fsl_usart.h> #include <fsl_usart.h>
#include <fsl_clock.h> #include <fsl_clock.h>
#include <soc.h> #include <soc.h>

View file

@ -17,7 +17,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
/* /*
* Verify Kconfig configuration * Verify Kconfig configuration

1162
include/drivers/uart.h Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -18,7 +18,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <net/buf.h> #include <net/buf.h>
#include <bluetooth/bluetooth.h> #include <bluetooth/bluetooth.h>

View file

@ -17,7 +17,7 @@ LOG_MODULE_REGISTER(net_wpan_serial_sample, LOG_LEVEL_DBG);
#include <string.h> #include <string.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <zephyr.h> #include <zephyr.h>
#include <stdio.h> #include <stdio.h>

View file

@ -8,7 +8,7 @@
#include <stdio.h> #include <stdio.h>
#include <zephyr/types.h> #include <zephyr/types.h>
#include <string.h> #include <string.h>
#include <uart.h> #include <drivers/uart.h>
#include <misc/byteorder.h> #include <misc/byteorder.h>
#define BUF_MAXSIZE 256 #define BUF_MAXSIZE 256

View file

@ -15,7 +15,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <zephyr.h> #include <zephyr.h>
#include <ring_buffer.h> #include <ring_buffer.h>

View file

@ -15,7 +15,7 @@
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <zephyr.h> #include <zephyr.h>
#include <ring_buffer.h> #include <ring_buffer.h>

View file

@ -6,7 +6,7 @@
#include <zephyr.h> #include <zephyr.h>
#include <device.h> #include <device.h>
#include <drivers/gpio.h> #include <drivers/gpio.h>
#include <uart.h> #include <drivers/uart.h>
#include <string.h> #include <string.h>
#include <random/rand32.h> #include <random/rand32.h>

View file

@ -17,7 +17,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include <linker/sections.h> #include <linker/sections.h>
#include <fsl_common.h> #include <fsl_common.h>
#include <fsl_clock.h> #include <fsl_clock.h>

View file

@ -10,7 +10,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include <linker/sections.h> #include <linker/sections.h>
#include <fsl_common.h> #include <fsl_common.h>
#include <fsl_clock.h> #include <fsl_clock.h>

View file

@ -8,7 +8,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include <linker/sections.h> #include <linker/sections.h>
#include <fsl_common.h> #include <fsl_common.h>
#include <fsl_clock.h> #include <fsl_clock.h>

View file

@ -16,7 +16,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include <linker/sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cortex_m/exc.h> #include <cortex_m/exc.h>

View file

@ -16,7 +16,7 @@
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <soc.h> #include <soc.h>
#include <uart.h> #include <drivers/uart.h>
#include <linker/sections.h> #include <linker/sections.h>
#include <arch/cpu.h> #include <arch/cpu.h>
#include <cortex_m/exc.h> #include <cortex_m/exc.h>

View file

@ -16,7 +16,7 @@
#include "soc.h" #include "soc.h"
#ifdef CONFIG_UART_STELLARIS #ifdef CONFIG_UART_STELLARIS
#include <uart.h> #include <drivers/uart.h>
#define RCGC1 (*((volatile u32_t *)0x400FE104)) #define RCGC1 (*((volatile u32_t *)0x400FE104))

View file

@ -15,7 +15,7 @@
#include <kernel.h> #include <kernel.h>
#include "soc.h" #include "soc.h"
#include <uart.h> #include <drivers/uart.h>
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>

View file

@ -14,7 +14,7 @@
#include <kernel.h> #include <kernel.h>
#include "soc.h" #include "soc.h"
#include <uart.h> #include <drivers/uart.h>
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>

View file

@ -14,7 +14,7 @@
#include <kernel.h> #include <kernel.h>
#include "soc.h" #include "soc.h"
#include <uart.h> #include <drivers/uart.h>
#include <device.h> #include <device.h>
#include <init.h> #include <init.h>
#include <mmustructs.h> #include <mmustructs.h>

View file

@ -18,7 +18,7 @@
#include <misc/printk.h> #include <misc/printk.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include "soc.h" #include "soc.h"
#include <uart.h> #include <drivers/uart.h>
#include <init.h> #include <init.h>
#include "shared_mem.h" #include "shared_mem.h"
#include <mmustructs.h> #include <mmustructs.h>

View file

@ -15,7 +15,7 @@
#include <zephyr/types.h> #include <zephyr/types.h>
#include <misc/util.h> #include <misc/util.h>
#include <uart.h> #include <drivers/uart.h>
#ifdef CONFIG_IOAPIC #ifdef CONFIG_IOAPIC
#include <drivers/interrupt_controller/ioapic.h> #include <drivers/interrupt_controller/ioapic.h>

View file

@ -21,7 +21,7 @@
#include <misc/printk.h> #include <misc/printk.h>
#include <misc/__assert.h> #include <misc/__assert.h>
#include "soc.h" #include "soc.h"
#include <uart.h> #include <drivers/uart.h>
#include <drivers/pci/pci.h> #include <drivers/pci/pci.h>
#include <drivers/pci/pci_mgr.h> #include <drivers/pci/pci_mgr.h>
#include <drivers/interrupt_controller/ioapic.h> #include <drivers/interrupt_controller/ioapic.h>

View file

@ -16,7 +16,7 @@
#include <init.h> #include <init.h>
#include <drivers/console/uart_pipe.h> #include <drivers/console/uart_pipe.h>
#include <misc/byteorder.h> #include <misc/byteorder.h>
#include <uart.h> #include <drivers/uart.h>
#include <logging/log_backend.h> #include <logging/log_backend.h>
#include <logging/log_output.h> #include <logging/log_output.h>

View file

@ -5,7 +5,7 @@
*/ */
#include <zephyr.h> #include <zephyr.h>
#include <uart.h> #include <drivers/uart.h>
#include <drivers/console/console.h> #include <drivers/console/console.h>
#include <drivers/console/uart_console.h> #include <drivers/console/uart_console.h>

View file

@ -5,7 +5,7 @@
*/ */
#include <zephyr.h> #include <zephyr.h>
#include <uart.h> #include <drivers/uart.h>
#include <misc/printk.h> #include <misc/printk.h>
#include <console/tty.h> #include <console/tty.h>

View file

@ -9,7 +9,7 @@
#include <logging/log_msg.h> #include <logging/log_msg.h>
#include <logging/log_output.h> #include <logging/log_output.h>
#include <device.h> #include <device.h>
#include <uart.h> #include <drivers/uart.h>
#include <assert.h> #include <assert.h>
static int char_out(u8_t *data, size_t length, void *ctx) static int char_out(u8_t *data, size_t length, void *ctx)

View file

@ -5,7 +5,7 @@
*/ */
#include <shell/shell_uart.h> #include <shell/shell_uart.h>
#include <uart.h> #include <drivers/uart.h>
#include <init.h> #include <init.h>
#include <logging/log.h> #include <logging/log.h>

View file

@ -39,7 +39,7 @@
#include <kernel.h> #include <kernel.h>
#include <init.h> #include <init.h>
#include <uart.h> #include <drivers/uart.h>
#include <string.h> #include <string.h>
#include <ring_buffer.h> #include <ring_buffer.h>
#include <misc/byteorder.h> #include <misc/byteorder.h>

View file

@ -24,7 +24,7 @@
#include <drivers/gpio.h> #include <drivers/gpio.h>
#include <drivers/led_strip.h> #include <drivers/led_strip.h>
#include <drivers/spi.h> #include <drivers/spi.h>
#include <uart.h> #include <drivers/uart.h>
#include <usb/usb_device.h> #include <usb/usb_device.h>
#include <usb/class/usb_hid.h> #include <usb/class/usb_hid.h>
#include <drivers/watchdog.h> #include <drivers/watchdog.h>

View file

@ -14,7 +14,7 @@
#ifndef __TEST_UART_H__ #ifndef __TEST_UART_H__
#define __TEST_UART_H__ #define __TEST_UART_H__
#include <uart.h> #include <drivers/uart.h>
#include <ztest.h> #include <ztest.h>
/* RX and TX pins have to be connected together*/ /* RX and TX pins have to be connected together*/

View file

@ -14,7 +14,7 @@
#ifndef __TEST_UART_H__ #ifndef __TEST_UART_H__
#define __TEST_UART_H__ #define __TEST_UART_H__
#include <uart.h> #include <drivers/uart.h>
#include <ztest.h> #include <ztest.h>
#define UART_DEVICE_NAME CONFIG_UART_CONSOLE_ON_DEV_NAME #define UART_DEVICE_NAME CONFIG_UART_CONSOLE_ON_DEV_NAME