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

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

diff -u --recursive --new-file v2.1.77/linux/drivers/net/dgrs.c linux/drivers/net/dgrs.c
@@ -406,7 +406,7 @@
 		 */
 		udelay(1);
 
-		csr = (volatile) priv->vplxdma[PLX_DMA_CSR/4];
+		csr = (volatile unsigned long) priv->vplxdma[PLX_DMA_CSR/4];
 
                 if (csr & PLX_DMA_CSR_0_DONE)
                         break;
@@ -871,7 +871,7 @@
 			/* Wait for old command to finish */
 			for (i = 0; i < 1000; ++i)
 			{
-				if ( (volatile) privN->bcomm->bc_filter_cmd <= 0 )
+				if ( (volatile long) 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