tg3: Remove unneeded link_config.orig_... members
authorMatt Carlson <mcarlson@broadcom.com>
Mon, 13 Feb 2012 15:20:15 +0000 (15:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Feb 2012 01:45:07 +0000 (20:45 -0500)
commitc6700ce2248ecf3b1b6fd009f6aed9b6387d3377
tree4241b16c71957516cac0f2532bda89c82d8bec30
parent2855b9fe416e55d01a1946b142d87abd4cceb6ea
tg3: Remove unneeded link_config.orig_... members

This patch removes the unneeded link_config.orig_* members.  When the
phy is in a low power state, the TG3_PHYFLG_IS_LOW_POWER flag solely
determines how the link is configured.  When the phy is powered back up,
it can resume using the original settings.

For the phylib case, the link configuration still needs to be saved, but
since the phylib maintains its own configuration, we can repurpose the
(unused in this case) tg3 link configuration members.

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