net/fec: restore interrupt mask after software-reset in fec_stop()
authorWolfram Sang <w.sang@pengutronix.de>
Wed, 21 Jul 2010 02:51:13 +0000 (02:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Jul 2010 21:14:46 +0000 (14:14 -0700)
commit4bee1f9ac066ef0350b961eab9fedc4d0bd0a549
tree6ca695f0f1387a322ae7d9ba2b1af8c90e2edb01
parent8cd47ea19bf8c6f9d3a41b3c312237d007138ae0
net/fec: restore interrupt mask after software-reset in fec_stop()

After the change from mdio polling to irq, it became necessary to
restore the interrupt mask after resetting the chip in fec_stop().
Otherwise, with all irqs disabled, no communication with the PHY will be
possible after e.g. un-/replugging the cable and the device gets
stalled.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec.c