patch-2.4.19 linux-2.4.19/drivers/net/wan/sealevel.c
Next file: linux-2.4.19/drivers/net/wd.c
Previous file: linux-2.4.19/drivers/net/wan/sdla_x25.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/net/wan/sealevel.c
- Orig date:
Sun Sep 30 12:26:08 2001
diff -urN linux-2.4.18/drivers/net/wan/sealevel.c linux-2.4.19/drivers/net/wan/sealevel.c
@@ -219,12 +219,11 @@
* Get the needed I/O space
*/
- if(check_region(iobase, 8))
+ if(!request_region(iobase, 8, "Sealevel 4021"))
{
printk(KERN_WARNING "sealevel: I/O 0x%X already in use.\n", iobase);
return NULL;
}
- request_region(iobase, 8, "Sealevel 4021");
b=(struct slvl_board *)kmalloc(sizeof(struct slvl_board), GFP_KERNEL);
if(!b)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)