Adjust M460 EMAC RX/TX buffer

pull/15337/head
cyliangtw 2022-03-07 19:19:21 +08:00 committed by Chun-Chieh Li
parent 877541d79d
commit 679c747ba0
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ enum GMACPhyBase {
#define DMABASE 0x1000 // Dma base address starts with an offset 0x1000
#define TRANSMIT_DESC_SIZE 4//32//256 //Tx Descriptors needed in the Descriptor pool/queue
#define RECEIVE_DESC_SIZE 4//32//256 //Rx Descriptors needed in the Descriptor pool/queue
#define TRANSMIT_DESC_SIZE 8//256 //Tx Descriptors needed in the Descriptor pool/queue
#define RECEIVE_DESC_SIZE 16//256 //Rx Descriptors needed in the Descriptor pool/queue
#define ETHERNET_HEADER 14 //6 byte Dest addr, 6 byte Src addr, 2 byte length/type
#define ETHERNET_CRC 4 //Ethernet CRC