From: Stefan Roese Date: Wed, 14 Jun 2006 08:18:39 +0000 (+0200) Subject: Fix IxEthDB.h to compile again X-Git-Tag: LABEL_2006_06_30_2020~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df02bd1b3f2eecca04bfecb62eae7c2ff698506a;p=u-boot Fix IxEthDB.h to compile again Patch by Stefan Roese, 14 Jun 2006 --- diff --git a/CHANGELOG b/CHANGELOG index 2084202e26..b5ee677edd 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes since U-Boot 1.1.4: ====================================================================== +* Fix IxEthDB.h to compile again + Patch by Stefan Roese, 14 Jun 2006 + * Minor cleanup for PCS440EP board Patch by Stefan Roese, 13 Jun 2006 diff --git a/cpu/ixp/npe/include/IxEthDB.h b/cpu/ixp/npe/include/IxEthDB.h index 43ee802d64..1189c9a140 100644 --- a/cpu/ixp/npe/include/IxEthDB.h +++ b/cpu/ixp/npe/include/IxEthDB.h @@ -799,10 +799,10 @@ IxEthDBStatus ixEthDBFilteringDatabaseShowRecords(IxEthDBPortId portID, IxEthDBR * @verbatim IxEthDBPortMap portMap; - /* clear all ports from port map */ + // clear all ports from port map memset(portMap, 0, sizeof (portMap)); - /* include portID in port map */ + // include portID in port map portMap[portID / 8] = 1 << (portID % 8); @endverbatim *