X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Feth_at91.h;h=41fb4dce12a6842ed7284204cd2cbfcd5c34cade;hb=1ebcf9b89595826a5c158ae6a68d4c2407b1dd52;hp=f7790998ccee864d56a7fc082ec6e5b1b743ebb4;hpb=02da7e0db83863a2efe15b490c7713ffe0526aeb;p=bertos.git diff --git a/bertos/cpu/arm/drv/eth_at91.h b/bertos/cpu/arm/drv/eth_at91.h index f7790998..41fb4dce 100644 --- a/bertos/cpu/arm/drv/eth_at91.h +++ b/bertos/cpu/arm/drv/eth_at91.h @@ -110,12 +110,12 @@ | BV(PHY_RXCLK_10BTSER_BIT) // \} -#define EMAC_TX_BUFSIZ 1518 -#define EMAC_TX_BUFFERS 1 +#define EMAC_TX_BUFSIZ 1518 //!!! Don't change this +#define EMAC_TX_BUFFERS 1 //!!! Don't change this #define EMAC_TX_DESCRIPTORS EMAC_TX_BUFFERS -#define EMAC_RX_BUFFERS 32 -#define EMAC_RX_BUFSIZ 128 +#define EMAC_RX_BUFFERS 32 //!!! Don't change this +#define EMAC_RX_BUFSIZ 128 //!!! Don't change this #define EMAC_RX_DESCRIPTORS EMAC_RX_BUFFERS // Flag to manage local tx buffer @@ -156,9 +156,6 @@ #define EMAC_TSR_BITS (BV(EMAC_UBR) | BV(EMAC_COL) | BV(EMAC_RLES) | \ BV(EMAC_BEX) | BV(EMAC_COMP) | BV(EMAC_UND)) -#define EMAC_RX_INTS (BV(EMAC_RCOMP) | BV(EMAC_ROVR) | BV(EMAC_RXUBR)) -#define EMAC_TX_INTS (BV(EMAC_TCOMP)) - typedef struct BufDescriptor { volatile uint32_t addr;