Kristen Carlson Accardi wrote:
@@ -42,6 +42,16 @@ enum scsi_eh_timer_return { EH_RESET_TIMER, };+/*+ * shost pm policy: If you alter this, you also need to alter scsi_sysfs.c + * (for the ascii descriptions) + */ +enum scsi_host_link_pm { + SHOST_NOT_AVAILABLE, + SHOST_MIN_POWER, + SHOST_MAX_PERFORMANCE, + SHOST_MEDIUM_POWER, +};struct scsi_host_template {struct module *module; @@ -345,6 +355,12 @@ struct scsi_host_template { int (*suspend)(struct scsi_device *, pm_message_t state);/*+ * link power management support + */ + int (*set_link_pm_policy)(struct Scsi_Host *, enum scsi_host_link_pm); + enum scsi_host_link_pm default_link_pm_policy; + + /* * Name of proc directory */ char *proc_name; @@ -642,6 +658,7 @@ struct Scsi_Host {enum scsi_host_state shost_state;+ enum scsi_host_link_pm shost_link_pm_policy;/* ldm bits */struct device shost_gendev;
Any chance the SCSI peeps could ACK this, and then let me include it in the ALPM patchset in the libata tree?
Jeff - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [patch 2/4] Expose Power Management Policy option to users
- From: Kristen Carlson Accardi <[email protected]>
- [patch 2/4] Expose Power Management Policy option to users
- Prev by Date: Re: 2.6.23-rc1, spamassassin vs rpc stuffs, rpc 1, spamassassin 0
- Next by Date: [1/3] 2.6.23-rc1: known regressions v3
- Previous by thread: Re: [patch 2/4] Expose Power Management Policy option to users
- Next by thread: Re: [patch 2/4] Expose Power Management Policy option to users
- Index(es):