29 Jan, 2016

1 commit


09 Sep, 2014

1 commit

  • fsl_enet.h defines the mapping of the usual MII management
    registers, which are included in the MDIO register block
    common to Freescale ethernet controllers. So it shouldn't
    depend on the CPU architecture but it should be actually
    part of the arch independent fsl_mdio.h.

    To remove the arch dependency, merge the content of
    asm/fsl_enet.h into fsl_mdio.h.
    Some files (like fm_eth.h) were simply including fsl_enet.h
    only for phy.h. These were updated to include phy.h instead.

    Signed-off-by: Claudiu Manoil

    Claudiu Manoil
     

23 Nov, 2013

1 commit

  • Add the __iomem address space marker for the tsec pointers
    to struct tsec_mii_mng memory mapped register regions.
    This solves the sparse warnings for mixig normal pointers with
    __iomem pointers for tsec. E.g.:

    fsl_mdio.c:34:19: warning: incorrect type in argument 1 (different
    address spaces)
    fsl_mdio.c:34:19: expected unsigned int volatile [noderef]
    *addr
    fsl_mdio.c:34:19: got unsigned int *
    [...]

    tsec.c:91:35: warning: incorrect type in argument 1 (different address
    spaces)
    tsec.c:91:35: expected struct tsec_mii_mng *phyregs
    tsec.c:91:35: got struct tsec_mii_mng [noderef] *phyregs_sgmii
    [...]

    tsec.c:680:19: warning: incorrect type in assignment (different address
    spaces)
    tsec.c:680:19: expected struct tsec_mii_mng *regs
    tsec.c:680:19: got struct tsec_mii_mng [noderef] *
    [...]

    Signed-off-by: Claudiu Manoil

    Claudiu Manoil
     

24 Jul, 2013

1 commit


23 Oct, 2012

1 commit

  • The multirate ethernet media access controller (mEMAC) interfaces to
    10Gbps and below Ethernet/IEEE 802.3 networks via either RGMII/RMII
    interfaces or XAUI/XFI/SGMII/QSGMII using the high-speed SerDes interface.

    Signed-off-by: Sandeep Singh
    Signed-off-by: Poonam Aggrwal
    Signed-off-by: Roy Zang
    Signed-off-by: Andy Fleming

    Roy Zang
     

20 May, 2011

1 commit


21 Apr, 2011

1 commit

  • This converts tsec to use the new PHY Lib. All of the old PHY support
    is ripped out. The old MDIO driver is split off, and placed in
    fsl_mdio.c. The initialization is modified to initialize the MDIO
    driver as well. The powerpc config file is modified to configure PHYLIB
    if TSEC_ENET is configured.

    Signed-off-by: Mingkai Hu
    Signed-off-by: Andy Fleming
    Signed-off-by: Kumar Gala
    Acked-by: Detlev Zundel

    Andy Fleming