Changeset c3ee4257 in rtems


Ignore:
Timestamp:
Sep 12, 2008, 6:15:03 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
b7774253
Parents:
fd92869
Message:

2008-09-12 Joel Sherrill <joel.sherrill@…>

  • network_5200/network.c: Remove use of boolean.
Location:
c/src/lib/libbsp/powerpc/gen5200
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen5200/ChangeLog

    rfd92869 rc3ee4257  
     12008-09-12      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * network_5200/network.c: Remove use of boolean.
     4
    152008-09-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • c/src/lib/libbsp/powerpc/gen5200/network_5200/network.c

    rfd92869 rc3ee4257  
    442442#endif
    443443
    444         return FALSE;
     444        return false;
    445445
    446446        }
     
    456456  *retVal = (unsigned short)mpc5200.mii_data;
    457457
    458   return TRUE;
     458  return true;
    459459
    460460  }
     
    495495#endif
    496496
    497     return FALSE;
     497    return false;
    498498
    499499    }
     
    504504  mpc5200.ievent = 0x00800000;
    505505
    506   return TRUE;
     506  return true;
    507507
    508508  }
     
    547547  for (delay = 0;delay < 16*4;delay++) {};
    548548 
    549   return TRUE;
     549  return true;
    550550}
    551551
     
    721721  */
    722722static void mpc5200_fec_retire_tbd(struct mpc5200_enet_struct *sc,
    723                                    boolean force)
     723                                   bool force)
    724724{
    725725  struct mbuf *n;
     
    795795  * Free up buffer descriptors
    796796  */
    797   mpc5200_fec_retire_tbd(sc,FALSE);
     797  mpc5200_fec_retire_tbd(sc,false);
    798798
    799799 /*
     
    830830       * an interrupt.
    831831       */
    832       mpc5200_fec_retire_tbd(sc,FALSE);
     832      mpc5200_fec_retire_tbd(sc,false);
    833833     
    834834      while((sc->txBdActiveCount + nAdded) == sc->txBdCount) {
     
    837837                                   RTEMS_WAIT | RTEMS_EVENT_ANY,
    838838                                   RTEMS_NO_TIMEOUT, &events);
    839         mpc5200_fec_retire_tbd(sc,FALSE);
     839        mpc5200_fec_retire_tbd(sc,false);
    840840      }
    841841    }
     
    12211221      }
    12221222
    1223     if(mpc5200_eth_mii_read(sc, phyAddr, 0x1, &phyStatus) != TRUE)
     1223    if(mpc5200_eth_mii_read(sc, phyAddr, 0x1, &phyStatus) != true)
    12241224      {
    12251225
     
    15081508  mpc5200_fec_tx_bd_requeue(sc);
    15091509#else
    1510   mpc5200_fec_retire_tbd(sc,TRUE);
     1510  mpc5200_fec_retire_tbd(sc,true);
    15111511#endif
    15121512#endif
Note: See TracChangeset for help on using the changeset viewer.