1. 12 Mar, 2015 1 commit
  2. 17 Sep, 2013 1 commit
  3. 04 Sep, 2013 1 commit
  4. 30 Aug, 2013 2 commits
  5. 29 Aug, 2013 1 commit
  6. 22 Aug, 2013 1 commit
  7. 21 Aug, 2013 2 commits
  8. 07 Aug, 2013 2 commits
    • Jingoo Han's avatar
      net: phy: mdio: add missing __iomem annotation · 16dda493
      Jingoo Han authored
      
      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: default avatarJingoo Han <jg1.han@samsung.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      16dda493
    • Jingoo Han's avatar
      net: phy: micrel: Staticize ksz8873mll_read_status() · 32d73b14
      Jingoo Han authored
      
      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: default avatarJingoo Han <jg1.han@samsung.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      32d73b14
  9. 25 Jul, 2013 1 commit
  10. 11 Jul, 2013 1 commit
  11. 10 Jun, 2013 1 commit
  12. 04 Jun, 2013 4 commits
  13. 01 Jun, 2013 1 commit
  14. 31 May, 2013 5 commits
  15. 28 May, 2013 4 commits
  16. 20 May, 2013 2 commits
    • Florian Fainelli's avatar
      phy: add phy_mac_interrupt() to use with PHY_IGNORE_INTERRUPT · 5ea94e76
      Florian Fainelli authored
      
      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: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      5ea94e76
    • Florian Fainelli's avatar
      phy: fix the use of PHY_IGNORE_INTERRUPT · 2c7b4921
      Florian Fainelli authored
      
      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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      2c7b4921
  17. 14 May, 2013 1 commit
  18. 16 Apr, 2013 1 commit
  19. 07 Apr, 2013 2 commits
  20. 27 Mar, 2013 1 commit
  21. 20 Mar, 2013 2 commits
  22. 12 Mar, 2013 3 commits