mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
net: macb: Properly add DMACFG bit definitions
Add *_SIZE macros for the bits ENDIA_DESC and ENDIA_PKT Signed-off-by: Arun Chandran <achandran@mvista.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
62f6924cb1
commit
ea373041bd
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user