| 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>
|
| Previous by Date: | Re: Fw: unregister_netdevice(): negative refcnt, suggest patch against 2.6.11, Herbert Xu |
|---|---|
| Next by Date: | [PATCH 2.6.12-rc2 3/11] tg3: Setup proper GPIO settings, Michael Chan |
| Previous by Thread: | [PATCH 2.6.12-rc2 1/11] tg3: Minor 5752 fixes, Michael Chan |
| Next by Thread: | [PATCH 2.6.12-rc2 3/11] tg3: Setup proper GPIO settings, Michael Chan |
| Indexes: | [Date] [Thread] [Top] [All Lists] |