diff options
-rw-r--r-- | CHANGELOG | 3 | ||||
-rw-r--r-- | cpu/ixp/npe/include/IxEthDB.h | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -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 * |