Re: [PATCH] PCI: Add pci shutdown ability

Pavel Machek
2005-04-26T09:44:23Z

> I've been considering for a while that, in addition to ->probe and ->remove, we
> have the following:
>
> "struct device" -->
> ->attach - binds to the device and allocates data structures
> ->probe - detects and sets up the hardware
> ->start - begins transactions (like DMA)
> ->stop - stops transactions
> ->remove - prepares the hardware for no driver control
> ->detach - frees stuff and unbinds the device

No.

Stop trying to add more hooks to struct device, we have too many
already.

Pavel
--
Boycott Kodak -- for their patent abuse against Java.