libata-pmp: implement qc_defer for command switching PMP support
Implement sata_pmp_qc_defer_cmd_switch() - standard qc_defer for command switching PMP support. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
d0df8b5d0f
commit
31f8838444
3 changed files with 32 additions and 0 deletions
|
|
@ -947,6 +947,7 @@ extern unsigned long ata_pci_default_filter(struct ata_device *, unsigned long);
|
|||
/*
|
||||
* PMP
|
||||
*/
|
||||
extern int sata_pmp_qc_defer_cmd_switch(struct ata_queued_cmd *qc);
|
||||
extern void sata_pmp_read_init_tf(struct ata_taskfile *tf,
|
||||
struct ata_device *dev, int pmp, int reg);
|
||||
extern u32 sata_pmp_read_val(const struct ata_taskfile *tf);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue