3c509: don't return if request_region fails
Subsystems (2)
PATCH 1/1 3c509: don't return if request_region fails
hi,
this makes el3_probe don't return if request_region fails while trying to detect pnp cards. it would leave the other pnp cards attached.
Signature · 1 line
aris
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.1375 -> 1.1376 # drivers/net/3c509.c 1.43 -> 1.44
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/10/07 [email protected] 1.1376
# o 3c509: don't return if request_region fails
# --------------------------------------------
#
diff -Nru a/drivers/net/3c509.c b/drivers/net/3c509.c
--- a/drivers/net/3c509.c Tue Oct 7 21:19:05 2003
+++ b/drivers/net/3c509.c Tue Oct 7 21:19:05 2003
@@ -404,7 +404,7 @@
ioaddr = pnp_port_start(idev, 0);
if (!request_region(ioaddr, EL3_IO_EXTENT, "3c509 PnP")) {
pnp_device_detach(idev);
- return -EBUSY;
+ continue;
}
irq = pnp_irq(idev, 0);
if (el3_debug > 3)