zephyr/drivers/ethernet
Leandro Pereira 732424f065 drivers, net: Clean up semaphore initialization
Change the common "init with 0" + "give" idiom to "init with 1".  This
won't change the behavior or performance, but should decrease the size
ever so slightly.

This change has been performed mechanically with the following
Coccinelle script:

    @@
    expression SEM;
    expression LIMIT;
    expression TIMEOUT;
    @@

    - k_sem_init(SEM, 0, LIMIT);
    - k_sem_give(SEM);
    + k_sem_init(SEM, 1, LIMIT);

Signed-off-by: Leandro Pereira <leandro.pereira@intel.com>
2017-07-27 15:23:07 -04:00
..
eth_dw_priv.h drivers: eth_dw: Port to new IP stack 2017-05-04 11:57:22 -04:00
eth_dw.c ethernet: fix Kconfig option for ETHERNET 2017-07-05 12:43:13 -04:00
eth_enc28j60_priv.h drivers: use K_THREAD_STACK_DEFINE macros 2017-06-09 18:53:28 -04:00
eth_enc28j60.c drivers, net: Clean up semaphore initialization 2017-07-27 15:23:07 -04:00
eth_mcux.c drivers: ethernet: mcux: fix build warning 2017-07-26 09:49:45 -05:00
eth_sam_gmac_priv.h
eth_sam_gmac.c drivers: eth_sam_gmac: Fix fragment ordering in RX 2017-05-19 23:52:28 +03:00
eth_stm32_hal_priv.h driver: eth_stm32_hal: Initial STM32 HAL based Ethernet driver 2017-07-12 12:53:51 +03:00
eth_stm32_hal.c driver: eth_stm32_hal: make phy address configurable 2017-07-12 12:53:51 +03:00
Kconfig driver: eth_stm32_hal: Initial STM32 HAL based Ethernet driver 2017-07-12 12:53:51 +03:00
Kconfig.dw
Kconfig.enc28j60
Kconfig.mcux drivers/ethernet/eth_mcux: Fix selection of promisc mode IPv6 workaround 2017-05-25 15:09:46 -05:00
Kconfig.sam_gmac kconfig: fixed stray Kconfig variables 2017-07-06 10:34:41 -05:00
Kconfig.stm32_hal driver: eth_stm32_hal: make phy address configurable 2017-07-12 12:53:51 +03:00
Makefile driver: eth_stm32_hal: Initial STM32 HAL based Ethernet driver 2017-07-12 12:53:51 +03:00
phy_sam_gmac.c
phy_sam_gmac.h