tg3: Abort phy init for 5717 serdes devices
authorMatt Carlson <mcarlson@broadcom.com>
Wed, 20 Jan 2010 16:58:05 +0000 (16:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2010 03:20:59 +0000 (19:20 -0800)
commitecf1410b9d70b3034e5955e92bb0c3e02ff21e9c
treee37b5e44fea34028cba9b57a881dbc5201e3e40f
parent9b952f51d019db37276bdb2924e776ca09132fc1
tg3: Abort phy init for 5717 serdes devices

The 5717 serdes devices have a different phy register layout than all
other previous serdes devices.  This patch aborts the phy init sequence
in tg3_phy_reset() if the device is a 5717 serdes.  It also aborts the
tg3_phy_toggle_apd() operation.  Most other operations in the MII_SERDES
path are O.K.

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/tg3.c