]> git.baikalelectronics.ru Git - kernel.git/commit
net: calxedaxgmac: Wake-on-LAN fixes
authorRob Herring <rob.herring@calxeda.com>
Thu, 28 Mar 2013 11:32:45 +0000 (11:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2013 19:29:35 +0000 (15:29 -0400)
commit9a422dd322fb96c07244d9245ad6eaec67ddea0e
tree2e01270d8271771e71d7460a42fef1d630212266
parenta99da0282c2fc0ce49b4751a98d5c86f05827e38
net: calxedaxgmac: Wake-on-LAN fixes

WOL is broken because the magic packet status bit is getting set rather
than the enable bit. The PMT interrupt is not getting serviced because
the PMT interrupt is also enabled on the global interrupt, but not
cleared by the global interrupt and the global interrupt is higher
priority. This fixes both of these issues to get WOL working.

There's still a problem with receive after resume, but at least now we
can wake-up.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/calxeda/xgmac.c