This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
FCC - fix compile error
- From: Gary Thomas <gary at mlbassoc dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 30 Aug 2003 11:13:13 -0600
- Subject: FCC - fix compile error
- Organization: MLB Associates
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates
Index: devs/eth/powerpc/fcc/current/src/if_fcc.c
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/devs/eth/powerpc/fcc/current/src/if_fcc.c,v
retrieving revision 1.2
diff -u -5 -p -r1.2 if_fcc.c
--- devs/eth/powerpc/fcc/current/src/if_fcc.c 26 Aug 2003 17:54:09 -0000 1.2
+++ devs/eth/powerpc/fcc/current/src/if_fcc.c 28 Aug 2003 14:25:05 -0000
@@ -312,13 +312,11 @@ fcc_eth_init(struct cyg_netdevtab_entry
// Operating mode
if (!_eth_phy_init(qi->phy)) {
return false;
}
#ifdef CYGSEM_DEVS_ETH_POWERPC_FCC_RESET_PHY
- if (!_eth_phy_reset(qi->phy)) {
- return false;
- }
+ _eth_phy_reset(qi->phy);
#endif
phy_state = _eth_phy_state(qi->phy);
os_printf("FCC ETH: ");
if ((phy_state & ETH_PHY_STAT_LINK) != 0) {
if ((phy_state & ETH_PHY_STAT_100MB) != 0) {