|
@@ -2268,19 +2268,6 @@ void ata_qc_prep(struct ata_queued_cmd *qc)
|
|
* spin_lock_irqsave(host_set lock)
|
|
* spin_lock_irqsave(host_set lock)
|
|
*/
|
|
*/
|
|
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * ata_sg_init_one - Prepare a one-entry scatter-gather list.
|
|
|
|
- * @qc: Queued command
|
|
|
|
- * @buf: transfer buffer
|
|
|
|
- * @buflen: length of buf
|
|
|
|
- *
|
|
|
|
- * Builds a single-entry scatter-gather list to initiate a
|
|
|
|
- * transfer utilizing the specified buffer.
|
|
|
|
- *
|
|
|
|
- * LOCKING:
|
|
|
|
- */
|
|
|
|
void ata_sg_init_one(struct ata_queued_cmd *qc, void *buf, unsigned int buflen)
|
|
void ata_sg_init_one(struct ata_queued_cmd *qc, void *buf, unsigned int buflen)
|
|
{
|
|
{
|
|
struct scatterlist *sg;
|
|
struct scatterlist *sg;
|
|
@@ -2312,18 +2299,6 @@ void ata_sg_init_one(struct ata_queued_cmd *qc, void *buf, unsigned int buflen)
|
|
* spin_lock_irqsave(host_set lock)
|
|
* spin_lock_irqsave(host_set lock)
|
|
*/
|
|
*/
|
|
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * ata_sg_init - Assign a scatter gather list to a queued command
|
|
|
|
- * @qc: Queued command
|
|
|
|
- * @sg: Scatter-gather list
|
|
|
|
- * @n_elem: length of sg list
|
|
|
|
- *
|
|
|
|
- * Attaches a scatter-gather list to a queued command.
|
|
|
|
- *
|
|
|
|
- * LOCKING:
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
|
|
void ata_sg_init(struct ata_queued_cmd *qc, struct scatterlist *sg,
|
|
unsigned int n_elem)
|
|
unsigned int n_elem)
|
|
{
|
|
{
|