]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mv88e6xxx-Poll-when-no-interrupt-defined'
authorDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 16:28:11 +0000 (11:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 16:28:11 +0000 (11:28 -0500)
commitb0506b7a3b22411047d34b4142374b3efa30da1e
tree86f5d8d2257aecf04b682028d9851d7fd0c62eb3
parentf08466eb22302caa0d60264c6a0d92c67715405b
parent5c96f73cb9f71b0acafd3d18dcee599f9e62e612
Merge branch 'mv88e6xxx-Poll-when-no-interrupt-defined'

Andrew Lunn says:

====================
mv88e6xxx: Poll when no interrupt defined

Not all boards using the mv88e6xxx switches have the interrupt output
connected to a GPIO. On these boards phylib has to poll the PHYs,
rather than use interrupts. Have the driver poll the interrupt status
register, which is more efficient than having phylib do it. And it
enables other switch interrupts to be services.

The Armada 370RD is such a board without a interrupt GPIO. Now that
interrupts work, wire up the PHYs to make use if them.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>