mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: James Morris <jmorris@intercode.com.au>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] 3c509 compile fix for 2.5.24
Date: Sat, 22 Jun 2002 01:16:55 +1000 (EST)	[thread overview]
Message-ID: <Mutt.LNX.4.44.0206220112180.6457-100000@blackbird.intercode.com.au> (raw)

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


                 reply	other threads:[~2002-06-21 15:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Mutt.LNX.4.44.0206220112180.6457-100000@blackbird.intercode.com.au \
    --to=jmorris@intercode.com.au \
    --cc=jgarzik@mandrakesoft.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®