patch-2.1.128 linux/drivers/net/z85230.c

Next file: linux/drivers/pci/pcisyms.c
Previous file: linux/drivers/net/yellowfin.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.127/linux/drivers/net/z85230.c linux/drivers/net/z85230.c
@@ -391,9 +391,12 @@
 	if(chan->rxdma_on)
 	{
 		/* Special condition check only */
-		u8 r7=read_zsreg(chan, R7);
-		u8 r6=read_zsreg(chan, R6);
-		u8 status=read_zsreg(chan, R1);
+		u8 status;
+
+		read_zsreg(chan, R7);
+		read_zsreg(chan, R6);
+		
+		status=read_zsreg(chan, R1);
 		if(status&END_FR)
 		{
 			z8530_rx_done(chan);	/* Fire up the next one */

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