lkml.org 
[lkml]   [2002]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 3c509 compile fix for 2.5.24
Below is a patch which allows the 3c509.c driver to compile for 
non-isapnp configurations (a trivial bug was seemingly introduced in
http://marc.theaimsgroup.com/?l=linux-kernel&m=102394259120718&w=2)

Please apply.

- James
--
James Morris
<jmorris@intercode.com.au>

diff -urN -X dontdiff linux-2.5.24.orig/drivers/net/3c509.c linux-2.5.24.w1/drivers/net/3c509.c
--- linux-2.5.24.orig/drivers/net/3c509.c Fri Jun 21 13:12:48 2002
+++ linux-2.5.24.w1/drivers/net/3c509.c Sat Jun 22 00:59:59 2002
@@ -1259,9 +1259,9 @@
#ifdef __ISAPNP__
MODULE_PARM(nopnp, "i");
MODULE_PARM_DESC(nopnp, "disable ISA PnP support (0-1)");
+MODULE_DEVICE_TABLE(isapnp, el3_isapnp_adapters);
#endif /* __ISAPNP__ */
MODULE_DESCRIPTION("3Com Etherlink III (3c509, 3c509B) ISA/PnP ethernet driver");
-MODULE_DEVICE_TABLE(isapnp, el3_isapnp_adapters);
MODULE_LICENSE("GPL");

int
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.023 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site