diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-08 19:35:35 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-03-08 19:35:35 +0000 |
commit | 7d127602cfc78751e5272ccb85222dffa6b15f2a (patch) | |
tree | f6882f1643ccc95ddd3d6cf2ea30c8eb552d9f91 /nuttx/arch/z80 | |
parent | c5c0cb02e491b41e050f830f5ab5f9cba6009461 (diff) | |
download | px4-nuttx-7d127602cfc78751e5272ccb85222dffa6b15f2a.tar.gz px4-nuttx-7d127602cfc78751e5272ccb85222dffa6b15f2a.tar.bz2 px4-nuttx-7d127602cfc78751e5272ccb85222dffa6b15f2a.zip |
MAXF setting was too small
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1579 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80')
-rw-r--r-- | nuttx/arch/z80/src/ez80/ez80_emac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/z80/src/ez80/ez80_emac.c b/nuttx/arch/z80/src/ez80/ez80_emac.c index 6d10d5bc5..47124255f 100644 --- a/nuttx/arch/z80/src/ez80/ez80_emac.c +++ b/nuttx/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; } |