From: Matt Carlson Date: Tue, 4 Nov 2008 00:54:56 +0000 (-0800) Subject: tg3: Refine phylib support X-Git-Tag: v2.6.29-rc1~581^2~779 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c61d6bc56bf0a5fb1ebfcf4c168cc5ce30e153b;p=pandora-kernel.git tg3: Refine phylib support This patch refines the phylib support in the tg3 driver. The patch does the following things : * Rename tg3_mdio_config() to tg3_mdio_config_5785(). The 5785 will be the only device that will use it so the name might as well reflect that. * Fix a memory leak if mdiobus_register() fails. * Add code to deal with phy device detection failures. * Add code to correct the supported list of phy features based on the MAC <=> PHY interface. Signed-off-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed