1. 28 Jan, 2016 1 commit
  2. 08 Sep, 2014 1 commit
    • Claudiu Manoil's avatar
      net: Merge asm/fsl_enet.h into fsl_mdio.h · 93f26f13
      Claudiu Manoil authored
      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: default avatarClaudiu Manoil <claudiu.manoil@freescale.com>
      93f26f13
  3. 22 Nov, 2013 1 commit
    • Claudiu Manoil's avatar
      net: fsl_mdio: Fix warnings for __iomem pointers · 5be00a01
      Claudiu Manoil authored
      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]
      <asn:2>*addr
      fsl_mdio.c:34:19:    got unsigned int *<noident>
      [...]
      
      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] <asn:2>*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] <asn:2>*<noident>
      [...]
      Signed-off-by: default avatarClaudiu Manoil <claudiu.manoil@freescale.com>
      5be00a01
  4. 24 Jul, 2013 1 commit
  5. 22 Oct, 2012 1 commit
  6. 19 May, 2011 1 commit
  7. 20 Apr, 2011 1 commit