projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4927316
)
[PATCH] e1000: Fix PHY reset when blocked
author
Jeff Kirsher
<
[email protected]
>
Fri, 13 Jan 2006 00:50:46 +0000
(16:50 -0800)
committer
Jeff Garzik
<
[email protected]
>
Tue, 17 Jan 2006 12:44:49 +0000
(07:44 -0500)
Signed-off-by: Jeff Kirsher <
[email protected]
>
Signed-off-by: Jesse Brandeburg <
[email protected]
>
Signed-off-by: John Ronciak <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/net/e1000/e1000_hw.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000/e1000_hw.c
b/drivers/net/e1000/e1000_hw.c
index 45fa386d212e4c949d0d9152d405f6121607035e..bb9d00e0dc1473c1aa1c69c335537841bf4803ef 100644
(file)
--- a/
drivers/net/e1000/e1000_hw.c
+++ b/
drivers/net/e1000/e1000_hw.c
@@
-838,6
+838,11
@@
e1000_setup_link(struct e1000_hw *hw)
DEBUGFUNC("e1000_setup_link");
+ /* In the case of the phy reset being blocked, we already have a link.
+ * We do not have to set it up again. */
+ if (e1000_check_phy_reset_block(hw))
+ return E1000_SUCCESS;
+
/* Read and store word 0x0F of the EEPROM. This word contains bits
* that determine the hardware's default PAUSE (flow control) mode,
* a bit that determines whether the HW defaults to enabling or