diff options
author | wdenk <wdenk> | 2002-11-03 18:03:52 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2002-11-03 18:03:52 +0000 |
commit | 699b13a6064e642280caffaa83c10b359a6c1114 (patch) | |
tree | 8883f63834e4328bf51ff1341678b30ae2ffe9a5 /drivers | |
parent | 24ee89b97a49826ea800b4a6c0d5c0769328e317 (diff) | |
download | u-boot-imx-699b13a6064e642280caffaa83c10b359a6c1114.zip u-boot-imx-699b13a6064e642280caffaa83c10b359a6c1114.tar.gz u-boot-imx-699b13a6064e642280caffaa83c10b359a6c1114.tar.bz2 |
* Fix mdelay() on TRAB - this was still the debugging version with
seconds instead of ms.
* Patch by Robert Schwebel, 1 Nov 2002:
XScale related cleanup (affects all ARM boards)
* Cleanup of names, warnings and README.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/smc91111.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/smc91111.c b/drivers/smc91111.c index 62d2133..6244b4e 100644 --- a/drivers/smc91111.c +++ b/drivers/smc91111.c @@ -771,7 +771,7 @@ static int smc_rcv() if (packet_length & 3) { int i; - byte *tail = NetRxPackets[0] + (packet_length & ~3); + byte *tail = (byte *)(NetRxPackets[0] + (packet_length & ~3)); dword leftover = SMC_inl(SMC91111_DATA_REG); for (i=0; i<(packet_length & 3); i++) *tail++ = (byte) (leftover >> (8*i)) & 0xff; |