aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-05-26 12:19:58 -0700
committerDavid S. Miller <davem@davemloft.net>2015-05-27 00:27:35 -0400
commite463d88c36d42211aa72ed76d32fb8bf37820ef1 (patch)
treed420ecefce0c1d389b40146d1abbd641b6f15a3c /drivers/usb
parentipv4: Fix fib_trie.c build, missing linux/vmalloc.h include. (diff)
downloadlinux-dev-e463d88c36d42211aa72ed76d32fb8bf37820ef1.tar.xz
linux-dev-e463d88c36d42211aa72ed76d32fb8bf37820ef1.zip
net: phy: Add phy_interface_is_rgmii helper
RGMII interfaces come in 4 different flavors that the PHY library needs to care about: regular RGMII (no delays), RGMII with either RX or TX delay, and both. In order to avoid errors of checking only for one type of RGMII interface and miss the 3 others, introduce a convenience function which tests for all values. Suggested-by: David S. Miller <davem@davemloft.net> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/usb')
0 files changed, 0 insertions, 0 deletions