Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea373041 authored by Arun Chandran's avatar Arun Chandran Committed by David S. Miller
Browse files

net: macb: Properly add DMACFG bit definitions



Add *_SIZE macros for the bits ENDIA_DESC and
ENDIA_PKT

Signed-off-by: default avatarArun Chandran <achandran@mvista.com>
Acked-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 62f6924c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -230,8 +230,9 @@
#define GEM_FBLDO_OFFSET	0 /* fixed burst length for DMA */
#define GEM_FBLDO_SIZE		5
#define GEM_ENDIA_DESC_OFFSET	6 /* endian swap mode for management descriptor access */
#define GEM_ENDIA_DESC_SIZE	1
#define GEM_ENDIA_PKT_OFFSET	7 /* endian swap mode for packet data access */
#define GEM_ENDIA_SIZE		1
#define GEM_ENDIA_PKT_SIZE	1
#define GEM_RXBMS_OFFSET	8 /* RX packet buffer memory size select */
#define GEM_RXBMS_SIZE		2
#define GEM_TXPBMS_OFFSET	10 /* TX packet buffer memory size select */