diff options
| author | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
|---|---|---|
| committer | Tony Lindgren <tony@atomide.com> | 2018-08-28 12:58:03 -0400 |
| commit | ea4d65f14f6aaa53e379b93c5544245ef081b3e7 (patch) | |
| tree | a15485f4f1cf547a52b31fa8e16e14b9579b7200 /include/linux/libata.h | |
| parent | ce32d59ee2cd036f6e8a6ed17a06a0b0bec5c67c (diff) | |
| parent | 496f3347d834aec91c38b45d6249ed00f58ad233 (diff) | |
Merge branch 'perm-fix' into omap-for-v4.19/fixes-v2
Diffstat (limited to 'include/linux/libata.h')
| -rw-r--r-- | include/linux/libata.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 32f247cb5e9e..38c95d66ab12 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
| @@ -523,7 +523,8 @@ enum ata_lpm_policy { | |||
| 523 | ATA_LPM_MAX_POWER, | 523 | ATA_LPM_MAX_POWER, |
| 524 | ATA_LPM_MED_POWER, | 524 | ATA_LPM_MED_POWER, |
| 525 | ATA_LPM_MED_POWER_WITH_DIPM, /* Med power + DIPM as win IRST does */ | 525 | ATA_LPM_MED_POWER_WITH_DIPM, /* Med power + DIPM as win IRST does */ |
| 526 | ATA_LPM_MIN_POWER, | 526 | ATA_LPM_MIN_POWER_WITH_PARTIAL, /* Min Power + partial and slumber */ |
| 527 | ATA_LPM_MIN_POWER, /* Min power + no partial (slumber only) */ | ||
| 527 | }; | 528 | }; |
| 528 | 529 | ||
| 529 | enum ata_lpm_hints { | 530 | enum ata_lpm_hints { |
| @@ -1111,6 +1112,8 @@ extern struct ata_host *ata_host_alloc(struct device *dev, int max_ports); | |||
| 1111 | extern struct ata_host *ata_host_alloc_pinfo(struct device *dev, | 1112 | extern struct ata_host *ata_host_alloc_pinfo(struct device *dev, |
| 1112 | const struct ata_port_info * const * ppi, int n_ports); | 1113 | const struct ata_port_info * const * ppi, int n_ports); |
| 1113 | extern int ata_slave_link_init(struct ata_port *ap); | 1114 | extern int ata_slave_link_init(struct ata_port *ap); |
| 1115 | extern void ata_host_get(struct ata_host *host); | ||
| 1116 | extern void ata_host_put(struct ata_host *host); | ||
| 1114 | extern int ata_host_start(struct ata_host *host); | 1117 | extern int ata_host_start(struct ata_host *host); |
| 1115 | extern int ata_host_register(struct ata_host *host, | 1118 | extern int ata_host_register(struct ata_host *host, |
| 1116 | struct scsi_host_template *sht); | 1119 | struct scsi_host_template *sht); |
| @@ -1856,8 +1859,6 @@ extern unsigned int ata_sff_data_xfer(struct ata_queued_cmd *qc, | |||
| 1856 | unsigned char *buf, unsigned int buflen, int rw); | 1859 | unsigned char *buf, unsigned int buflen, int rw); |
| 1857 | extern unsigned int ata_sff_data_xfer32(struct ata_queued_cmd *qc, | 1860 | extern unsigned int ata_sff_data_xfer32(struct ata_queued_cmd *qc, |
| 1858 | unsigned char *buf, unsigned int buflen, int rw); | 1861 | unsigned char *buf, unsigned int buflen, int rw); |
| 1859 | extern unsigned int ata_sff_data_xfer_noirq(struct ata_queued_cmd *qc, | ||
| 1860 | unsigned char *buf, unsigned int buflen, int rw); | ||
| 1861 | extern void ata_sff_irq_on(struct ata_port *ap); | 1862 | extern void ata_sff_irq_on(struct ata_port *ap); |
| 1862 | extern void ata_sff_irq_clear(struct ata_port *ap); | 1863 | extern void ata_sff_irq_clear(struct ata_port *ap); |
| 1863 | extern int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc, | 1864 | extern int ata_sff_hsm_move(struct ata_port *ap, struct ata_queued_cmd *qc, |
