[TG3]: Assign tp->link_config.orig_* values.
authorMichael Chan <mchan@broadcom.com>
Mon, 18 Dec 2006 01:06:46 +0000 (17:06 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 18 Dec 2006 05:59:19 +0000 (21:59 -0800)
commit24fcad6b3ca3bdbbb4614de3edc1ff16f594ba9a
tree1c1c7e830472218da1f5a8f40d2acfea06601c95
parent9b54d5c610fc5ba191d28c356b81999e81d9b515
[TG3]: Assign tp->link_config.orig_* values.

tp->link_config.orig_* values must be assigned during
tg3_set_settings() because these values will be used to setup the
link speed during tg3_open().  Without these assignments, the link
speed settings will be all messed by if tg3_set_settings() is called
when the device is down.

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