Changed buffer configuration in Ethernet driver for RX RDK port.

This commit is contained in:
Richard Barry 2010-09-09 09:54:18 +00:00
parent ccf36aeed4
commit 2fca46e3e4

View file

@ -73,7 +73,7 @@ up on attempting to obtain a free buffer all together. */
#define emacBUFFER_WAIT_ATTEMPTS ( 30 ) #define emacBUFFER_WAIT_ATTEMPTS ( 30 )
/* The number of Rx descriptors. */ /* The number of Rx descriptors. */
#define emacNUM_RX_DESCRIPTORS 3 #define emacNUM_RX_DESCRIPTORS 8
/* The number of Tx descriptors. When using uIP there is not point in having /* The number of Tx descriptors. When using uIP there is not point in having
more than two. */ more than two. */
@ -87,7 +87,7 @@ more than two. */
/* The total number of times to wait emacTX_WAIT_DELAY_ms for the Tx descriptor to /* The total number of times to wait emacTX_WAIT_DELAY_ms for the Tx descriptor to
become free. */ become free. */
#define emacTX_WAIT_ATTEMPTS ( 5 ) #define emacTX_WAIT_ATTEMPTS ( 50 )
/* Only Rx end and Tx end interrupts are used by this driver. */ /* Only Rx end and Tx end interrupts are used by this driver. */
#define emacTX_END_INTERRUPT ( 1UL << 21UL ) #define emacTX_END_INTERRUPT ( 1UL << 21UL )