Netdev List
 help / color / mirror / Atom feed
From: Daniele Venzano <webvenza@libero.it>
To: netdev@oss.sgi.com, jgarzik@pobox.com
Subject: [PATCH 2/2] More ethtool support for sis900 and warning fix
Date: Sat, 12 Mar 2005 11:39:41 +0100 (CET)	[thread overview]
Message-ID: <20050312103941.27851.65526@localhost.localdomain> (raw)
In-Reply-To: <20050312103939.27851.24067@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 124 bytes --]


Fix for a warning introduced with the patch for netconsole support.


Signed-off-by: Daniele Venzano <webvenza@libero.it>


[-- Attachment #2: Type: text/plain, Size: 680 bytes --]

Index: sis900.c
===================================================================
--- a/drivers/net/sis900.c	(revision 102)
+++ b/drivers/net/sis900.c	(revision 103)
@@ -197,7 +197,10 @@ MODULE_PARM_DESC(multicast_filter_limit,
 MODULE_PARM_DESC(max_interrupt_work, "SiS 900/7016 maximum events handled per interrupt");
 MODULE_PARM_DESC(sis900_debug, "SiS 900/7016 bitmapped debugging message level");
 
+#ifdef CONFIG_NET_POLL_CONTROLLER
 static void sis900_poll(struct net_device *dev);
+#endif
+
 static int sis900_open(struct net_device *net_dev);
 static int sis900_mii_probe (struct net_device * net_dev);
 static void sis900_init_rxfilter (struct net_device * net_dev);

      reply	other threads:[~2005-03-12 10:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-12 10:39 [PATCH 1/2] More ethtool support for sis900 and warning fix Daniele Venzano
2005-03-12 10:39 ` Daniele Venzano [this message]

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=20050312103941.27851.65526@localhost.localdomain \
    --to=webvenza@libero.it \
    --cc=jgarzik@pobox.com \
    --cc=netdev@oss.sgi.com \
    /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