Changeset a7cc0da9 in rtems


Ignore:
Timestamp:
Apr 8, 2016, 12:03:47 PM (4 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
master
Children:
ef94150f
Parents:
0d31dcc
git-author:
Daniel Hellstrom <daniel@…> (04/08/16 12:03:47)
git-committer:
Daniel Hellstrom <daniel@…> (03/06/17 06:54:55)
Message:

leon, grspw_pkt: fix stscfg cfg TimeCode? Int clr

Without this patch time code interrupts was never cleared
in the STATUS register.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/spw/grspw_pkt.c

    r0d31dcc ra7cc0da9  
    26672667        /* Get Status from Hardware */
    26682668        stat = REG_READ(&priv->regs->status);
    2669         stat_clrmsk = stat & (GRSPW_STS_TO | GRSPW_STAT_ERROR) & priv->stscfg;
     2669        stat_clrmsk = stat & (GRSPW_STS_TO | GRSPW_STAT_ERROR) &
     2670                        (GRSPW_STS_TO | priv->stscfg);
    26702671
    26712672        /* Make sure to put the timecode handling first in order to get the
Note: See TracChangeset for help on using the changeset viewer.