patch-2.1.103 linux/drivers/net/hamradio/dmascc.c

Next file: linux/drivers/net/ni52.c
Previous file: linux/drivers/isdn/isdn_net.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/drivers/net/hamradio/dmascc.c linux/drivers/net/hamradio/dmascc.c
@@ -381,7 +381,7 @@
 
     /* Check valid I/O address regions */
     for (i = 0; i < hw[h].num_devs; i++)
-      if (base[i])
+      if (base[i]) {
 	if (check_region(base[i], hw[h].io_size))
 	  base[i] = 0;
 	else {
@@ -389,6 +389,7 @@
 	  t0[i]   = base[i] + hw[h].tmr_offset + TMR_CNT0;
 	  t1[i]   = base[i] + hw[h].tmr_offset + TMR_CNT1;
 	}
+      }
 
     /* Start timers */
     for (i = 0; i < hw[h].num_devs; i++)

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