A last minute cleanup before submitting the DM9000A patch series yesterday introduced a bug in reading the rx-status registers in 32bit mode only. This patch repairs this. Signed-off-by: Remy Bohmer --- drivers/net/dm9000x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Index: u-boot-git-04062008/drivers/net/dm9000x.c =================================================================== --- u-boot-git-04062008.orig/drivers/net/dm9000x.c 2008-06-04 10:30:44.000000000 +0200 +++ u-boot-git-04062008/drivers/net/dm9000x.c 2008-06-04 10:33:38.000000000 +0200 @@ -211,10 +211,11 @@ static void dm9000_inblk_32bit(void *dat static void dm9000_rx_status_32bit(u16 *RxStatus, u16 *RxLen) { - u32 tmpdata = DM9000_inl(DM9000_DATA); + u32 tmpdata; DM9000_outb(DM9000_MRCMD, DM9000_IO); + tmpdata = DM9000_inl(DM9000_DATA); *RxStatus = tmpdata; *RxLen = tmpdata >> 16; } --