patch-2.0.37 linux/drivers/net/ni52.c

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

diff -u --recursive --new-file v2.0.36/linux/drivers/net/ni52.c linux/drivers/net/ni52.c
@@ -363,10 +363,11 @@
 #endif
   int base_addr = dev->base_addr;
 
-  if (base_addr > 0x1ff)		/* Check a single specified location. */
+  if (base_addr > 0x1ff) {		/* Check a single specified location. */
     if( (inb(base_addr+NI52_MAGIC1) == NI52_MAGICVAL1) &&
         (inb(base_addr+NI52_MAGIC2) == NI52_MAGICVAL2))
       return ni52_probe1(dev, base_addr);
+  }
   else if (base_addr > 0)		/* Don't probe at all. */
     return ENXIO;
 

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