]> git.baikalelectronics.ru Git - kernel.git/commit
tg3: WOL fixes
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 22 Dec 2008 04:18:56 +0000 (20:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Dec 2008 04:18:56 +0000 (20:18 -0800)
commit77fab75639c7b52a8b361c419c5c1245369131e1
tree5e5af7f26637298841ca0a2e761f2b929b95ebd6
parent1ac9391ac6305f6aa27e991e32e9e74bf831b866
tg3: WOL fixes

The first hunk of this patch inverts a flag that was accidentally
toggled as part of commit 12ebbe0ef602dda4fd1720cc494f387ad5f1e600
("tg3: Allow WOL for phylib controlled Broadcom phys").

The second hunk of the patch removes the call to
device_may_wakeup() in the 5906 config detection path.  At the
point of the call, the driver shouldn't be querying for WOL
capability.  It should be detecting and setting it.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c