Bruce M Simpson d6dd4af4ac Forcibly disable interrupts, if we find ourselves servicing one when
the device is suspended or shutting down. This will need to be rethought
slightly if we implement suspend/resume support within vr(4).
This appears to fix the vr_shutdown() panic on SMP machines.

My theory here is there's a race somewhere during vr_detach() with
vr_intr() in the SMP case which was sometimes being triggered,
although quite why this was happening is unclear (vr_stop() also
explicitly disables interrupts by writing to the IMR register).

MFC-to-RELENG_5* candidate.

PR:		kern/62889
Tested by:	seb at struchtrup dot com
MFC after:	10 days
2004-10-27 19:02:23 +00:00
..
2004-08-16 12:23:53 +00:00
2004-08-22 03:55:04 +00:00
2004-08-16 12:25:48 +00:00
2004-04-20 13:36:44 +00:00
2004-06-21 21:57:31 +00:00
2004-09-06 13:42:38 +00:00
2004-06-16 09:47:26 +00:00