zephyr/drivers/ethernet
Andrzej Głąbek 20202902f2 dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig
These changes were obtained by running a script  created by
Ulf Magnusson <Ulf.Magnusson@nordicsemi.no> for the following
specification:

1. Read the contents of all dts_fixup.h files in Zephyr
2. Check the left-hand side of the #define macros (i.e. the X in
   #define X Y)
3. Check if that name is also the name of a Kconfig option
   3.a If it is, then do nothing
   3.b If it is not, then replace CONFIG_ with DT_ or add DT_ if it
       has neither of these two prefixes
4. Replace the use of the changed #define in the code itself
   (.c, .h, .ld)

Additionally, some tweaks had to be added to this script to catch some
of the macros used in the code in a parameterized form, e.g.:
- CONFIG_GPIO_STM32_GPIO##__SUFFIX##_BASE_ADDRESS
- CONFIG_UART_##idx##_TX_PIN
- I2C_SBCON_##_num##_BASE_ADDR
and to prevent adding DT_ prefix to the following symbols:
- FLASH_START
- FLASH_SIZE
- SRAM_START
- SRAM_SIZE
- _ROM_ADDR
- _ROM_SIZE
- _RAM_ADDR
- _RAM_SIZE
which are surprisingly also defined in some dts_fixup.h files.

Finally, some manual corrections had to be done as well:
- name##_IRQ -> DT_##name##_IRQ in uart_stm32.c

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2018-11-13 10:44:42 -06:00
..
CMakeLists.txt drivers: eth: e1000: Add driver for Intel PRO/1000 Ethernet controller 2018-10-10 04:17:15 -04:00
Kconfig drivers: eth: e1000: Add driver for Intel PRO/1000 Ethernet controller 2018-10-10 04:17:15 -04:00
Kconfig.dw Kconfig: Use a short, consistent style for prompts 2018-08-15 04:10:10 -07:00
Kconfig.e1000 net: qemu: Allow SLIP or normal ethernet connectivity 2018-11-10 09:13:45 -05:00
Kconfig.enc28j60 drivers: ethernet: Kconfig: Remove redundant 'default n' properties 2018-07-03 17:11:31 -04:00
Kconfig.mcux drivers: eth_mcux: kinetis networking device Tree 2018-10-19 07:57:20 -05:00
Kconfig.native_posix drivers: eth: native_posix: Allow non-root access 2018-10-23 11:08:39 +03:00
Kconfig.sam_gmac drivers: eth_sam: Add generate random mac address feature 2018-09-27 21:52:14 +03:00
Kconfig.stm32_hal drivers: ethernet: Kconfig: Document availability of eth_stm32_hal 2018-08-15 08:17:48 -05:00
eth_dw.c drivers: Remove board.h include 2018-11-01 13:21:11 -04:00
eth_dw_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
eth_e1000.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
eth_e1000_priv.h drivers: eth: e1000: Use system log macros 2018-11-12 10:03:51 -05:00
eth_enc28j60.c drivers: eth: Convert to use new logging 2018-10-04 14:13:57 +03:00
eth_enc28j60_priv.h drivers/ethernet: Reduce runtime context size in ENC28J60 driver 2018-04-11 16:28:16 +03:00
eth_mcux.c dts_fixups: Use DT_ prefix in all defined labels not related to Kconfig 2018-11-13 10:44:42 -06:00
eth_native_posix.c drivers: eth: native_posix: Allow non-root access 2018-10-23 11:08:39 +03:00
eth_native_posix_adapt.c drivers: eth: native_posix: Allow non-root access 2018-10-23 11:08:39 +03:00
eth_native_posix_priv.h drivers: eth: native_posix: Allow non-root access 2018-10-23 11:08:39 +03:00
eth_sam_gmac.c drivers: eth: Convert to use new logging 2018-10-04 14:13:57 +03:00
eth_sam_gmac_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
eth_stm32_hal.c drivers: ethernet: stm32: Fix typo in comment 2018-10-15 12:01:22 -05:00
eth_stm32_hal_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
phy_sam_gmac.c drivers: eth: Convert to use new logging 2018-10-04 14:13:57 +03:00
phy_sam_gmac.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00