5bebf82fff
Ejecting a PCMCIA IBM Token Ring card that has not had its dev->open() called will reliably trigger an uninitialized spinlock oops when spinlock debugging is enabled. The system then hangs, occasionally softlockup oopsing. Apparently ibmtr.c:tok_interrupt() doesn't expect to be called before tok_open(), but tok_interrupt() gets called anyway when the card is ejected. So, set an already-existing flag which causes tok_interrupt() to bail out early upon card ejection. Tested by inserting and removing the PCMCIA card several times. Signed-off-by: Paul Walmsley <paul@booyaka.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> |
||
---|---|---|
.. | ||
3c574_cs.c | ||
3c589_cs.c | ||
axnet_cs.c | ||
com20020_cs.c | ||
fmvj18x_cs.c | ||
ibmtr_cs.c | ||
Kconfig | ||
Makefile | ||
nmclan_cs.c | ||
ositech.h | ||
pcnet_cs.c | ||
smc91c92_cs.c | ||
xirc2ps_cs.c |