diff options
author | David S. Miller <davem@davemloft.net> | 2021-11-15 14:31:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-15 14:31:00 +0000 |
commit | 6d3b1b069946e8a9dbb5e6ea45c3aeee1d56ea44 (patch) | |
tree | d1417fdbaf17d158a871e2c1455b69e4f26c81b0 /drivers/net/mctp | |
parent | 5cf46d8e741f3876222f11b0a0bcbdcddfd8754e (diff) | |
parent | 5038ffea0c6c9476f1a8288b112609ac5a49f51b (diff) | |
download | linux-6d3b1b069946e8a9dbb5e6ea45c3aeee1d56ea44.tar.gz linux-6d3b1b069946e8a9dbb5e6ea45c3aeee1d56ea44.tar.bz2 linux-6d3b1b069946e8a9dbb5e6ea45c3aeee1d56ea44.zip |
Merge branch 'generic-phylink-validation'
Russell King says:
====================
introduce generic phylink validation
The various validate method implementations we have in phylink users
have been quite repetitive but also prone to bugs. These patches
introduce a generic implementation which relies solely on the
supported_interfaces bitmap introduced during last cycle, and in the
first patch, a bit array of MAC capabilities.
MAC drivers are free to continue to do their own thing if they have
special requirements - such as mvneta and mvpp2 which do not support
1000base-X without AN enabled. Most implementations currently in the
kernel can be converted to call phylink_generic_validate() directly
from the phylink MAC operations structure once they fill in the
supported_interfaces and mac_capabilities members of phylink_config.
This series introduces the generic implementation, and converts mvneta
and mvpp2 to use it.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mctp')
0 files changed, 0 insertions, 0 deletions