]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit2023276ebf074a01eb56f38ed4d04deef1deee67
tree5e5af7f26637298841ca0a2e761f2b929b95ebd6
parent7f3ff4f63f76c2702da6041d2da5eb30fac407f6
tg3: WOL fixes

The first hunk of this patch inverts a flag that was accidentally
toggled as part of commit 0a459aac9d151c2e36ec65723b9b845b24c5cbc3
("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