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

net: phy: aquantia: add PHY ID of AQR106 and AQR107

The AQR106 and AQR107 can use the existing driver.

Signed-off-by: Shaohui Xie <Shaohui.Xie@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Shaohui Xie and committed by
David S. Miller
547412fe 01e5943a

+28
+28
drivers/net/phy/aquantia.c
··· 21 21 #define PHY_ID_AQ1202 0x03a1b445 22 22 #define PHY_ID_AQ2104 0x03a1b460 23 23 #define PHY_ID_AQR105 0x03a1b4a2 24 + #define PHY_ID_AQR106 0x03a1b4d0 25 + #define PHY_ID_AQR107 0x03a1b4e0 24 26 #define PHY_ID_AQR405 0x03a1b4b0 25 27 26 28 #define PHY_AQUANTIA_FEATURES (SUPPORTED_10000baseT_Full | \ ··· 156 154 .read_status = aquantia_read_status, 157 155 }, 158 156 { 157 + .phy_id = PHY_ID_AQR106, 158 + .phy_id_mask = 0xfffffff0, 159 + .name = "Aquantia AQR106", 160 + .features = PHY_AQUANTIA_FEATURES, 161 + .flags = PHY_HAS_INTERRUPT, 162 + .aneg_done = aquantia_aneg_done, 163 + .config_aneg = aquantia_config_aneg, 164 + .config_intr = aquantia_config_intr, 165 + .ack_interrupt = aquantia_ack_interrupt, 166 + .read_status = aquantia_read_status, 167 + }, 168 + { 169 + .phy_id = PHY_ID_AQR107, 170 + .phy_id_mask = 0xfffffff0, 171 + .name = "Aquantia AQR107", 172 + .features = PHY_AQUANTIA_FEATURES, 173 + .flags = PHY_HAS_INTERRUPT, 174 + .aneg_done = aquantia_aneg_done, 175 + .config_aneg = aquantia_config_aneg, 176 + .config_intr = aquantia_config_intr, 177 + .ack_interrupt = aquantia_ack_interrupt, 178 + .read_status = aquantia_read_status, 179 + }, 180 + { 159 181 .phy_id = PHY_ID_AQR405, 160 182 .phy_id_mask = 0xfffffff0, 161 183 .name = "Aquantia AQR405", ··· 199 173 { PHY_ID_AQ1202, 0xfffffff0 }, 200 174 { PHY_ID_AQ2104, 0xfffffff0 }, 201 175 { PHY_ID_AQR105, 0xfffffff0 }, 176 + { PHY_ID_AQR106, 0xfffffff0 }, 177 + { PHY_ID_AQR107, 0xfffffff0 }, 202 178 { PHY_ID_AQR405, 0xfffffff0 }, 203 179 { } 204 180 };