Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a5e68c02fe4d8dff2ff3c5212f9f67082849cc4b
Commit:     a5e68c02fe4d8dff2ff3c5212f9f67082849cc4b
Parent:     bdb3f751cfe6d8d5737a2ff406d7169361b5dfb2
Author:     Stephen Hemminger <[EMAIL PROTECTED]>
AuthorDate: Tue Nov 6 11:45:40 2007 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Sat Nov 10 04:25:14 2007 -0500

    sky2: netpoll on port 0 only
    
    Netpoll will only work on port 0 because of the restrictive
    relationship between NAPI and netpoll.
    
    Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
---
 drivers/net/sky2.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index 94de85f..4666e6e 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -3995,7 +3995,8 @@ static __devinit struct net_device 
*sky2_init_netdev(struct sky2_hw *hw,
        dev->tx_timeout = sky2_tx_timeout;
        dev->watchdog_timeo = TX_WATCHDOG;
 #ifdef CONFIG_NET_POLL_CONTROLLER
-       dev->poll_controller = sky2_netpoll;
+       if (port == 0)
+               dev->poll_controller = sky2_netpoll;
 #endif
 
        sky2 = netdev_priv(dev);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to