]> jspc29.x-matter.uni-frankfurt.de Git - trbnettools.git/commitdiff
Credential debug update
authorhadaq <hadaq>
Sat, 19 Nov 2011 15:29:12 +0000 (15:29 +0000)
committerhadaq <hadaq>
Sat, 19 Nov 2011 15:29:12 +0000 (15:29 +0000)
pexor/kernel-module/pexor_trb.c

index 1534833b9209a1daf6d53772318d9c0789f7190e..34fe3c0f9e5fbe7f41d88985087cac755d665db4 100644 (file)
@@ -452,6 +452,7 @@ void set_pexor(struct dev_pexor *pg, void *membase, unsigned long bar)
 
   pg->dma_debug0 = (u32 *) (membase + (0xe00 << 2));
   pg->dma_debug1 = (u32 *) (membase + (0xe01 << 2));
+  pg->dma_debug2 = (u32 *) (membase + (0x705 << 2));
 
   pg->init_done = 0x1;
   pexor_dbg(KERN_NOTICE "** Set pexor structure %lx.\n",
@@ -1450,7 +1451,7 @@ int pexor_ioctl_trbnet_request(struct pexor_privdata *priv, unsigned long arg)
     cred2 = ioread32(priv->pexor.dma_debug2);
     if (cred2 != cred1) {
       pexor_msg(KERN_ERR 
-                "DMA: Lost Credentials: 0x%08x != 0x%08x  Command: %d\n",
+                "ERROR> Lost DMA Credentials: 0x%08x != 0x%08x  Command: %d\n",
                 cred1, cred2, command); 
     }