diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-16 17:14:07 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2017-02-16 17:14:07 +0100 |
commit | db27dd05b1da6e658494a2570680f8d0ddbc578c (patch) | |
tree | ca1326af658938687081a47a6b16a8cbdedf38ae /drivers/ata/ahci.h | |
parent | d2aff02f92598f8361f488424cdf1053edf3081d (diff) | |
parent | cdf0ead3747200d527f37170d3fdd41e368f88b0 (diff) | |
download | linux-db27dd05b1da6e658494a2570680f8d0ddbc578c.tar.bz2 |
Merge tag 'davinci-for-v4.11/drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci into next/drivers
Merge "Driver updates for SATA support on DA850." from Sekhar Nori:
These have been acked by SATA maintainer
Tejun Heo. Tejun preferred these be queued
through ARM-SoC because of the dependencies
with platform code.
* tag 'davinci-for-v4.11/drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/nsekhar/linux-davinci:
sata: ahci-da850: un-hardcode the MPY bits
sata: ahci-da850: add a workaround for controller instability
sata: ahci: export ahci_do_hardreset() locally
sata: ahci-da850: implement a workaround for the softreset quirk
sata: ahci-da850: add device tree match table
sata: ahci-da850: get the sata clock using a connection id
Diffstat (limited to 'drivers/ata/ahci.h')
-rw-r--r-- | drivers/ata/ahci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 0cc08f892fea..5db6ab261643 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -398,6 +398,9 @@ int ahci_do_softreset(struct ata_link *link, unsigned int *class, int pmp, unsigned long deadline, int (*check_ready)(struct ata_link *link)); +int ahci_do_hardreset(struct ata_link *link, unsigned int *class, + unsigned long deadline, bool *online); + unsigned int ahci_qc_issue(struct ata_queued_cmd *qc); int ahci_stop_engine(struct ata_port *ap); void ahci_start_fis_rx(struct ata_port *ap); |