Revert "phy: IRQ cannot be shared"
authorXander Huff <xander.huff@ni.com>
Wed, 24 Aug 2016 21:47:53 +0000 (16:47 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Aug 2016 23:53:47 +0000 (16:53 -0700)
commitc3e70edd7c2eed6acd234627a6007627f5c76e8e
treeeaa60a6cae55a35550230aa84861ca407e6330ea
parent4f101c47791cdcb831b3ef1f831b1cc51e4fe03c
Revert "phy: IRQ cannot be shared"

This reverts:
  commit 33c133cc7598 ("phy: IRQ cannot be shared")

On hardware with multiple PHY devices hooked up to the same IRQ line, allow
them to share it.

Sergei Shtylyov says:
  "I'm not sure now what was the reason I concluded that the IRQ sharing
  was impossible... most probably I thought that the kernel IRQ handling
  code exited the loop over the IRQ actions once IRQ_HANDLED was returned
  -- which is obviously not so in reality..."

Signed-off-by: Xander Huff <xander.huff@ni.com>
Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c