mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
Add support for multiple PHYs.
This commit is contained in:
parent
fe93483a0a
commit
63ff004c4f
60 changed files with 909 additions and 288 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue