Skip to content

Commit

Permalink
ll_temac: Fix poll implementation
Browse files Browse the repository at this point in the history
Functions ll_temac_rx_irq and ll_temac_tx_irq
have pointer to net_device as second parameter not
pointer to temac_local.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Michal Simek authored and David S. Miller committed Aug 19, 2010
1 parent 502820a commit 8539992
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ll_temac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -902,8 +902,8 @@ temac_poll_controller(struct net_device *ndev)
disable_irq(lp->tx_irq);
disable_irq(lp->rx_irq);

ll_temac_rx_irq(lp->tx_irq, lp);
ll_temac_tx_irq(lp->rx_irq, lp);
ll_temac_rx_irq(lp->tx_irq, ndev);
ll_temac_tx_irq(lp->rx_irq, ndev);

enable_irq(lp->tx_irq);
enable_irq(lp->rx_irq);
Expand Down

0 comments on commit 8539992

Please sign in to comment.