Ignore:
Timestamp:
Apr 9, 2010, 8:24:57 PM (10 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
3ed964f9
Parents:
a0bdb9b
Message:

unify irq data types and code, merge s3c2400/s3c2410 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/shared/lpc/network/lpc-ethernet.c

    ra0bdb9b rc193baad  
    468468
    469469    /* Cache flush of descriptor  */
    470     rtems_cache_flush_multiple_data_lines(&desc [i], sizeof(desc [0]));
     470    rtems_cache_flush_multiple_data_lines((void *)&desc [i],
     471                                          sizeof(desc [0]));
    471472
    472473    /* Add mbuf to table */
     
    581582
    582583        /* Fragment status */
    583         rtems_cache_invalidate_multiple_data_lines(
    584           &status [receive_index],
    585           sizeof(status [0])
    586         );
     584        rtems_cache_invalidate_multiple_data_lines
     585          ((void *)&status [receive_index],
     586           sizeof(status [0])
     587           );
    587588        stat = status [receive_index].info;
    588589
     
    909910          desc [produce_index].start = mtod(m, uint32_t);
    910911          desc [produce_index].control = ctrl;
    911           rtems_cache_flush_multiple_data_lines(
    912             &desc [produce_index],
    913             sizeof(desc [0])
    914           );
     912          rtems_cache_flush_multiple_data_lines
     913            ((void *)&desc [produce_index],
     914             sizeof(desc [0])
     915             );
    915916          mbufs [produce_index] = m;
    916917
     
    967968          if ((ctrl & ETH_TX_CTRL_LAST) != 0) {
    968969            /* Finalize descriptor */
    969             desc [produce_index].control = ctrl & ~ETH_TX_CTRL_SIZE_MASK
     970            desc [produce_index].control = (ctrl & ~ETH_TX_CTRL_SIZE_MASK)
    970971              | (new_frame_length - 1);
    971972
     
    983984
    984985            /* Cache flush of descriptor  */
    985             rtems_cache_flush_multiple_data_lines(
    986               &desc [produce_index],
    987               sizeof(desc [0])
    988             );
     986            rtems_cache_flush_multiple_data_lines
     987              ((void *)&desc [produce_index],
     988               sizeof(desc [0])
     989               );
    989990
    990991            /* Next produce index */
Note: See TracChangeset for help on using the changeset viewer.