On Sunday 06 March 2005 3:32 pm, Eric W. Biederman wrote: > > Then there is the primary case, kexec case where we can trust > the kernel code. Before a reboot we call the reboot_notifiers > and the device_shutdown() (which calls the appropriate device method). > The expectation is that the drivers will shutdown DMA and IRQs from > their hardware.
Most drivers don't have shutdown() methods, but they do have remove() methods that clean everything up. Those methods tend to vanish from statically linked kernels. Seems that if kexec were to use remove() methods that'd probably resolve a lot of those issues. I confess I still don't see much point to a shutdown() method, unless maybe it's to avoid using reboot notifiers for that subset of remove() logic. - Dave ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel