Changeset 2360b08 in rtems-libbsd


Ignore:
Timestamp:
Sep 7, 2015, 6:33:16 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
dba2dfc
Parents:
3ef41be
git-author:
Sebastian Huber <sebastian.huber@…> (09/07/15 06:33:16)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/10/17 08:53:34)
Message:

if_dwc: Invalidate read buffer again

This may prevent problems in case a cache line prefetch added some lines
to the cache during a DMA transfer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/dwc/if_dwc.c

    r3ef41be r2360b08  
    926926                        m_adj(m, -ETHER_CRC_LEN);
    927927
     928#ifdef __rtems__
     929                        rtems_cache_invalidate_multiple_data_lines(m->m_data, m->m_len);
     930#endif /* __rtems__ */
    928931                        DWC_UNLOCK(sc);
    929932                        (*ifp->if_input)(ifp, m);
Note: See TracChangeset for help on using the changeset viewer.