commit | bc3931557d1d55584100b1ffefc248137b5cb7e1 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sat Mar 17 20:32:04 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 18 16:52:58 2018 -0400 |
tree | bc99d461712691052bda8fba067e9626df6d2947 | |
parent | adfccf118211520ebe22f9f46e73834211ea492d [diff] |
net: dsa: mv88e6xxx: Add number of internal PHYs Add to the info structure the number of internal PHYs, if they generate interrupts. Some of the older generations of switches have internal PHYs, but no interrupt registers. In this case, set the count to zero. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>