Re: [PATCH] PCI: Add pci shutdown ability
From: Adam Belay
Date: Mon Apr 25 2005 - 15:40:10 EST
On Mon, Apr 25, 2005 at 01:19:49PM -0700, Greg KH wrote:
> On Mon, Apr 25, 2005 at 04:08:25PM -0400, Adam Belay wrote:
> > I think this could be important for any type of device, so the power
> > management subsystem and driver core should handle it. I'm not really
> > sure if it's useful in pci alone, as it lacks the necessary ordering and
> > coordination.
>
> The driver core today _does_ handle this properly, and in the correct
> order. I'm just allowing pci drivers access to that functionality, as
> today they can not take advantage of it. That's all this patch does.
sorry, I didn't notice this after a quick glance :)
> + drv->driver.shutdown = pci_device_shutdown,
Ok, great. I understand.
>
> > I'm currently developing an interface for quieting devices without turning
> > them off in my Power Management model. Pavel seems to also have plans along
> > those lines:
>
> <snip>
I think the intention here may have been to use PM_FREEZE via *suspend. It
isn't currently supported though.
>
> Great, then it will tie into the current driver model code, which will
> then call the proper pci driver code, and everyone will be happy :)
>
> thanks,
>
> greg k-h
Thanks,
Adam
-
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/