eeh

Greg KH greg at kroah.com
Tue Mar 23 08:40:40 EST 2004


On Mon, Mar 22, 2004 at 03:22:31PM -0600, Nathan Fontenot wrote:
> Yes, the driver/pci/hotplug changes are platform specific, but so are
> all the changes for this patch.

My point remains.  Try to do this in a non-platform specific way, as you
will have to do it eventually, might as well be now.

> There is a call to /sbin/hotplug.  I had to trace it through the code,
> but the path is ...
>
> rpaphp_disable_slot
>   disable_slot
>     rpaphp_unconfig_pci_adapter
>       pci_remove_bus_device
>         pci_destroy_dev
>           device_unregister
>             device_del
>               kobject_del
>                 kobject_hotplug
>                   kset_hotplug
>                     call_usermodehelper("/sbin/hotplug")

Yeah, fun isn't it :)

I mean a "fault" ACTION for the hotplug event before the "this device is
now gone" event that your above call chain causes.

thanks,

greg k-h

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list