diff options
author | Stefan Roese <sr@denx.de> | 2006-06-14 10:18:39 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2006-06-14 10:18:39 +0200 |
commit | df02bd1b3f2eecca04bfecb62eae7c2ff698506a (patch) | |
tree | ec576c8aef4a9fe843c2cba73ddb740668a6d0df /cpu/ixp | |
parent | ed4633c93a01220431b9bf8a69dcaed7b3894023 (diff) | |
download | u-boot-df02bd1b3f2eecca04bfecb62eae7c2ff698506a.tar.gz u-boot-df02bd1b3f2eecca04bfecb62eae7c2ff698506a.tar.bz2 u-boot-df02bd1b3f2eecca04bfecb62eae7c2ff698506a.zip |
Fix IxEthDB.h to compile again
Patch by Stefan Roese, 14 Jun 2006
Diffstat (limited to 'cpu/ixp')
-rw-r--r-- | cpu/ixp/npe/include/IxEthDB.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 * |