From bbc8d51396d9fc3274274f5589880a7335d65b2d Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 8 Mar 2009 19:35:35 +0000 Subject: [PATCH] MAXF setting was too small git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1579 42af7a65-404d-4744-a932-0658087f49c3 --- arch/z80/src/ez80/ez80_emac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/z80/src/ez80/ez80_emac.c b/arch/z80/src/ez80/ez80_emac.c index 6d10d5bc50..47124255f1 100644 --- a/arch/z80/src/ez80/ez80_emac.c +++ b/arch/z80/src/ez80/ez80_emac.c @@ -171,7 +171,7 @@ #define EMAC_IPGT 0x12 /* IPGT: Back-to-back IPG default value */ #define EMAC_IPGR1 0x0c /* IPGR1: Non-back-to-back IPG default value */ #define EMAC_IPGR2 0x12 /* IPGR2: Non-back-to-back IPG default value */ -#define EMAC_MAXF CONFIG_NET_BUFSIZE /* Maximum packet length value */ +#define EMAC_MAXF 0x0600 /* Maximum packet length value (reset value) */ #define EMAC_LCOL 0x37 /* CFG2: Late collision window default value */ #define EMAC_RETRY 0x0f /* CFG3: Maximum number of retry default value */ @@ -1173,7 +1173,7 @@ static int ez80emac_txinterrupt(int irq, FAR void *context) nvdbg("New txhead=%p {%06x, %u, %04x} trp=%02x%02x istat=%02x\n", priv->txhead, priv->txhead->np, priv->txhead->pktsize, priv->txhead->stat, inp(EZ80_EMAC_TRP_H), inp(EZ80_EMAC_TRP_L), istat); - + return OK; }