Changeset be66bbc1 in rtems


Ignore:
Timestamp:
Jan 2, 2015, 12:16:10 PM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
master
Children:
91df5a69
Parents:
cb056d0
git-author:
Daniel Hellstrom <daniel@…> (01/02/15 12:16:10)
git-committer:
Daniel Hellstrom <daniel@…> (03/06/17 06:54:55)
Message:

leon, grspw: rxPktSize must set DMA RX max length

File:
1 edited

Legend:

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

    rcb056d0 rbe66bbc1  
    554554
    555555        value = drvmgr_dev_key_get(pDev->dev, "rxPktSize", DRVMGR_KT_INT);
    556         if ( value )
     556        if ( value ) {
    557557                pDev->rxbufsize = value->i;
    558        
     558                pDev->config.rxmaxlen = pDev->rxbufsize;
     559        }
     560
    559561        value = drvmgr_dev_key_get(pDev->dev, "rxDmaArea", DRVMGR_KT_INT);
    560562        if ( value )
Note: See TracChangeset for help on using the changeset viewer.