tg3: Enable EEE support for capable 10/100 devs
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 14 Dec 2011 11:09:57 +0000 (11:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Dec 2011 18:09:10 +0000 (13:09 -0500)
commit4f272096054b6154e31e850f192eef5782f156c6
treebac3fb366c8fb4976f23042468f2f83ebe0534cb
parentc48e074c7c75c0de4652ea5f5bf4e74c8cf4e3dd
tg3: Enable EEE support for capable 10/100 devs

There are some devices in the 57765 ASIC rev that are EEE capable.
Unfortunately the EEE setup code only gets executed if the device is
gigabit capable.  This patch fixes the problem.

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