patch-2.4.19 linux-2.4.19/drivers/isdn/act2000/act2000_isa.c
Next file: linux-2.4.19/drivers/isdn/act2000/capi.h
Previous file: linux-2.4.19/drivers/isdn/act2000/act2000.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/isdn/act2000/act2000_isa.c
- Orig date:
Fri Dec 21 09:41:54 2001
diff -urN linux-2.4.18/drivers/isdn/act2000/act2000_isa.c linux-2.4.19/drivers/isdn/act2000/act2000_isa.c
@@ -178,7 +178,8 @@
card->flags &= ~ACT2000_FLAGS_PVALID;
}
if (!check_region(portbase, ISA_REGION)) {
- request_region(portbase, ACT2000_PORTLEN, card->regname);
+ if (request_region(portbase, ACT2000_PORTLEN, card->regname) == NULL)
+ return -EIO;
card->port = portbase;
card->flags |= ACT2000_FLAGS_PVALID;
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)