diff options
| author | Josh Blum <josh@joshknows.com> | 2010-07-12 20:38:33 -0700 | 
|---|---|---|
| committer | Josh Blum <josh@joshknows.com> | 2010-07-12 20:38:33 -0700 | 
| commit | 4594aef53f75be451b9b64ad0ebdfdc742df251c (patch) | |
| tree | 12fcb88d5a19e13c82a66008991b410d40992567 | |
| parent | 7819e2ea06f44871d820f8027afc63656aa86f3a (diff) | |
| download | uhd-4594aef53f75be451b9b64ad0ebdfdc742df251c.tar.gz uhd-4594aef53f75be451b9b64ad0ebdfdc742df251c.tar.bz2 uhd-4594aef53f75be451b9b64ad0ebdfdc742df251c.zip | |
usrp2: forward errors in the dbsm to communicate them up to the host
| -rw-r--r-- | firmware/microblaze/lib/dbsm.c | 6 | 
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)) | 
