diff options
Diffstat (limited to 'freebsd/sys/dev/dwc/if_dwc.c')
-rw-r--r-- | freebsd/sys/dev/dwc/if_dwc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/sys/dev/dwc/if_dwc.c b/freebsd/sys/dev/dwc/if_dwc.c index cd1f217a..d62dc8d9 100644 --- a/freebsd/sys/dev/dwc/if_dwc.c +++ b/freebsd/sys/dev/dwc/if_dwc.c @@ -925,6 +925,9 @@ dwc_rxfinish_locked(struct dwc_softc *sc) /* Remove trailing FCS */ m_adj(m, -ETHER_CRC_LEN); +#ifdef __rtems__ + rtems_cache_invalidate_multiple_data_lines(m->m_data, m->m_len); +#endif /* __rtems__ */ DWC_UNLOCK(sc); (*ifp->if_input)(ifp, m); DWC_LOCK(sc); |