patch-1.3.96 linux/drivers/net/3c509.c

Next file: linux/drivers/net/Config.in
Previous file: linux/drivers/char/sunmouse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.95/linux/drivers/net/3c509.c linux/drivers/net/3c509.c
@@ -221,7 +221,6 @@
 		lrs_state = lrs_state & 0x100 ? lrs_state ^ 0xcf : lrs_state;
 	}
 
-	current_tag = dev->name[3]-'0';
 	/* For the first probe, clear all board's tag registers. */
 	if (current_tag == 0)
 		outb(0xd0, id_port);
@@ -266,10 +265,6 @@
 
 	/* Free the interrupt so that some other card can use it. */
 	outw(0x0f00, ioaddr + WN0_IRQ);
-
-	if( check_region(ioaddr, EL3_IO_EXTENT) )
-		return -ENODEV;
-
  found:
 	dev->base_addr = ioaddr;
 	dev->irq = irq;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this