1. 22 11月, 2014 5 次提交
  2. 13 11月, 2014 9 次提交
  3. 15 10月, 2014 1 次提交
    • B
      phy/micrel: KSZ8031RNL RMII clock reconfiguration bug · b838b4ac
      Bruno Thomsen 提交于
      Bug: Unable to send and receive Ethernet packets with Micrel PHY.
      
      Affected devices:
      KSZ8031RNL (commercial temp)
      KSZ8031RNLI (industrial temp)
      
      Description:
      PHY device is correctly detected during probe.
      PHY power-up default is 25MHz crystal clock input
      and output 50MHz RMII clock to MAC.
      Reconfiguration of PHY to input 50MHz RMII clock from MAC
      causes PHY to become unresponsive if clock source is changed
      after Operation Mode Strap Override (OMSO) register setup.
      
      Cause:
      Long lead times on parts where clock setup match circuit design
      forces the usage of similar parts with wrong default setup.
      
      Solution:
      Swapped KSZ8031 register setup and added phy_write return code validation.
      
      Tested with Freescale i.MX28 Fast Ethernet Controler (fec).
      Signed-off-by: NBruno Thomsen <bth@kamstrup.dk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b838b4ac
  4. 11 10月, 2014 1 次提交
  5. 16 9月, 2014 1 次提交
  6. 31 7月, 2014 1 次提交
  7. 08 5月, 2014 1 次提交
  8. 24 4月, 2014 1 次提交
  9. 20 3月, 2014 1 次提交
  10. 27 2月, 2014 1 次提交
  11. 18 12月, 2013 1 次提交
  12. 12 12月, 2013 1 次提交
  13. 21 9月, 2013 1 次提交
  14. 21 8月, 2013 1 次提交
  15. 08 8月, 2013 1 次提交
  16. 12 3月, 2013 2 次提交
  17. 01 3月, 2013 1 次提交
  18. 29 1月, 2013 1 次提交
  19. 24 11月, 2012 1 次提交
  20. 25 9月, 2012 2 次提交
    • M
      phy/micrel: Rename KS80xx to KSZ80xx · 510d573f
      Marek Vasut 提交于
      There is no such part as KS8001, KS8041 or KS8051. There are only
      KSZ8001, KSZ8041 and KSZ8051. Rename these parts as such to match
      the Micrel naming.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: David J. Choi <david.choi@micrel.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Cc: Linux ARM kernel <linux-arm-kernel@lists.infradead.org>
      Cc: Fabio Estevam <fabio.estevam@freescale.com>
      Cc: Shawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      510d573f
    • M
      phy/micrel: Implement support for KSZ8021 · 212ea99a
      Marek Vasut 提交于
      The KSZ8021 PHY was previously caught by KS8051, which is not correct.
      This PHY needs additional setup if it is strapped for address 0. In such
      case an reserved bit must be written in the 0x16, "Operation Mode Strap
      Override" register. According to the KS8051 datasheet, that bit means
      "PHY Address 0 in non-broadcast" and it indeed behaves as such on KSZ8021.
      The issue where the ethernet controller (Freescale FEC) did not communicate
      with network is fixed by writing this bit as 1.
      Signed-off-by: NMarek Vasut <marex@denx.de>
      Cc: David J. Choi <david.choi@micrel.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      212ea99a
  21. 09 7月, 2012 1 次提交
  22. 19 6月, 2012 1 次提交
    • J
      phy/micrel: change phy_id_mask for KSZ9021 and KS8001 · 48d7d0ad
      Jason Wang 提交于
      On a freescale imx6q platform, a hardware phy chip KSZ9021 is
      recognized as a KS8001 chip by the current driver like this:
      eth0: Freescale FEC PHY driver [Micrel KS8001 or KS8721]
      
      KSZ9021 has phy_id 0x00221610, while KSZ8001 has phy_id
      0x0022161a, the current phy_id_mask (0x00fffff0/0x00ffff10) can't
      distinguish them. So change phy_id_mask to resolve this problem.
      
      Although the micrel datasheet says that the 4 LSB of phyid2 register
      contains the chip revision number and the current driver is designed
      to follow this rule, in reality the chip implementation doesn't follow
      it.
      
      Cc: David J. Choi <david.choi@micrel.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
      Signed-off-by: NHui Wang <jason77.wang@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      48d7d0ad
  23. 15 2月, 2011 1 次提交
  24. 05 10月, 2010 1 次提交
    • U
      net/phy: fix many "defined but unused" warnings · cf93c945
      Uwe Kleine-König 提交于
      MODULE_DEVICE_TABLE only expands to something if it's compiled
      for a module.  So when building-in support for the phys, the
      mdio_device_id tables are unused.  Marking them with __maybe_unused
      fixes the following warnings:
      
      	drivers/net/phy/bcm63xx.c:134: warning: 'bcm63xx_tbl' defined but not used
      	drivers/net/phy/broadcom.c:933: warning: 'broadcom_tbl' defined but not used
      	drivers/net/phy/cicada.c:162: warning: 'cicada_tbl' defined but not used
      	drivers/net/phy/davicom.c:222: warning: 'davicom_tbl' defined but not used
      	drivers/net/phy/et1011c.c:114: warning: 'et1011c_tbl' defined but not used
      	drivers/net/phy/icplus.c:137: warning: 'icplus_tbl' defined but not used
      	drivers/net/phy/lxt.c:226: warning: 'lxt_tbl' defined but not used
      	drivers/net/phy/marvell.c:724: warning: 'marvell_tbl' defined but not used
      	drivers/net/phy/micrel.c:234: warning: 'micrel_tbl' defined but not used
      	drivers/net/phy/national.c:154: warning: 'ns_tbl' defined but not used
      	drivers/net/phy/qsemi.c:141: warning: 'qs6612_tbl' defined but not used
      	drivers/net/phy/realtek.c:82: warning: 'realtek_tbl' defined but not used
      	drivers/net/phy/smsc.c:257: warning: 'smsc_tbl' defined but not used
      	drivers/net/phy/ste10Xp.c:135: warning: 'ste10Xp_tbl' defined but not used
      	drivers/net/phy/vitesse.c:195: warning: 'vitesse_tbl' defined but not used
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      cf93c945
  25. 29 6月, 2010 1 次提交
    • C
      micrel phy driver - updated(1) · 51f932c4
      Choi, David 提交于
      Hello all:
      
      This patch fixes what Ben mentioned, namely duplicated ids.
      
      From: David J. Choi <david.choi@micrel.com>
      
      Body of the explanation: This patch has changes as followings;
       -support the interrupt from phy devices from Micrel Inc.
       -support more phy devices, ks8737, ks8721, ks8041, ks8051 from Micrel.
       -remove vsc8201 because this device was used only internal test at Micrel.
      Signed-off-by: NDavid J. Choi <david.choi@micrel.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      51f932c4
  26. 06 5月, 2010 1 次提交