Ignore:
Timestamp:
Sep 9, 2008, 1:18:58 PM (12 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
85e87f1
Parents:
ae52c9c
Message:

minor additions
i2c-driver: wait, 'til stop executed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/mpc8xx/include/mpc8xx.h

    rae52c9c r39dfbe16  
    279279#define M8xx_FEC_IMASK_EBERREN (1 << 22)
    280280
     281  /*
     282   * access macros to write to mii_data register
     283   */
     284#define M8xx_FEC_MII_DATA_ST       ( 1           << (31- 1))
     285#define M8xx_FEC_MII_DATA_OP_RD    ( 2           << (31- 3))
     286#define M8xx_FEC_MII_DATA_OP_WR    ( 1           << (31- 3))
     287#define M8xx_FEC_MII_DATA_PHYAD(n) (((n) & 0x3f) << (31- 8))
     288#define M8xx_FEC_MII_DATA_PHYRA(n) (((n) & 0x3f) << (31-13))
     289#define M8xx_FEC_MII_DATA_TA       ( 2           << (31-15))
     290#define M8xx_FEC_MII_DATA_WDATA(n) ((n) & 0xffff           )
     291#define M8xx_FEC_MII_DATA_RDATA(reg) ((reg) & 0xffff       )
     292  /*
     293   * bits for FEC X_CNTRL register
     294   */
     295#define M8xx_FEC_X_CNTRL_FDEN       ( 1           << (31-29))
     296#define M8xx_FEC_X_CNTRL_HBC        ( 1           << (31-30))
     297#define M8xx_FEC_X_CNTRL_GTS        ( 1           << (31-31))
    281298/*
    282299*************************************************************************
Note: See TracChangeset for help on using the changeset viewer.