]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: marvell: mvpp2: use phy_interface_mode_is_8023z() helper
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 4 Feb 2019 23:35:54 +0000 (23:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Feb 2019 18:40:28 +0000 (10:40 -0800)
commit4a4cec7257908d3482a22d43f3a9f229d4592f5c
treefb9e3b9dc2606fd3e9668f8ffa3ff57e7d5ef402
parent7194d92b23eae248c144a5ead3486c142d5de2a9
net: marvell: mvpp2: use phy_interface_mode_is_8023z() helper

Use the phy_interface_mode_is_8023z() helper for detecting interface
modes that use 802.3z serial encoding.  This is equivalent to testing
for both 1000base-X and 2500base-X.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c