From: Vipin KUMAR Date: Mon, 26 Mar 2012 00:09:53 +0000 (+0000) Subject: net/designware: Fix the max frame length size X-Git-Tag: v2012.04-rc2~8^2~6 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=97a6caa6e5429082d4daf689cfa355b6d8ddb2f3;p=u-boot net/designware: Fix the max frame length size The max frame length for normal descriptor can be 0x7FF i.e 2047. It was wrongly specified as 2048. Currently, the max descriptor length is around 1500, so redefining the mask to 1600 Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- diff --git a/drivers/net/designware.h b/drivers/net/designware.h index e5828a6a58..42133b3310 100644 --- a/drivers/net/designware.h +++ b/drivers/net/designware.h @@ -121,7 +121,7 @@ struct eth_dma_regs { #define RXSTART (1 << 1) /* Descriptior related definitions */ -#define MAC_MAX_FRAME_SZ (2048) +#define MAC_MAX_FRAME_SZ (1600) struct dmamacdescr { u32 txrx_status;