patch-2.4.19 linux-2.4.19/drivers/net/lance.c
Next file: linux-2.4.19/drivers/net/lne390.c
Previous file: linux-2.4.19/drivers/net/irda/sa1100_ir.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/net/lance.c
- Orig date:
Sun Sep 30 12:26:06 2001
diff -urN linux-2.4.18/drivers/net/lance.c linux-2.4.19/drivers/net/lance.c
@@ -354,7 +354,7 @@
board probes now that kmalloc() can allocate ISA DMA-able regions.
This also allows the LANCE driver to be used as a module.
*/
-int lance_probe(struct net_device *dev)
+int __init lance_probe(struct net_device *dev)
{
int *port, result;
@@ -383,7 +383,7 @@
return 0;
}
}
- release_resource(r);
+ release_region(ioaddr, LANCE_TOTAL_SIZE);
}
}
return -ENODEV;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)