summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/maximus/src/maximus_bridgedma.c
diff options
context:
space:
mode:
authorlaranjeiro2009-04-08 11:51:54 +0000
committerlaranjeiro2009-04-08 11:51:54 +0000
commit35cb2fbc9f60ac63114f3cf83c1b98329c46eeb2 (patch)
tree4abc355a0df9b5b0cdd738725e8c880b71981ca5 /cesar/hal/phy/maximus/src/maximus_bridgedma.c
parenta83392f34ed2e00c460a07f94dc2185ba034d1de (diff)
hal/phy; Bridgedma.
* Removed the assert for the limitation of the minimum Frame size. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@4422 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/hal/phy/maximus/src/maximus_bridgedma.c')
-rw-r--r--cesar/hal/phy/maximus/src/maximus_bridgedma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cesar/hal/phy/maximus/src/maximus_bridgedma.c b/cesar/hal/phy/maximus/src/maximus_bridgedma.c
index b830becd23..adfd4adca2 100644
--- a/cesar/hal/phy/maximus/src/maximus_bridgedma.c
+++ b/cesar/hal/phy/maximus/src/maximus_bridgedma.c
@@ -12,6 +12,7 @@
*/
#include "common/std.h"
+#include "common/defs/ethernet.h"
#include "ecos/packages/hal/maximus/arch/current/include/hal_host_intr.h"
#include "hal/phy/maximus/inc/maximus_interrupts.h"
#include "hal/phy/maximus/inc/maximus_phy_ctx.h"
@@ -192,7 +193,7 @@ _job_process(phy_bridgedma_t *ctx, phy_bridgedma_job_t *job)
dbg_assert(job->data_addr);
dbg_assert((job->header_len == 0) || (job->header_len == 2) || (job->header_len == 6));
- dbg_assert((job->data_len >= 60) && (job->data_len <= 1518));
+ dbg_assert(job->data_len <= ETH_PACKET_MAX_SIZE);
dbg_assert(job->first_pb_desc);
dbg_assert(job->first_pb_offset < job->segment_len);
dbg_assert((job->segment_len == 128) || (job->segment_len == 512));