diff options
author | Jon Loeliger <jdl@freescale.com> | 2008-01-10 14:28:18 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-01-10 14:28:18 -0600 |
commit | bb66f5613672fc80a6b38a0e1651d893bbe590a5 (patch) | |
tree | 9a8af7224b4dc2162a5cec00cf44d5afae43622f /drivers/net/tsi108_eth.c | |
parent | b830b7f1635984ba607219fcbd78597c28eeb529 (diff) | |
parent | 422b1a01602b6e2fbf8444a1192c7ba31461fd4c (diff) | |
download | u-boot-imx-bb66f5613672fc80a6b38a0e1651d893bbe590a5.zip u-boot-imx-bb66f5613672fc80a6b38a0e1651d893bbe590a5.tar.gz u-boot-imx-bb66f5613672fc80a6b38a0e1651d893bbe590a5.tar.bz2 |
Merge commit 'wd/master'
Diffstat (limited to 'drivers/net/tsi108_eth.c')
-rw-r--r-- | drivers/net/tsi108_eth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/tsi108_eth.c b/drivers/net/tsi108_eth.c index 524e9da..a09115e 100644 --- a/drivers/net/tsi108_eth.c +++ b/drivers/net/tsi108_eth.c @@ -792,7 +792,7 @@ static int tsi108_eth_probe (struct eth_device *dev, bd_t * bis) (dev->enetaddr[0] << 16); if (marvell_88e_phy_config(dev, &speed, &duplex) == 0) - return 0; + return -1; value = MAC_CONFIG_2_PREAMBLE_LENGTH(7) | MAC_CONFIG_2_PAD_CRC | @@ -864,7 +864,7 @@ static int tsi108_eth_probe (struct eth_device *dev, bd_t * bis) /* enable TX queue */ reg_TX_CONTROL(base) = TX_CONTROL_GO | 0x01; - return 1; + return 0; } /* |