From 4594aef53f75be451b9b64ad0ebdfdc742df251c Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 12 Jul 2010 20:38:33 -0700 Subject: usrp2: forward errors in the dbsm to communicate them up to the host --- firmware/microblaze/lib/dbsm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'firmware/microblaze/lib') diff --git a/firmware/microblaze/lib/dbsm.c b/firmware/microblaze/lib/dbsm.c index 9d66ec39c..d495860fd 100644 --- a/firmware/microblaze/lib/dbsm.c +++ b/firmware/microblaze/lib/dbsm.c @@ -160,10 +160,12 @@ dbsm_process_status(dbsm_t *sm, uint32_t status) putchar('E'); // Most likely an ethernet Rx error. We just restart the transfer. if (status & (BPS_ERROR(sm->buf0))) - dbsm_error_helper(sm, sm->buf0); + //dbsm_error_helper(sm, sm->buf0); + dbsm_process_helper(sm, sm->buf0); //forward errors if (status & (BPS_ERROR(sm->buf0 ^ 1))) - dbsm_error_helper(sm, sm->buf0 ^ 1); + //dbsm_error_helper(sm, sm->buf0 ^ 1); + dbsm_process_helper(sm, sm->buf0 ^ 1); //forward errors } if (status & BPS_DONE(sm->buf0)) -- cgit v1.2.3