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 | |
parent | ed4633c93a01220431b9bf8a69dcaed7b3894023 (diff) | |
download | u-boot-imx-df02bd1b3f2eecca04bfecb62eae7c2ff698506a.zip u-boot-imx-df02bd1b3f2eecca04bfecb62eae7c2ff698506a.tar.gz u-boot-imx-df02bd1b3f2eecca04bfecb62eae7c2ff698506a.tar.bz2 |
Fix IxEthDB.h to compile again
Patch by Stefan Roese, 14 Jun 2006
-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 43ee802..1189c9a 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 * |