Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: phy: aquantia: add AQR113 PHY ID

Add Aquantia AQR113 PHY ID. Aquantia AQR113 is just a chip size variant of
the already supported AQR133C where the only difference is the PHY ID
and the hw chip size.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Christian Marangi and committed by
David S. Miller
71b605d3 1d085e9c

+21
+21
drivers/net/phy/aquantia/aquantia_main.c
··· 26 26 #define PHY_ID_AQR111B0 0x03a1b612 27 27 #define PHY_ID_AQR112 0x03a1b662 28 28 #define PHY_ID_AQR412 0x03a1b712 29 + #define PHY_ID_AQR113 0x31c31c40 29 30 #define PHY_ID_AQR113C 0x31c31c12 30 31 31 32 #define MDIO_PHYXS_VEND_IF_STATUS 0xe812 ··· 924 923 .link_change_notify = aqr107_link_change_notify, 925 924 }, 926 925 { 926 + PHY_ID_MATCH_MODEL(PHY_ID_AQR113), 927 + .name = "Aquantia AQR113", 928 + .probe = aqr107_probe, 929 + .get_rate_matching = aqr107_get_rate_matching, 930 + .config_init = aqr113c_config_init, 931 + .config_aneg = aqr_config_aneg, 932 + .config_intr = aqr_config_intr, 933 + .handle_interrupt = aqr_handle_interrupt, 934 + .read_status = aqr107_read_status, 935 + .get_tunable = aqr107_get_tunable, 936 + .set_tunable = aqr107_set_tunable, 937 + .suspend = aqr107_suspend, 938 + .resume = aqr107_resume, 939 + .get_sset_count = aqr107_get_sset_count, 940 + .get_strings = aqr107_get_strings, 941 + .get_stats = aqr107_get_stats, 942 + .link_change_notify = aqr107_link_change_notify, 943 + }, 944 + { 927 945 PHY_ID_MATCH_MODEL(PHY_ID_AQR113C), 928 946 .name = "Aquantia AQR113C", 929 947 .probe = aqr107_probe, ··· 977 957 { PHY_ID_MATCH_MODEL(PHY_ID_AQR111B0) }, 978 958 { PHY_ID_MATCH_MODEL(PHY_ID_AQR112) }, 979 959 { PHY_ID_MATCH_MODEL(PHY_ID_AQR412) }, 960 + { PHY_ID_MATCH_MODEL(PHY_ID_AQR113) }, 980 961 { PHY_ID_MATCH_MODEL(PHY_ID_AQR113C) }, 981 962 { } 982 963 };