linux-stable/drivers/net/ethernet/neterion
Zhengchao Shao 0348c1ab98 ethernet: s2io: disable napi when start nic failed in s2io_card_up()
When failed to start nic or add interrupt service routine in
s2io_card_up() for opening device, napi isn't disabled. When open
s2io device next time, it will trigger a BUG_ON()in napi_enable().
Compile tested only.

Fixes: 5f490c9680 ("S2io: Fixed synchronization between scheduling of napi with card reset and close")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20221109023741.131552-1-shaozhengchao@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2022-11-10 13:00:59 +01:00
..
Kconfig eth: remove neterion/vxge 2022-07-05 15:26:31 -07:00
Makefile eth: remove neterion/vxge 2022-07-05 15:26:31 -07:00
s2io-regs.h
s2io.c ethernet: s2io: disable napi when start nic failed in s2io_card_up() 2022-11-10 13:00:59 +01:00
s2io.h ethernet: s2io: Use dma_set_mask_and_coherent() and simplify code 2022-01-03 10:42:58 +00:00