zephyr/drivers/ethernet
James Harris b10428163a kernel: sem: add K_SEM_MAX_LIMIT
Currently there is no way to distinguish between a caller
explicitly asking for a semaphore with a limit that
happens to be `UINT_MAX` and a semaphore that just
has a limit "as large as possible".

Add `K_SEM_MAX_LIMIT`, currently defined to `UINT_MAX`, and akin
to `K_FOREVER` versus just passing some very large wait time.

In addition, the `k_sem_*` APIs were type-confused, where
the internal data structure was `uint32_t`, but the APIs took
and returned `unsigned int`. This changes the underlying data
structure to also use `unsigned int`, as changing the APIs
would be a (potentially) breaking change.

These changes are backwards-compatible, but it is strongly suggested
to take a quick scan for `k_sem_init` and `K_SEM_DEFINE` calls with
`UINT_MAX` (or `UINT32_MAX`) and replace them with `K_SEM_MAX_LIMIT`
where appropriate.

Signed-off-by: James Harris <james.harris@intel.com>
2021-03-05 08:13:53 -06:00
..
CMakeLists.txt drivers: ethernet: Add support for KSZ8794 DSA device 2021-01-20 10:03:42 +02:00
Kconfig eth: Add support for Distributed Switch Architecture [DSA] switches 2021-01-20 10:03:42 +02:00
Kconfig.dsa eth: Add support for Distributed Switch Architecture [DSA] switches 2021-01-20 10:03:42 +02:00
Kconfig.e1000
Kconfig.enc28j60
Kconfig.enc424j600
Kconfig.gecko drivers: ethernet: remove stale Kconfig IRQ priority 2021-03-03 12:16:06 +03:00
Kconfig.liteeth drivers: ethernet: remove stale Kconfig IRQ priority 2021-03-03 12:16:06 +03:00
Kconfig.mcux power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
Kconfig.native_posix
Kconfig.sam_gmac
Kconfig.smsc911x
Kconfig.stellaris
Kconfig.stm32_hal drivers: ethernet: remove stale Kconfig IRQ priority 2021-03-03 12:16:06 +03:00
Kconfig.w5500 drivers: eth: add driver for w5500 Ethernet Controller 2020-10-02 11:34:57 +02:00
dsa_ksz8794.c drivers: ethernet: Add support for KSZ8794 DSA device 2021-01-20 10:03:42 +02:00
dsa_ksz8794.h drivers: ethernet: Add support for KSZ8794 DSA device 2021-01-20 10:03:42 +02:00
eth.h
eth_e1000.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
eth_e1000_priv.h
eth_enc28j60.c drivers: ethernet: Convert drivers to new DT device macros 2020-12-17 11:02:11 -06:00
eth_enc28j60_priv.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
eth_enc424j600.c drivers: ethernet: Convert drivers to new DT device macros 2020-12-17 11:02:11 -06:00
eth_enc424j600_priv.h drivers: ethernet: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
eth_gecko.c kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
eth_gecko_priv.h
eth_liteeth.c drivers: ethernet: remove stale Kconfig IRQ priority 2021-03-03 12:16:06 +03:00
eth_mcux.c drivers: eth: mcux: Convert clock control to use DEVICE_DT_GET 2021-02-19 05:36:35 -06:00
eth_native_posix.c drivers: ethernet: Convert DEVICE_AND_API_INIT to DEVICE_DEFINE 2020-12-19 20:01:24 -05:00
eth_native_posix_adapt.c
eth_native_posix_priv.h
eth_sam0_gmac.h
eth_sam_gmac.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
eth_sam_gmac_priv.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
eth_smsc911x.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
eth_smsc911x_priv.h license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
eth_stellaris.c device: Remove DEVICE_DT_DECLARE / DEVICE_DT_INST_DECLARE 2021-01-15 07:16:21 -06:00
eth_stellaris_priv.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
eth_stm32_hal.c kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
eth_stm32_hal_priv.h drivers: ethernet: stm32: add support for DT pinctrl 2020-10-30 15:54:13 +01:00
eth_w5500.c drivers: ethernet: Convert drivers to new DT device macros 2020-12-17 11:02:11 -06:00
eth_w5500_priv.h ethernet: w5500: use bit fielding number for mode 2020-10-26 07:35:46 -04:00
phy_gecko.c
phy_gecko.h
phy_sam_gmac.c
phy_sam_gmac.h