From: Michael Chan Date: Fri, 22 Apr 2005 00:06:20 +0000 (-0700) Subject: [TG3]: Split tg3_phy_probe into 2 functions X-Git-Tag: v2.6.12-rc4~272 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d0c41ef89dad9008edf1c3c0022721ebad39999;p=pandora-kernel.git [TG3]: Split tg3_phy_probe into 2 functions Split the 1st half of tg3_phy_probe() into tg3_get_eeprom_hw_cfg() so that the TG3_FLAG_EEPROM_WRITE_PROT can be determined before calling tg3_set_power_state() in tg3_get_invariants(). This will allow tg3_set_power_state() to drive the GPIOs correctly based on the config. information in eeprom. On the 5752, there are no pull-up resistors on the GPIO pins and it is necessary to drive the unused GPIOs as output. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed