diff options
author | Michael Chan <mchan@broadcom.com> | 2005-04-21 17:06:20 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-04-21 17:06:20 -0700 |
commit | 7d0c41ef89dad9008edf1c3c0022721ebad39999 (patch) | |
tree | 2da17c83458f8a84f99d05ea201bc71e8f2155fe /scripts | |
parent | 85e94cedc44d1c2c1663b5b18f703ca5e7316e59 (diff) |
[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 <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions