* [patch] 3c509: don't return if request_region fails
@ 2003-10-08 0:27 Aristeu Sergio Rozanski Filho
0 siblings, 0 replies; only message in thread
From: Aristeu Sergio Rozanski Filho @ 2003-10-08 0:27 UTC (permalink / raw)
To: jgarzik; +Cc: netdev
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
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.
--
aris
[-- Attachment #2: 3c509-pnpprobe.patch --]
[-- Type: text/plain, Size: 1150 bytes --]
# 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 aris@cathedrallabs.org 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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-10-08 0:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-08 0:27 [patch] 3c509: don't return if request_region fails Aristeu Sergio Rozanski Filho
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).