more eeh

Paul Mackerras paulus at
Wed Mar 17 22:07:55 EST 2004

Nathan Fontenot writes:

> Any comments I could get on the code would be greatly appreciated.
> Namely, is this the correct way to generate a hotplug event, or
> is there another interface I should use.  And, is this safe? This
> causes the removal of a slot in the middle of a read on the slot.

Is this potentially calling disable_slot() at interrupt level (e.g. if
the driver is doing a readl() at interrupt level)?  If so, I think
that's probably a bad idea.  I think it would be better to do it at
process level, using a workqueue or something similar.


** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list