Changeset df8a31d in rtems for bsps/powerpc/include/mpc8xx.h


Ignore:
Timestamp:
Mar 22, 2018, 1:50:02 PM (3 years ago)
Author:
Thomas Doerfler <thomas.doerfler@…>
Branches:
5, master
Children:
b1d3b0f
Parents:
7353422f
git-author:
Thomas Doerfler <thomas.doerfler@…> (03/22/18 13:50:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/22/18 13:51:22)
Message:

bsp/tqm8xx: Fix network interface driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/include/mpc8xx.h

    r7353422f rdf8a31d  
    290290#define M8xx_FEC_MII_DATA_WDATA(n) ((n) & 0xffff           )
    291291#define M8xx_FEC_MII_DATA_RDATA(reg) ((reg) & 0xffff       )
     292  /*
     293   * bits for FEC ECNTRL register
     294   */
     295#define M8xx_FEC_ECNTRL_FEC_PINMUX ( 1           << (31-29))
     296#define M8xx_FEC_ECNTRL_ETHER_EN   ( 1           << (31-30))
     297#define M8xx_FEC_ECNTRL_RESET      ( 1           << (31-31))
     298
     299  /*
     300   * bits for FEC R_CNTRL register
     301   */
     302#define M8xx_FEC_R_CNTRL_BC_REJ     ( 1           << (31-27))
     303#define M8xx_FEC_R_CNTRL_PROM       ( 1           << (31-28))
     304#define M8xx_FEC_R_CNTRL_MII_MODE   ( 1           << (31-29))
     305#define M8xx_FEC_R_CNTRL_DRT        ( 1           << (31-30))
     306#define M8xx_FEC_R_CNTRL_LOOP       ( 1           << (31-31))
     307
    292308  /*
    293309   * bits for FEC X_CNTRL register
Note: See TracChangeset for help on using the changeset viewer.