This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FCC - fix compile error


-- 
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) {

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]