mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] 3c509 compile fix for 2.5.24
@ 2002-06-21 15:16 James Morris
  0 siblings, 0 replies; only message in thread
From: James Morris @ 2002-06-21 15:16 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-21 15:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-21 15:16 [PATCH] 3c509 compile fix for 2.5.24 James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®