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

Next file: linux/drivers/net/sdla.c
Previous file: linux/drivers/net/hamradio/dmascc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/drivers/net/ni52.c linux/drivers/net/ni52.c
@@ -366,11 +366,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. */
+	} else if (base_addr > 0)		/* Don't probe at all. */
 		return ENXIO;
 
 #ifdef MODULE

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