lkml.org 
[lkml]   [2004]   [Aug]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.138 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site