]> git.baikalelectronics.ru Git - kernel.git/commit
net/ethernet: ks8851_mll fix irq handling
authorJan Weitzel <j.weitzel@phytec.de>
Tue, 14 Feb 2012 21:35:15 +0000 (21:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2012 20:41:10 +0000 (15:41 -0500)
commit06c1a14fc8bd45a36d8daf6a054164e1619b59aa
tree2121139424540e89e1f5b2ead40c96db5cc0b12b
parent7277902b80108ed398a228903465ad125c04cee2
net/ethernet: ks8851_mll fix irq handling

There a two different irq variables ks->irq and netdev->irq.
Only ks->irq is set on probe, so disabling irq in ks_start_xmit fails.

This patches remove ks->irq from private data and use only netdev->irq.

Tested on a kernel 3.0 based OMAP4430 SMP Board

Signed-off-by: Jan Weitzel <j.weitzel@phytec.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/micrel/ks8851_mll.c