aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/lxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/lxt.c')
-rw-r--r--drivers/net/phy/lxt.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c
index bef79e454c33..69d2325f848c 100644
--- a/drivers/net/phy/lxt.c
+++ b/drivers/net/phy/lxt.c
@@ -13,7 +13,6 @@
13 * option) any later version. 13 * option) any later version.
14 * 14 *
15 */ 15 */
16#include <linux/config.h>
17#include <linux/kernel.h> 16#include <linux/kernel.h>
18#include <linux/sched.h> 17#include <linux/sched.h>
19#include <linux/string.h> 18#include <linux/string.h>
@@ -123,9 +122,9 @@ static int lxt971_config_intr(struct phy_device *phydev)
123} 122}
124 123
125static struct phy_driver lxt970_driver = { 124static struct phy_driver lxt970_driver = {
126 .phy_id = 0x07810000, 125 .phy_id = 0x78100000,
127 .name = "LXT970", 126 .name = "LXT970",
128 .phy_id_mask = 0x0fffffff, 127 .phy_id_mask = 0xfffffff0,
129 .features = PHY_BASIC_FEATURES, 128 .features = PHY_BASIC_FEATURES,
130 .flags = PHY_HAS_INTERRUPT, 129 .flags = PHY_HAS_INTERRUPT,
131 .config_init = lxt970_config_init, 130 .config_init = lxt970_config_init,
@@ -137,9 +136,9 @@ static struct phy_driver lxt970_driver = {
137}; 136};
138 137
139static struct phy_driver lxt971_driver = { 138static struct phy_driver lxt971_driver = {
140 .phy_id = 0x0001378e, 139 .phy_id = 0x001378e0,
141 .name = "LXT971", 140 .name = "LXT971",
142 .phy_id_mask = 0x0fffffff, 141 .phy_id_mask = 0xfffffff0,
143 .features = PHY_BASIC_FEATURES, 142 .features = PHY_BASIC_FEATURES,
144 .flags = PHY_HAS_INTERRUPT, 143 .flags = PHY_HAS_INTERRUPT,
145 .config_aneg = genphy_config_aneg, 144 .config_aneg = genphy_config_aneg,