tg3: Move EEE definitions into mdio.h
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 6 Dec 2010 08:28:50 +0000 (08:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Dec 2010 19:03:46 +0000 (11:03 -0800)
commit3110f5f5545a645c50ef66b1f705d08dfd1df404
tree0de70162efdc0094ec52af362730712271967730
parent8fc2f9956127d2b85280c07e69aeb08b9bd85150
tg3: Move EEE definitions into mdio.h

In commit 52b02d04c801fff51ca49ad033210846d1713253 entitled "tg3: Add
EEE support", Ben Hutchings had commented that the EEE advertisement
register will be in a standard location.  This patch moves that
definition into mdio.h and changes the code to use it.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h
include/linux/mdio.h