patch-2.0.35 linux/drivers/net/dgrs.c

Next file: linux/drivers/net/e2100.c
Previous file: linux/drivers/net/bpqether.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.34/linux/drivers/net/dgrs.c linux/drivers/net/dgrs.c
@@ -405,7 +405,7 @@
 		 */
 		udelay(1);
 
-		csr = (volatile) priv->vplxdma[PLX_DMA_CSR/4];
+		csr = (volatile int) priv->vplxdma[PLX_DMA_CSR/4];
 
                 if (csr & PLX_DMA_CSR_0_DONE)
                         break;
@@ -876,7 +876,7 @@
 		/* Wait for old command to finish */
 		for (i = 0; i < 1000; ++i)
 		{
-			if ( (volatile) privN->bcomm->bc_filter_cmd <= 0 )
+			if ( (volatile int) privN->bcomm->bc_filter_cmd <= 0 )
 				break;
 			udelay(1);
 		}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov