Changeset e2e4bf4 in rtems-libbsd


Ignore:
Timestamp:
Sep 27, 2017, 7:42:10 AM (22 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5283630d2c9d40deb0183696d278e02644fe4326, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
7f7a339
Parents:
ba0b059
git-author:
Sebastian Huber <sebastian.huber@…> (09/27/17 07:42:10)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/27/17 09:02:06)
Message:

ffec: Avoid AXI bus issues due to a MAC reset

File:
1 edited

Legend:

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

    rba0b059 re2e4bf4  
    16571657
    16581658        /* Reset the hardware.  Disables all interrupts. */
    1659         WR4(sc, FEC_ECR_REG, FEC_ECR_RESET);
     1659        if (sc->fectype & FECFLAG_AVB)
     1660                /*
     1661                 * Avoid AXI bus issues due to a MAC reset, see Linux for more
     1662                 * details.
     1663                 */
     1664                WR4(sc, FEC_ECR_REG, 0);
     1665        else
     1666                WR4(sc, FEC_ECR_REG, FEC_ECR_RESET);
    16601667
    16611668        /* Setup interrupt handler. */
Note: See TracChangeset for help on using the changeset viewer.