]> 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)
commit1192b1ee0023f544f23b7da59c17dfe2282944b7
tree2e01270d8271771e71d7460a42fef1d630212266
parent40ae748edaba14f77bd7c3078957be403c1aaa4c
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