diff options
| author | Marian Balakowicz <m8@semihalf.com> | 2005-10-28 22:30:33 +0200 | 
|---|---|---|
| committer | Marian Balakowicz <m8@semihalf.com> | 2005-10-28 22:30:33 +0200 | 
| commit | 63ff004c4fcad9f690bf44dbd15d568bb47aac2d (patch) | |
| tree | 7b64074a85da8118b6c862f14de1171b36ade0f7 /net/net.c | |
| parent | fe93483a0ab9dcbf7794ffbf0b029ba138380e81 (diff) | |
| download | olio-uboot-2014.01-63ff004c4fcad9f690bf44dbd15d568bb47aac2d.tar.xz olio-uboot-2014.01-63ff004c4fcad9f690bf44dbd15d568bb47aac2d.zip | |
Add support for multiple PHYs.
Diffstat (limited to 'net/net.c')
| -rw-r--r-- | net/net.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -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); |