1. 23 Apr, 2015 1 commit
    • Shaohui Xie's avatar
      net/memac_phy: reuse driver for little endian SoCs · cd348efa
      Shaohui Xie authored
      The memac for PHY management on little endian SoCs is similar on big
      endian SoCs, so we modify the driver by using I/O accessor function to
      handle the endianness, so the driver can be reused on little endian
      SoCs, we introduce CONFIG_SYS_MEMAC_LITTLE_ENDIAN for little endian
      SoCs, if the CONFIG_SYS_MEMAC_LITTLE_ENDIAN is defined, the I/O access
      is little endian, if not, the I/O access is big endian. Move fsl_memac.h
      out of powerpc include.
      Signed-off-by: default avatarShaohui Xie <Shaohui.Xie@freescale.com>
      Signed-off-by: default avatarYork Sun <yorksun@freescale.com>
      cd348efa
  2. 18 Apr, 2015 1 commit
  3. 16 Jan, 2015 1 commit
  4. 05 Dec, 2014 1 commit
    • Shengzhou Liu's avatar
      net/fman: update 10GEC to fit new SoC · cc19c25e
      Shengzhou Liu authored
      fm_standard_init() initializes each 10G port by FM_TGEC_INFO_INITIALIZER.
      but it needs different implementation of FM_TGEC_INFO_INITIALIZER on different SoCs.
      on SoCs earlier(e.g. T4240, T2080), the notation between 10GEC and MAC as below:
      	10GEC1->MAC9, 10GEC2->MAC10, 10GEC3->MAC1, 10GEC4->MAC2
      on SoCs later(e.g. T1024, etc), the notation between 10GEC and MAC as below:
      	10GEC1->MAC1, 10GEC2->MAC2
      
      so we introduce CONFIG_FSL_FM_10GEC_REGULAR_NOTATION to fit the new SoCs on
      which 10GEC enumeration is consistent with MAC enumeration.
      Signed-off-by: default avatarShengzhou Liu <Shengzhou.Liu@freescale.com>
      Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
      cc19c25e
  5. 20 Nov, 2014 1 commit
  6. 25 Nov, 2013 1 commit
  7. 20 Aug, 2013 1 commit
  8. 24 Jul, 2013 1 commit
  9. 14 May, 2013 1 commit
  10. 04 Nov, 2012 1 commit
    • Kim Phillips's avatar
      drivers/net/: sparse fixes · 960d70c6
      Kim Phillips authored
      phy.c:46:5: warning: symbol 'genphy_config_advert' was not declared. Should it be static?
      phy.c:121:5: warning: symbol 'genphy_setup_forced' was not declared. Should it be static?
      phy.c:468:5: warning: symbol 'phy_probe' was not declared. Should it be static?
      phy.c:491:19: warning: symbol 'get_phy_driver' was not declared. Should it be static?
      phy.c:508:19: warning: symbol 'phy_device_create' was not declared. Should it be static?
      phy.c:552:5: warning: symbol 'get_phy_id' was not declared. Should it be static?
      phy.c:584:19: warning: symbol 'get_phy_device' was not declared. Should it be sta
      vitesse.c:126:5: warning: symbol 'vsc8601_config' was not declared. Should it be static?
      vsc7385.c:33:5: warning: symbol 'vsc7385_upload_firmware' was not declared. Should it be static?
      tgec_phy.c:33:5: warning: symbol 'tgec_mdio_write' was not declared. Should it be static?
      tgec_phy.c:75:5: warning: symbol 'tgec_mdio_read' was not declared. Should it be static?
      tgec_phy.c:117:5: warning: symbol 'tgec_mdio_reset' was not declared. Should it be static?
      eth.c:48:6: warning: symbol 'dtsec_configure_serdes' was not declared. Should it be static?
      p4080.c:26:5: warning: symbol 'port_to_devdisr' was not declared. Should it be static?
      Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
      960d70c6
  11. 22 Oct, 2012 2 commits
  12. 11 Jul, 2012 1 commit
    • Timur Tabi's avatar
      net: abort network initialization if the PHY driver fails · 11af8d65
      Timur Tabi authored
      Now that phy_startup() can return an actual error code, check for that error
      code and abort network initialization if the PHY fails.
      Signed-off-by: default avatarTimur Tabi <timur@freescale.com>
      Acked-by: Nobuhiro Iwamamatsu <nobuhiro.iwamatsu.yj@renesas.com> (sh_eth part)
      Acked-by: Stephan Linz <linz@li-pro.net> (Xilinx part, xilinx_axi_emac and xilinx_ll_temac)
      Reviewed-by: Marek Vasut <marex@denx.de> (FEC part)
      11af8d65
  13. 22 May, 2012 1 commit
  14. 09 Oct, 2011 1 commit
  15. 30 Sep, 2011 1 commit