summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@fifi.denx.de>2006-08-14 21:18:21 +0200
committerWolfgang Denk <wd@fifi.denx.de>2006-08-14 21:18:21 +0200
commitd689e3462c2ef39f8760051cf9260a8a52b77b25 (patch)
treeb1d76c43193d870ee44fca08fc0350946e906a20 /drivers
parentc72d9c528517e629e146ca9ce101a4888c45fac8 (diff)
downloadu-boot-imx-d689e3462c2ef39f8760051cf9260a8a52b77b25.zip
u-boot-imx-d689e3462c2ef39f8760051cf9260a8a52b77b25.tar.gz
u-boot-imx-d689e3462c2ef39f8760051cf9260a8a52b77b25.tar.bz2
Fix drivers/dm9000.c when configured in 32 bit mode.
Patch by Eric Benard, 17 Nov 2005
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dm9000x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dm9000x.c b/drivers/dm9000x.c
index 0e475d4..6877076 100644
--- a/drivers/dm9000x.c
+++ b/drivers/dm9000x.c
@@ -436,6 +436,9 @@ eth_rx(void)
u8 rxbyte, *rdptr = (u8 *) NetRxPackets[0];
u16 RxStatus, RxLen = 0;
u32 tmplen, i;
+#ifdef CONFIG_DM9000_USE_32BIT
+ u32 tmpdata;
+#endif
/* Check packet ready or not */
DM9000_ior(DM9000_MRCMDX); /* Dummy read */