Changeset 59be902 in rtems


Ignore:
Timestamp:
Jul 18, 2008, 11:24:39 AM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.9, master
Children:
eb98e4c6
Parents:
e5aa0d1
Message:

mpc8249eamds support for Gigabit Ethernet works again
initialize PHY registers late enough, so that phy access is possible

Location:
c/src/lib
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen83xx/ChangeLog

    re5aa0d1 r59be902  
     12008-07-18      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
     2
     3        * network/network.c:
     4        mpc8249eamds support for Gigabit Ethernet works again
     5
    162008-07-18      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    27
  • c/src/lib/libbsp/powerpc/gen83xx/network/network.c

    re5aa0d1 r59be902  
    8181      /*
    8282       * init system I/O configuration registers
    83        * to ensure proper pin functions for TSEC1_RX_ER and TSEC1_TX_ER
     83       * to ensure proper pin functions
    8484       */
    85       mpc83xx.syscon.sicrh = mpc83xx.syscon.sicrh & ~0x02800000;
     85      mpc83xx.syscon.sicrh = mpc83xx.syscon.sicrh & ~0x1F800000;
    8686      /*
    8787       * init port registers (GPIO2DIR) for TSEC1
     
    9191    }
    9292    if (unitNumber == 2) {
     93      /*
     94       * init system I/O configuration registers
     95       * to ensure proper pin functions
     96       */
     97      mpc83xx.syscon.sicrh = mpc83xx.syscon.sicrh & ~0x007f8000;
    9398      /*
    9499       * init port registers (GPIO2DIR) for TSEC2
  • c/src/lib/libcpu/powerpc/ChangeLog

    re5aa0d1 r59be902  
     12008-07-18      Thomas Doerfler <thomas.doerfler@embedded-brains.de>
     2
     3        * mpc83xx/network/tsec.c:
     4        initialize PHY registers late enough, so that phy access is possible
     5
    162008-07-17      Thomas Doerfler <thomas.doerfler@embedded-brains.de>
    27
  • c/src/lib/libcpu/powerpc/mpc83xx/network/tsec.c

    re5aa0d1 r59be902  
    15041504  }
    15051505
     1506#if defined(HSC_CM01)
     1507  /*
     1508   * for HSC CM01: we need to configure the PHY to use maximum skew adjust
     1509   */
     1510 
     1511  mpc83xx_tsec_mdio_write(-1,sc,31,1);
     1512  mpc83xx_tsec_mdio_write(-1,sc,28,0xf000);
     1513  mpc83xx_tsec_mdio_write(-1,sc,31,0);
     1514#endif
     1515
    15061516  /*
    15071517   * init timer so the "watchdog function gets called periodically
     
    19551965  }
    19561966
    1957 #if defined(HSC_CM01)
    1958   /*
    1959    * for HSC CM01: we need to configure the PHY to use maximum skew adjust
    1960    */
    1961  
    1962   mpc83xx_tsec_mdio_write(-1,sc,31,1);
    1963   mpc83xx_tsec_mdio_write(-1,sc,28,0xf000);
    1964   mpc83xx_tsec_mdio_write(-1,sc,31,0);
    1965 #endif
    19661967  /*
    19671968   * Attach the interface
Note: See TracChangeset for help on using the changeset viewer.