netdev
[Top] [All Lists]

[PATCH 2.6.12-rc2 2/11] tg3: Split tg3_phy_probe into 2 functions

To: "John W. Linville" <linville@xxxxxxxxxxxxx>, davem@xxxxxxxxxxxxx
Subject: [PATCH 2.6.12-rc2 2/11] tg3: Split tg3_phy_probe into 2 functions
From: "Michael Chan" <mchan@xxxxxxxxxxxx>
Date: Mon, 18 Apr 2005 00:08:31 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <1113807037.6504.17.camel@rh4>
References: <04132005193843.8300@laptop> <1113806551.6504.11.camel@rh4> <1113807037.6504.17.camel@rh4>
Sender: netdev-bounce@xxxxxxxxxxx
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@xxxxxxxxxxxx>

Attachment: tg3-102.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>