u32 *trbnet_sender_trigger_info;
u32 *dma_debug0;
u32 *dma_debug1;
+ u32 *dma_debug2;
unsigned char init_done; /* object is ready flag */
};
if (descriptor.dma != 0 && channel == 3) {
/* only channel 3 supports DMA */
+
+ /* Credential debug */
+ u32 cred1;
+ u32 cred2;
+ cred1 = ioread32(priv->pexor.dma_debug2);
+
pexor_read_buffer_ctr = 0;
/* Start DMA transfer */
status = dmaSize;
pexor_read_buffer_ctr = dmaSize * 4;
+
+ /* Credential debug */
+ cred2 = ioread32(priv->pexor.dma_debug2);
+ if (cred2 != cred1) {
+ pexor_msg(KERN_ERR
+ "DMA: Lost Credentials: 0x%08x != 0x%08x Command: %d\n",
+ cred1, cred2, command);
+ }
#ifdef PEXOR_TRB_DEBUG
{