From 35cb2fbc9f60ac63114f3cf83c1b98329c46eeb2 Mon Sep 17 00:00:00 2001 From: laranjeiro Date: Wed, 8 Apr 2009 11:51:54 +0000 Subject: 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 --- cesar/hal/phy/maximus/src/maximus_bridgedma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cesar/hal/phy/maximus/src') 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)); -- cgit v1.2.3