mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 22:44:27 +08:00
470dfd808a
The driver's ISR sends a 'software interrupt' event to the probe() thread using the following method: - probe(): write 0 to flag, enable s/w interrupt - probe(): poll on flag, relax using usleep_range() - ISR : write 1 to flag Replace with wake_up() / wait_event_timeout(). Besides being easier to get right, this abstraction has better timing and memory consistency properties. Tested-by: Sven Van Asbroeck <thesven73@gmail.com> # lan7430 Signed-off-by: Sven Van Asbroeck <thesven73@gmail.com> Link: https://lore.kernel.org/r/20201123191529.14908-2-TheSven73@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> |
||
---|---|---|
.. | ||
enc28j60_hw.h | ||
enc28j60.c | ||
encx24j600_hw.h | ||
encx24j600-regmap.c | ||
encx24j600.c | ||
Kconfig | ||
lan743x_ethtool.c | ||
lan743x_ethtool.h | ||
lan743x_main.c | ||
lan743x_main.h | ||
lan743x_ptp.c | ||
lan743x_ptp.h | ||
Makefile |