File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 20
20
* ksz8081, ksz8091,
21
21
* ksz8061,
22
22
* Switch : ksz8873, ksz886x
23
+ * ksz9477
23
24
*/
24
25
25
26
#include <linux/kernel.h>
@@ -996,6 +997,16 @@ static struct phy_driver ksphy_driver[] = {
996
997
.read_status = ksz8873mll_read_status ,
997
998
.suspend = genphy_suspend ,
998
999
.resume = genphy_resume ,
1000
+ }, {
1001
+ .phy_id = PHY_ID_KSZ9477 ,
1002
+ .phy_id_mask = MICREL_PHY_ID_MASK ,
1003
+ .name = "Microchip KSZ9477" ,
1004
+ .features = PHY_GBIT_FEATURES ,
1005
+ .config_init = kszphy_config_init ,
1006
+ .config_aneg = genphy_config_aneg ,
1007
+ .read_status = genphy_read_status ,
1008
+ .suspend = genphy_suspend ,
1009
+ .resume = genphy_resume ,
999
1010
} };
1000
1011
1001
1012
module_phy_driver (ksphy_driver );
Original file line number Diff line number Diff line change 37
37
38
38
#define PHY_ID_KSZ8795 0x00221550
39
39
40
+ #define PHY_ID_KSZ9477 0x00221631
41
+
40
42
/* struct phy_device dev_flags definitions */
41
43
#define MICREL_PHY_50MHZ_CLK 0x00000001
42
44
#define MICREL_PHY_FXEN 0x00000002
You can’t perform that action at this time.
0 commit comments