summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2005-10-29 23:45:04 +0200
committerWolfgang Denk <wd@pollux.denx.de>2005-10-29 23:45:04 +0200
commit5d4ee51061e70118fb598e3aca082dd11a154e87 (patch)
treeb7cddabfe81abe8fa066dd082a9425bee556cd88 /net/net.c
parent7b5cac0e1958173a390ae6d620a610028cad25f8 (diff)
parent99eb35dbbfd94d8d4e047952663f92526ae4dfc8 (diff)
Merge with /home/m8/git/u-boot
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net.c b/net/net.c
index d1a15e2a09..2986924824 100644
--- a/net/net.c
+++ b/net/net.c
@@ -461,7 +461,7 @@ restart:
/*
* Echo the inverted link state to the fault LED.
*/
- if(miiphy_link(CFG_FAULT_MII_ADDR)) {
+ if(miiphy_link(eth_get_dev()->name, CFG_FAULT_MII_ADDR)) {
status_led_set (STATUS_LED_RED, STATUS_LED_OFF);
} else {
status_led_set (STATUS_LED_RED, STATUS_LED_ON);
@@ -512,7 +512,7 @@ restart:
/*
* Echo the inverted link state to the fault LED.
*/
- if(miiphy_link(CFG_FAULT_MII_ADDR)) {
+ if(miiphy_link(eth_get_dev()->name, CFG_FAULT_MII_ADDR)) {
status_led_set (STATUS_LED_RED, STATUS_LED_OFF);
} else {
status_led_set (STATUS_LED_RED, STATUS_LED_ON);