summaryrefslogtreecommitdiffstats
path: root/fs/hpfs/alloc.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@freescale.com>2011-01-05 21:13:12 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-09 15:42:56 -0800
commitbcc67771ed8ee31cc1f2b1e033ae822b40c72ff9 (patch)
tree1b41ce6cd2fd9f4af71c2bbe2a6084e5c8f0bcd1 /fs/hpfs/alloc.c
parent49da97dcb6b00a6869bbc3fa6ec7fdfd8a6e41a3 (diff)
downloadblackbird-op-linux-bcc67771ed8ee31cc1f2b1e033ae822b40c72ff9.tar.gz
blackbird-op-linux-bcc67771ed8ee31cc1f2b1e033ae822b40c72ff9.zip
net/fec: improve pm for better suspend/resume
The following commit made a fix to use fec_enet_open/fec_enet_close over fec_enet_init/fec_stop for suspend/resume, because fec_enet_init does not allow to have a working network interface at resume. e3fe8558c7fc182972c3d947d88744482111f304 net/fec: fix pm to survive to suspend/resume This fix works for i.mx/mxc fec controller, but fails on mx28 fec which gets a different interrupt logic design. On i.mx fec, interrupt can be triggered even bit ETHER_EN of ECR register is not set. But on mx28 fec, ETHER_EN must be set to get interrupt work. Meanwhile, MII interrupt is mandatory to resume the driver, because MDIO read/write changed to interrupt mode by commit below. 97b72e4320a9aaa4a7f1592ee7d2da7e2c9bd349 fec: use interrupt for MDIO completion indication fec_restart/fec_stop comes out as the solution working for both cases. Signed-off-by: Shawn Guo <shawn.guo@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/hpfs/alloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud