Re: [linux-pm] [PATCH 3/5] [pm] Respect the actual device powerstates in sysfs interface

From: Patrick Mochel
Date: Mon Feb 27 2006 - 14:04:25 EST



On Tue, 21 Feb 2006, Pavel Machek wrote:

> Hi!
>
> > > > However, there are a couple of things to note:
> > > >
> > > > - These patches don't create a new API; they fix the semantics of an
> > > > existing API by restoring them to its originally designed semantics.
> > >
> > > They may reintroduce "original" semantics, but they'll break
> > > applications needing 2.6.15 semantic (where 2 meant D3hot).
> >
> > Like what?
>
> Like:
>
> http://article.gmane.org/gmane.linux.kernel/364195/match=pavel+2+sys+power+state+pcmcia

Thanks, but recall that that is PCMCIA. The point of the patch was to pass
the value to the bus drivers, so that they could decide what were valid
values. In the case of PCMCIA, they had adapted to "2", so they could
still receive "2", if the user process wrote that..

Thanks,


Patrick

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/