/* reset DMA */
iowrite32(PEXOR_TRB_DMA_RESET, priv->pexor.dma_control_stat);
/* do we need to flush the fifo-buffer, no libtrbnet takes care */
- status = -EFAULT;
+ status = -130;
goto OUT_IOCTL;
}
}
/* reset DMA */
iowrite32(PEXOR_TRB_DMA_RESET, priv->pexor.dma_control_stat);
/* do we need to flush the fifo-buffer, no libtrbnet takes care */
- status = -EFAULT;
+ status = -131;
goto OUT_IOCTL;
}
/* reset DMA */
iowrite32(PEXOR_TRB_DMA_RESET, priv->pexor.dma_control_stat);
/* do we need to flush the fifo-buffer, no libtrbnet takes care */
- status = -EFAULT;
+ status = -132;
goto OUT_IOCTL;
}
}
if ((dmaSize % 5) != 0) {
pexor_msg(KERN_ERR
"ERROR> Invalid DMA Size %d\n", dmaSize);
- status = -EFAULT;
+ status = -133;
goto OUT_IOCTL;
}