summaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-12 20:38:33 -0700
committerJosh Blum <josh@joshknows.com>2010-07-12 20:38:33 -0700
commit4594aef53f75be451b9b64ad0ebdfdc742df251c (patch)
tree12fcb88d5a19e13c82a66008991b410d40992567 /firmware/microblaze/lib
parent7819e2ea06f44871d820f8027afc63656aa86f3a (diff)
downloaduhd-4594aef53f75be451b9b64ad0ebdfdc742df251c.tar.gz
uhd-4594aef53f75be451b9b64ad0ebdfdc742df251c.tar.bz2
uhd-4594aef53f75be451b9b64ad0ebdfdc742df251c.zip
usrp2: forward errors in the dbsm to communicate them up to the host
Diffstat (limited to 'firmware/microblaze/lib')
-rw-r--r--firmware/microblaze/lib/dbsm.c6
1 files changed, 4 insertions, 2 deletions
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))