Messages in this thread | | | Date | Tue, 10 Aug 2004 15:41:45 -0700 (PDT) | From | Patrick Mochel <> | Subject | Re: [RFC] Fix Device Power Management States |
| |
On Tue, 10 Aug 2004, Pavel Machek wrote:
> I still do not see it... swsusp does not care about logical state of > device. (Actually manipulating logical state of device might make > swsusp less transparent). It cares about device not doing DMA (I also > said "no interrupts", but that is not strictly neccessary: we disable > interrupts for atomic copy. Device should do no NMIs, through).
Perhaps it is unncessary to do at a class level, at least at this point. I think we all agree that we need some sort of stop/start methods for devices, though. In which, we can add to struct bus_type:
int (*dev_stop)(struct device *); int (*dev_start)(struct device *);
Sound good?
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/
| |