linux/drivers/net/can
Oliver Hartkopp a7762b10c1 can: sja1000: fix isr hang when hw is unplugged under load
In the case of hotplug enabled devices (PCMCIA/PCIeC) the removal of the
hardware can cause an infinite loop in the common sja1000 isr.

Use the already retrieved status register to indicate a possible hardware
removal and double check by reading the mode register in sja1000_is_absent.

Cc: stable@kernel.org [3.2+]
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-02-20 11:36:56 +01:00
..
c_can net/can: convert drivers/net/can/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
cc770 can: cc770: Fix indirect access deadlock on ISA cards 2012-02-03 00:25:06 +01:00
mscan net/can: convert drivers/net/can/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
sja1000 can: sja1000: fix isr hang when hw is unplugged under load 2012-02-20 11:36:56 +01:00
softing net/can: convert drivers/net/can/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
usb can: ems_usb: Removed double netif_device_detach 2012-02-03 00:25:31 +01:00
Kconfig can: cc770: add driver core for the Bosch CC770 and Intel AN82527 2011-12-01 13:09:31 -05:00
Makefile can: cc770: add driver core for the Bosch CC770 and Intel AN82527 2011-12-01 13:09:31 -05:00
at91_can.c net/can: convert drivers/net/can/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
bfin_can.c net/can: convert drivers/net/can/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
dev.c net: remove NETIF_F_NO_CSUM feature bit 2011-11-16 17:43:12 -05:00
flexcan.c can: flexcan: fix irq flooding by clearing all interrupt sources 2012-02-03 00:24:50 +01:00
janz-ican3.c net/can: convert drivers/net/can/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00
mcp251x.c can: mcp251x: Allow pass IRQ flags through platform data. 2011-04-06 12:24:26 -07:00
pch_can.c can: pch_can: fix error passive level test 2012-02-03 00:25:22 +01:00
slcan.c net: remove NETIF_F_NO_CSUM feature bit 2011-11-16 17:43:12 -05:00
ti_hecc.c can: ti_hecc: use netif_rx in the interrupt 2012-02-03 00:25:15 +01:00
vcan.c module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00