Messages in this thread | | | Date | Fri, 15 Aug 2003 09:30:05 -0700 (PDT) | From | Patrick Mochel <> | Subject | Re: [PATCH] call drv->shutdown at rmmod |
| |
> There is a problem of semantics here. Is shutdown() supposed to shutdown > the hardware device (ie. low power) or just the driver ? If yes, then > it's duplicate of the PM callbacks. My understanding of the shutdown() > callback is that it was more than "stop driver activity, put device into > idle state" to prepare for a shutdown/reboot (though we do also sleep > IDE drives in this case, but this is because of that nasty cache flush > issue).
You have it right - ->shutdown() is only supposed to queisce the device.
Pat
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |