Paul Walmsley 5bebf82fff Fix hang on IBM Token Ring PCMCIA card ejection
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>
2007-05-09 19:25:15 -04:00
..
2007-05-08 11:15:07 -07:00
2007-05-09 08:57:56 +02:00
2007-05-09 08:58:15 +02:00
2007-05-09 08:58:16 +02:00
2007-05-09 08:58:15 +02:00
2007-05-09 08:58:15 +02:00
2007-05-09 12:30:44 -07:00
2007-05-09 13:10:11 -07:00
2007-05-09 07:19:14 +02:00
2007-05-08 13:37:51 +10:00
2007-05-09 08:57:56 +02:00