diff options
-rw-r--r-- | 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 94de85f3c720..4666e6e20972 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, | |||
3995 | dev->tx_timeout = sky2_tx_timeout; | 3995 | dev->tx_timeout = sky2_tx_timeout; |
3996 | dev->watchdog_timeo = TX_WATCHDOG; | 3996 | dev->watchdog_timeo = TX_WATCHDOG; |
3997 | #ifdef CONFIG_NET_POLL_CONTROLLER | 3997 | #ifdef CONFIG_NET_POLL_CONTROLLER |
3998 | dev->poll_controller = sky2_netpoll; | 3998 | if (port == 0) |
3999 | dev->poll_controller = sky2_netpoll; | ||
3999 | #endif | 4000 | #endif |
4000 | 4001 | ||
4001 | sky2 = netdev_priv(dev); | 4002 | sky2 = netdev_priv(dev); |