1. 01 10月, 2013 1 次提交
  2. 28 9月, 2013 2 次提交
  3. 21 9月, 2013 1 次提交
  4. 18 9月, 2013 1 次提交
  5. 04 9月, 2013 1 次提交
  6. 31 8月, 2013 2 次提交
  7. 30 8月, 2013 1 次提交
  8. 22 8月, 2013 1 次提交
  9. 21 8月, 2013 2 次提交
  10. 08 8月, 2013 2 次提交
    • J
      net: phy: mdio: add missing __iomem annotation · 16dda493
      Jingoo Han 提交于
      Added missing __iomem annotation in order to fix the following
      sparse warnings:
      
      drivers/net/phy/mdio-mux-mmioreg.c:51:27: warning: incorrect type in initializer (different address spaces)
      drivers/net/phy/mdio-mux-mmioreg.c:51:27:    expected void *p
      drivers/net/phy/mdio-mux-mmioreg.c:51:27:    got void [noderef] <asn:2>*
      drivers/net/phy/mdio-mux-mmioreg.c:57:21: warning: incorrect type in argument 1 (different address spaces)
      drivers/net/phy/mdio-mux-mmioreg.c:57:21:    expected void const volatile [noderef] <asn:2>*addr
      drivers/net/phy/mdio-mux-mmioreg.c:57:21:    got void *p
      drivers/net/phy/mdio-mux-mmioreg.c:60:25: warning: incorrect type in argument 2 (different address spaces)
      drivers/net/phy/mdio-mux-mmioreg.c:60:25:    expected void volatile [noderef] <asn:2>*addr
      drivers/net/phy/mdio-mux-mmioreg.c:60:25:    got void *p
      drivers/net/phy/mdio-mux-mmioreg.c:64:25: warning: incorrect type in argument 1 (different address spaces)
      drivers/net/phy/mdio-mux-mmioreg.c:64:25:    expected void volatile [noderef] <asn:2>*addr
      drivers/net/phy/mdio-mux-mmioreg.c:64:25:    got void *p
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      16dda493
    • J
      net: phy: micrel: Staticize ksz8873mll_read_status() · 32d73b14
      Jingoo Han 提交于
      ksz8873mll_read_status() is used only in this file.
      Fix the following sparse warning:
      
      drivers/net/phy/micrel.c:147:5: warning: symbol 'ksz8873mll_read_status' was not declared. Should it be static?
      Signed-off-by: NJingoo Han <jg1.han@samsung.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      32d73b14
  11. 25 7月, 2013 1 次提交
  12. 12 7月, 2013 1 次提交
  13. 11 6月, 2013 1 次提交
  14. 05 6月, 2013 4 次提交
  15. 01 6月, 2013 1 次提交
  16. 31 5月, 2013 5 次提交
  17. 28 5月, 2013 4 次提交
  18. 21 5月, 2013 2 次提交
    • F
      phy: add phy_mac_interrupt() to use with PHY_IGNORE_INTERRUPT · 5ea94e76
      Florian Fainelli 提交于
      There is currently no way for an Ethernet MAC driver servicing PHY link
      interrupts to notify this to the PHY state machine without defining its
      own state machine. Since most drivers are not so special, introduce a
      helper: phy_mac_interrupt() which can be called from a link up/down
      interrupt routine to update the PHY state machine. To avoid code
      duplication some refactoring has been done to expose the workqueue and
      its corresponding callback internally.
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5ea94e76
    • F
      phy: fix the use of PHY_IGNORE_INTERRUPT · 2c7b4921
      Florian Fainelli 提交于
      When a PHY device is registered with the special IRQ value
      PHY_IGNORE_INTERRUPT (-2) it will not properly be handled by the PHY
      library:
      
      - it continues to poll its register, while we do not want this
        because such PHY link events or register changes are serviced by an
        Ethernet MAC
      - it will still try to configure PHY interrupts at the PHY level, such
        interrupts do not exist at the PHY but at the MAC level
      - the state machine only handles PHY_POLL, but should also handle
        PHY_IGNORE_INTERRUPT similarly
      
      This patch updates the PHY state machine and initialization paths to
      account for the specific PHY_IGNORE_INTERRUPT. Based on an earlier patch
      by Thomas Petazzoni, and reworked to add the missing bits. Add a helper
      phy_interrupt_is_valid() which specifically tests for a PHY interrupt
      not to be PHY_POLL or PHY_IGNORE_INTERRUPT and use it throughout the
      code.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2c7b4921
  19. 15 5月, 2013 1 次提交
  20. 16 4月, 2013 1 次提交
  21. 08 4月, 2013 2 次提交
  22. 28 3月, 2013 1 次提交
  23. 21 3月, 2013 2 次提交