mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-06 18:45:18 +07:00
Merge branch 'upstream-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
This commit is contained in:
commit
4ba529a8a3
@ -532,8 +532,7 @@ void ata_tf_to_fis(const struct ata_taskfile *tf, u8 *fis, u8 pmp)
|
|||||||
* @fis: Buffer from which data will be input
|
* @fis: Buffer from which data will be input
|
||||||
* @tf: Taskfile to output
|
* @tf: Taskfile to output
|
||||||
*
|
*
|
||||||
* Converts a standard ATA taskfile to a Serial ATA
|
* Converts a serial ATA FIS structure to a standard ATA taskfile.
|
||||||
* FIS structure (Register - Host to Device).
|
|
||||||
*
|
*
|
||||||
* LOCKING:
|
* LOCKING:
|
||||||
* Inherited from caller.
|
* Inherited from caller.
|
||||||
|
@ -2276,6 +2276,12 @@ ata_scsi_pass_thru(struct ata_queued_cmd *qc, const u8 *scsicmd)
|
|||||||
tf->device = scsicmd[8];
|
tf->device = scsicmd[8];
|
||||||
tf->command = scsicmd[9];
|
tf->command = scsicmd[9];
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
* If slave is possible, enforce correct master/slave bit
|
||||||
|
*/
|
||||||
|
if (qc->ap->flags & ATA_FLAG_SLAVE_POSS)
|
||||||
|
tf->device = qc->dev->devno ?
|
||||||
|
tf->device | ATA_DEV1 : tf->device & ~ATA_DEV1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Filter SET_FEATURES - XFER MODE command -- otherwise,
|
* Filter SET_FEATURES - XFER MODE command -- otherwise,
|
||||||
|
@ -687,6 +687,7 @@ static void sil24_port_stop(struct ata_port *ap)
|
|||||||
struct sil24_port_priv *pp = ap->private_data;
|
struct sil24_port_priv *pp = ap->private_data;
|
||||||
|
|
||||||
sil24_cblk_free(pp, dev);
|
sil24_cblk_free(pp, dev);
|
||||||
|
ata_pad_free(ap, dev);
|
||||||
kfree(pp);
|
kfree(pp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user