|
|
@@ -1802,7 +1802,7 @@ static inline void sata_oxnas_reset_ucode(struct ata_host *ah, int force,
|
|
|
* Prepare as much as possible for a command without involving anything that is
|
|
|
* shared between ports.
|
|
|
*/
|
|
|
-static void sata_oxnas_qc_prep(struct ata_queued_cmd *qc)
|
|
|
+static enum ata_completion_errors sata_oxnas_qc_prep(struct ata_queued_cmd *qc)
|
|
|
{
|
|
|
struct sata_oxnas_port_priv *pd;
|
|
|
int port_no = qc->ap->port_no;
|
|
|
@@ -1848,6 +1848,8 @@ static void sata_oxnas_qc_prep(struct ata_queued_cmd *qc)
|
|
|
/* tell it to wait */
|
|
|
iowrite32(SGDMA_CONTROL_NOGO, pd->sgdma_base + SGDMA_CONTROL);
|
|
|
}
|
|
|
+
|
|
|
+ return AC_ERR_OK;
|
|
|
}
|
|
|
|
|
|
static int sata_oxnas_port_start(struct ata_port *ap)
|