17 #include <linux/module.h>
19 #include <linux/sched.h>
20 #include <linux/kernel.h>
23 #include <linux/netdevice.h>
24 #include <linux/ethtool.h>
25 #include <linux/mii.h>
28 #define MII_XCIIS 0x11
30 #define MII_XIE_DEFAULT_MASK 0x0070
32 #define STE101P_PHY_ID 0x00061c50
33 #define STE100P_PHY_ID 0x1c040011
35 static int ste10Xp_config_init(
struct phy_device *phydev)
56 static int ste10Xp_config_intr(
struct phy_device *phydev)
75 static int ste10Xp_ack_interrupt(
struct phy_device *phydev)
87 .phy_id_mask = 0xfffffff0,
91 .config_init = ste10Xp_config_init,
94 .ack_interrupt = ste10Xp_ack_interrupt,
95 .config_intr = ste10Xp_config_intr,
101 .phy_id_mask = 0xffffffff,
105 .config_init = ste10Xp_config_init,
108 .ack_interrupt = ste10Xp_ack_interrupt,
109 .config_intr = ste10Xp_config_intr,
115 static int __init ste10Xp_init(
void)
121 static void __exit ste10Xp_exit(
void)