Skip to content
Snippets Groups Projects
Commit d689e346 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

Fix drivers/dm9000.c when configured in 32 bit mode.

Patch by Eric Benard, 17 Nov 2005
parent c72d9c52
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4: Changes since U-Boot 1.1.4:
====================================================================== ======================================================================
* Fix drivers/dm9000.c when configured in 32 bit mode.
Patch by Eric Benard, 17 Nov 2005
* Fix control-c handing in CONFIG_CMDLINE_EDITING * Fix control-c handing in CONFIG_CMDLINE_EDITING
Properly pass break code back from readline. Properly pass break code back from readline.
Patch by Roger Blofeld, 31 Jul 2006 Patch by Roger Blofeld, 31 Jul 2006
......
...@@ -436,6 +436,9 @@ eth_rx(void) ...@@ -436,6 +436,9 @@ eth_rx(void)
u8 rxbyte, *rdptr = (u8 *) NetRxPackets[0]; u8 rxbyte, *rdptr = (u8 *) NetRxPackets[0];
u16 RxStatus, RxLen = 0; u16 RxStatus, RxLen = 0;
u32 tmplen, i; u32 tmplen, i;
#ifdef CONFIG_DM9000_USE_32BIT
u32 tmpdata;
#endif
/* Check packet ready or not */ /* Check packet ready or not */
DM9000_ior(DM9000_MRCMDX); /* Dummy read */ DM9000_ior(DM9000_MRCMDX); /* Dummy read */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment