]> err.no Git - linux-2.6/commit
[TG3]: Add reset_phy parameter to chip reset functions
authorGary Zambrano <zambrano@broadcom.com>
Sun, 30 Apr 2006 01:59:13 +0000 (18:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 30 Apr 2006 01:59:13 +0000 (18:59 -0700)
commit8e7a22e3eb49042c048f24bab40cf5cf8915487d
tree6f14a777e098096b3482a57f4145269752aba0c4
parent58712ef9f2cbaaeac5b32ac11810a4bbd0eeacc5
[TG3]: Add reset_phy parameter to chip reset functions

Add a reset_phy parameter to tg3_reset_hw() and tg3_init_hw(). With
the full chip reset during MAC address change, the automatic PHY reset
during chip reset will cause a link down and bonding will not work
properly as a result. With this reset_phy parameter, we can do a chip
reset without link down when changing MAC address or MTU.

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