| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | fix s2io driver compilation |
| From: | Andi Kleen <ak@xxxxxxx> |
| Date: | Tue, 23 Mar 2004 07:09:31 +0100 |
| Cc: | ravinandan.arakali@xxxxxxxx |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Without this patch it won't build with NAPI enabled.
(against the patch Jeff posted)
-Andi
diff -u linux-2.6.4/drivers/net/s2io.c-o linux-2.6.4/drivers/net/s2io.c
--- linux-2.6.4/drivers/net/s2io.c-o 2004-03-22 22:01:26.000000000 -0800
+++ linux-2.6.4/drivers/net/s2io.c 2004-03-22 22:04:05.490715632 -0800
@@ -2339,9 +2339,7 @@
struct net_device *dev = (struct net_device *) dev_id;
nic_t *sp = dev->priv;
XENA_dev_config_t *bar0 = (XENA_dev_config_t *) sp->bar0;
-#ifndef CONFIG_S2IO_NAPI
int i, ret;
-#endif
u64 reason = 0, general_mask = 0;
mac_info_t *mac_control;
struct config_param *config;
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2/2 (resend)] TBF trailing whitespace fixes, Dmitry Torokhov |
|---|---|
| Next by Date: | Re: [2.4/2.6] ipvs: improve conn rehashing, other fixes, Julian Anastasov |
| Previous by Thread: | [PATCH 1/2 (resend)] Fix TBF class reporting (tc class show), Dmitry Torokhov |
| Next by Thread: | Quirky Behaviour while counting #tcp packets received., Abhinav Gupta |
| Indexes: | [Date] [Thread] [Top] [All Lists] |