ahci power management

Johannes Hofmann johannes.hofmann at gmx.de
Sun Sep 13 13:51:23 PDT 2009


Matthew Dillon <dillon at apollo.backplane.com> wrote:
> :I have updated the patch at 
> :http://leaf.dragonflybsd.org/~hofmann/ahci_pwrmgmt.patch
> :accordingly.
> :Link power management can now be switched on and off with a sysctl.
> :On my system it is "hw.ahci0.0.link_pwr_mgmt"
> :(0 = disabled, 1 = medium, 2 = aggressive).
> :
> :Thanks for the help on the ML and on irc,
> :  Johannes
> 
>    This is looking very good.  Just one more thing and I can commit it
>    for this release.  The AHCI driver can be unloaded... the sysctl
>    nodes have to be destroyed when it is.  It can be done in
>    ahci_port_free().  Keep in mind that the function can be called
>    on a partially initialized port so conditionalize the destruction of
>    the sysctl node on it having been installed.

Ah right. Patch updated.

  Johannes 





More information about the Submit mailing list