]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc320356f2d4499865dba891804b0a76a3d067954
treebac3fb366c8fb4976f23042468f2f83ebe0534cb
parenta0650f65a7dabfac2d0b008c6e5efb43421b6136
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