Changeset a70edfc in rtems-libbsd


Ignore:
Timestamp:
Sep 27, 2017, 7:37:38 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, 13421d06177df03916665bb2f3a7fcadc51a951b, d964a6703c705cc92fd053bcefc08bb3b6baa0e2, b1e67a2bdc575f7f6e0af4922d7adb91545827ca
Children:
d18c643
Parents:
7f7a339
git-author:
Sebastian Huber <sebastian.huber@…> (09/27/17 07:37:38)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/27/17 09:02:07)
Message:

ffec: Add wmb() to descriptor updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/sys/dev/ffec/if_ffec.c

    r7f7a339 ra70edfc  
    594594         */
    595595        sc->txdesc_ring[idx].buf_paddr = (uint32_t)paddr;
     596        wmb();
    596597        sc->txdesc_ring[idx].flags_len = flags | len; /* Must be set last! */
    597598
     
    740741        nidx = next_rxidx(sc, idx);
    741742        sc->rxdesc_ring[idx].buf_paddr = (uint32_t)paddr;
     743        wmb();
    742744        sc->rxdesc_ring[idx].flags_len = FEC_RXDESC_EMPTY |
    743745                ((nidx == 0) ? FEC_RXDESC_WRAP : 0);
Note: See TracChangeset for help on using the changeset viewer.