developer | d6c38c2 | 2022-07-01 08:37:26 +0800 | [diff] [blame] | 1 | diff --git a/drivers/net/phy/aquantia_main.c b/drivers/net/phy/aquantia_main.c |
| 2 | index 75d8351..ac8dd8e 100644 |
| 3 | --- a/drivers/net/phy/aquantia_main.c |
| 4 | +++ b/drivers/net/phy/aquantia_main.c |
| 5 | @@ -22,6 +22,7 @@ |
| 6 | #define PHY_ID_AQR107 0x03a1b4e0 |
| 7 | #define PHY_ID_AQCS109 0x03a1b5c2 |
| 8 | #define PHY_ID_AQR405 0x03a1b4b0 |
| 9 | +#define PHY_ID_AQR113C 0x31c31c12 |
| 10 | |
| 11 | #define MDIO_PHYXS_VEND_IF_STATUS 0xe812 |
| 12 | #define MDIO_PHYXS_VEND_IF_STATUS_TYPE_MASK GENMASK(7, 3) |
| 13 | @@ -695,6 +696,24 @@ static struct phy_driver aqr_driver[] = { |
| 14 | .ack_interrupt = aqr_ack_interrupt, |
| 15 | .read_status = aqr_read_status, |
| 16 | }, |
| 17 | +{ |
| 18 | + PHY_ID_MATCH_MODEL(PHY_ID_AQR113C), |
| 19 | + .name = "Aquantia AQR113C", |
| 20 | + .probe = aqr107_probe, |
| 21 | + .config_init = aqr107_config_init, |
| 22 | + .config_aneg = aqr_config_aneg, |
| 23 | + .config_intr = aqr_config_intr, |
| 24 | + .ack_interrupt = aqr_ack_interrupt, |
| 25 | + .read_status = aqr107_read_status, |
| 26 | + .get_tunable = aqr107_get_tunable, |
| 27 | + .set_tunable = aqr107_set_tunable, |
| 28 | + .suspend = aqr107_suspend, |
| 29 | + .resume = aqr107_resume, |
| 30 | + .get_sset_count = aqr107_get_sset_count, |
| 31 | + .get_strings = aqr107_get_strings, |
| 32 | + .get_stats = aqr107_get_stats, |
| 33 | + .link_change_notify = aqr107_link_change_notify, |
| 34 | +}, |
| 35 | }; |
| 36 | |
| 37 | module_phy_driver(aqr_driver); |
| 38 | @@ -707,6 +726,7 @@ static struct mdio_device_id __maybe_unused aqr_tbl[] = { |
| 39 | { PHY_ID_MATCH_MODEL(PHY_ID_AQR107) }, |
| 40 | { PHY_ID_MATCH_MODEL(PHY_ID_AQCS109) }, |
| 41 | { PHY_ID_MATCH_MODEL(PHY_ID_AQR405) }, |
| 42 | + { PHY_ID_MATCH_MODEL(PHY_ID_AQR113C) }, |
| 43 | { } |
| 44 | }; |
| 45 | |