Changeset c743b48 in rtems


Ignore:
Timestamp:
02/25/05 05:19:43 (19 years ago)
Author:
Jay Monkman <jtm@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
6a184ff
Parents:
74fb4e1f
Message:

2005-02-24 Jay Monkman <jtm@…>

  • at91rm9200/include/at91rm9200_emac.h: Cleanup.
Location:
c/src/lib/libcpu/arm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/arm/ChangeLog

    r74fb4e1f rc743b48  
     12005-02-24      Jay Monkman <jtm@lopingdog.com>
     2
     3        * at91rm9200/include/at91rm9200_emac.h: Cleanup.
     4
    152005-01-07      Ralf Corsepius <ralf.corsepius@rtems.org>
    26
  • c/src/lib/libcpu/arm/at91rm9200/include/at91rm9200_emac.h

    r74fb4e1f rc743b48  
    8484#define EMAC_CFG_CLK_32 (2 << 10)       // MII Clock = HCLK divided by 32
    8585#define EMAC_CFG_CLK_64 (3 << 10)       // MII Clock = HCLK divided by 64
     86#define EMAC_CFG_CLK_MASK (3 << 10)       // MII Clock mask
    8687#define EMAC_CFG_RTY    BIT12           // Retry Test Mode - Must be 0
    8788#define EMAC_CFG_RMII   BIT13           // Reduced MII Mode Enable
     
    129130// PHY Maintenance Register, EMAC_MAN, Offset 0x34
    130131#define EMAC_MAN_DATA(_x_)      ((_x_ & 0xFFFF) <<  0)  // PHY data register
    131 #define EMAC_MAN_CODE           (0x3 << 6)              // IEEE Code
     132#define EMAC_MAN_CODE           (0x2 << 16)             // IEEE Code
    132133#define EMAC_MAN_REGA(_x_)      ((_x_ & 0x1F) << 18)    // PHY register address
    133134#define EMAC_MAN_PHYA(_x_)      ((_x_ & 0x1F) << 23)    // PHY address
     
    135136#define EMAC_MAN_READ           (0x2 << 28)             // Transfer is a read
    136137#define EMAC_MAN_HIGH           BIT30                   // Must be set
     138#define EMAC_MAN_LOW            BIT31
    137139
    138140// Bit assignments for Receive Buffer Descriptor
Note: See TracChangeset for help on using the changeset viewer.