mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
ll_temac: Fix poll implementation
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>
This commit is contained in:
parent
502820a316
commit
8539992f60
@ -902,8 +902,8 @@ temac_poll_controller(struct net_device *ndev)
|
|||||||
disable_irq(lp->tx_irq);
|
disable_irq(lp->tx_irq);
|
||||||
disable_irq(lp->rx_irq);
|
disable_irq(lp->rx_irq);
|
||||||
|
|
||||||
ll_temac_rx_irq(lp->tx_irq, lp);
|
ll_temac_rx_irq(lp->tx_irq, ndev);
|
||||||
ll_temac_tx_irq(lp->rx_irq, lp);
|
ll_temac_tx_irq(lp->rx_irq, ndev);
|
||||||
|
|
||||||
enable_irq(lp->tx_irq);
|
enable_irq(lp->tx_irq);
|
||||||
enable_irq(lp->rx_irq);
|
enable_irq(lp->rx_irq);
|
||||||
|
Loading…
Reference in New Issue
Block a user