diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-08 14:15:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-08 14:15:23 -0400 |
commit | f2d7499be1b1fe1cd8a5e6a01c1f44173894a241 (patch) | |
tree | 64d341a90d8cb831a5097e365d303367906f1373 /drivers/net/gianfar.c | |
parent | 8d659f5e43c5db2630e85f507b7384365e9e1c1e (diff) | |
parent | 76aab2c1eae491a5d73ac83deec97dd28ebac584 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (99 commits)
pkt_sched: Fix actions referencing
bnx2x: fix logical op
tcp: (whitespace only) fix confusing indentation
pkt_sched: Fix qdisc config when link is down.
[Bluetooth] Add full quirk implementation for btusb driver
[Bluetooth] Removal of unnecessary ignore module parameter
[Bluetooth] Add parameters to control BNEP header compression
ath9k: Revamp wireless mode usage
ath9k: More unused macros
ath9k: Remove a few unused macros and fix indentation
ath9k: Use mac80211's band macros and remove enum hal_freq_band
ath9k: Remove redundant data structure ath9k_txq_info
ath9k: Cleanup data structures related to HW capabilities
ath9k: work around gcc ICEs
ath9k: Add new Atheros IEEE 802.11n driver
ath5k: remove Atheros 11n devices from supported list
list.h: add list_cut_position()
list.h: Add list_splice_tail() and list_splice_tail_init()
p54: swap short slot time dcf values
rt2x00: Block all unsupported modes
...
Diffstat (limited to 'drivers/net/gianfar.c')
-rw-r--r-- | drivers/net/gianfar.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index b8394cf134e8..ca6cf6ecb37b 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -414,9 +414,7 @@ static int gfar_suspend(struct platform_device *pdev, pm_message_t state) | |||
414 | spin_unlock(&priv->rxlock); | 414 | spin_unlock(&priv->rxlock); |
415 | spin_unlock_irqrestore(&priv->txlock, flags); | 415 | spin_unlock_irqrestore(&priv->txlock, flags); |
416 | 416 | ||
417 | #ifdef CONFIG_GFAR_NAPI | ||
418 | napi_disable(&priv->napi); | 417 | napi_disable(&priv->napi); |
419 | #endif | ||
420 | 418 | ||
421 | if (magic_packet) { | 419 | if (magic_packet) { |
422 | /* Enable interrupt on Magic Packet */ | 420 | /* Enable interrupt on Magic Packet */ |
@@ -469,9 +467,7 @@ static int gfar_resume(struct platform_device *pdev) | |||
469 | 467 | ||
470 | netif_device_attach(dev); | 468 | netif_device_attach(dev); |
471 | 469 | ||
472 | #ifdef CONFIG_GFAR_NAPI | ||
473 | napi_enable(&priv->napi); | 470 | napi_enable(&priv->napi); |
474 | #endif | ||
475 | 471 | ||
476 | return 0; | 472 | return 0; |
477 | } | 473 | } |