forcedeth: use unicast receive mode for WoL
commit2cc49a5ca14348f225beb888ad383064f2a96876
authorTim Mann <mann@vmware.com>
Thu, 14 Jun 2007 20:16:38 +0000 (14 13:16 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 20 Jun 2007 23:15:04 +0000 (20 19:15 -0400)
tree719ea917b9510968a3d7cb214fbf09585883d4d8
parentd46146274b2dc01fac4063d31393385117d31f58
forcedeth: use unicast receive mode for WoL

I happened to notice that a system with an NVidia NIC using the
forcedeth driver won't wake-on-LAN if the interface was in promiscuous
mode when you power off.  By experiment, it looks like
the hardware needs to have NvRegPacketFilterFlags set to
NVREG_PFF_ALWAYS|NVREG_PFF_MYADDR (i.e., receive unicast packets to my
address) in order for WoL to work.

Jeff Garzik writes: "NVIDIA says the patch looks OK."  I didn't venture
to insert a signed-off-by line with his name on it, though.

Signed-off-by: Tim Mann <mann@vmware.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/forcedeth.c