summaryrefslogtreecommitdiff
path: root/include/net/page_pool.h
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-02-02 13:24:28 +0300
committerDavid S. Miller <davem@davemloft.net>2022-02-03 14:47:06 +0300
commit1f8d99de1d1b4b3764203ae02db57041475dab84 (patch)
tree346d60871ca6a396b14f72723e4d0ab4cbfa0b38 /include/net/page_pool.h
parent9865b881a5137a4309a5984a4d1b844005b0a363 (diff)
downloadlinux-1f8d99de1d1b4b3764203ae02db57041475dab84.tar.xz
net: dsa: xrs700x: convert to phylink_generic_validate()
Populate the supported interfaces and MAC capabilities for the xrs700x family of DSA switches and remove the old validate implementation to allow DSA to use phylink_generic_validate() for this switch driver. According to commit ee00b24f32eb ("net: dsa: add Arrow SpeedChips XRS700x driver") the switch supports one RMII port and up to three RGMII ports. This commit assumes that port 0 is the RMII port and the remainder are RGMII. This commit also results in the Autoneg bit being set in the ethtool link modes, which wasn't in the original; if this switch supports RGMII to a 10/100/1G PHY, then surely we want to allow Autoneg on the PHY. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/page_pool.h')
0 files changed, 0 insertions, 0 deletions