diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-04-12 22:07:57 +0200 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-04-12 22:07:57 +0200 | 
| commit | 18122019972ca639ee3b581257e3a63ff7c8efeb (patch) | |
| tree | 52f7223e7c63f43322f3eee4722743e12190a19f /drivers/net/npe/IxEthDBPortUpdate.c | |
| parent | 90639feaa0d66a204f9d03a325ab14e2f97f6cbb (diff) | |
| parent | 785881f775252940185e10fbb2d5299c9ffa6bce (diff) | |
| download | olio-uboot-2014.01-18122019972ca639ee3b581257e3a63ff7c8efeb.tar.xz olio-uboot-2014.01-18122019972ca639ee3b581257e3a63ff7c8efeb.zip | |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts:
	drivers/video/exynos_fb.c
Diffstat (limited to 'drivers/net/npe/IxEthDBPortUpdate.c')
| -rw-r--r-- | drivers/net/npe/IxEthDBPortUpdate.c | 22 | 
1 files changed, 11 insertions, 11 deletions
| diff --git a/drivers/net/npe/IxEthDBPortUpdate.c b/drivers/net/npe/IxEthDBPortUpdate.c index cdf114bfc..813e4ee6b 100644 --- a/drivers/net/npe/IxEthDBPortUpdate.c +++ b/drivers/net/npe/IxEthDBPortUpdate.c @@ -60,7 +60,7 @@ extern HashTable dbHashtable;   *   * @param typeArray array indexed on record types, each   * element indicating whether the record type requires an - * automatic update (TRUE) or not (FALSE) + * automatic update (true) or not (false)   *    * Automatic updates are done for registered record types   * upon adding, updating (that is, updating the record portID)  @@ -70,7 +70,7 @@ extern HashTable dbHashtable;   *   * It is assumed that the typeArray parameter is allocated large   * enough to hold all the user defined types. Also, the type - * array should be initialized to FALSE as this function only + * array should be initialized to false as this function only   * caters for types which do require automatic updates.   *   * Note that this function should be called by the component @@ -84,8 +84,8 @@ extern HashTable dbHashtable;  IX_ETH_DB_PUBLIC  UINT32 ixEthDBUpdateTypeRegister(BOOL *typeArray)  { -    typeArray[IX_ETH_DB_FILTERING_RECORD]      = TRUE; -    typeArray[IX_ETH_DB_FILTERING_VLAN_RECORD] = TRUE; +    typeArray[IX_ETH_DB_FILTERING_RECORD]      = true; +    typeArray[IX_ETH_DB_FILTERING_VLAN_RECORD] = true;      return 2;  } @@ -174,7 +174,7 @@ void ixEthDBCreateTrees(IxEthDBPortMap updatePorts)  {      UINT32 portIndex;      BOOL result; -    BOOL portsLeft = TRUE; +    BOOL portsLeft = true;      while (portsLeft)      { @@ -305,11 +305,11 @@ void ixEthDBCreateTrees(IxEthDBPortMap updatePorts)              }              /* mark tree as valid */ -            port->updateMethod.searchTreePendingWrite = TRUE; +            port->updateMethod.searchTreePendingWrite = true;          }          else          { -            portsLeft = FALSE; +            portsLeft = false;              IX_ETH_DB_UPDATE_TRACE("DB: (Update) No trees to create this round\n");                      } @@ -374,7 +374,7 @@ IxEthDBStatus ixEthDBNPEUpdateHandler(IxEthDBPortId portID, IxEthDBRecordType ty      /* forget last used search tree */      port->updateMethod.searchTree             = NULL; -    port->updateMethod.searchTreePendingWrite = FALSE; +    port->updateMethod.searchTreePendingWrite = false;      /* dependending on the update type we do different things */      if (type == IX_ETH_DB_FILTERING_RECORD || type == IX_ETH_DB_WIFI_RECORD) @@ -393,9 +393,9 @@ IxEthDBStatus ixEthDBNPEUpdateHandler(IxEthDBPortId portID, IxEthDBRecordType ty          }          else          { -            ixEthDBPortInfo[portID].agingEnabled                = FALSE; -            ixEthDBPortInfo[portID].updateMethod.updateEnabled  = FALSE; -            ixEthDBPortInfo[portID].updateMethod.userControlled = TRUE; +            ixEthDBPortInfo[portID].agingEnabled                = false; +            ixEthDBPortInfo[portID].updateMethod.updateEnabled  = false; +            ixEthDBPortInfo[portID].updateMethod.userControlled = true;              ERROR_LOG("EthDB: (PortUpdate) disabling aging and updates on port %d (assumed dead)\n", portID); |