diff options
| -rw-r--r-- | arch/arm/mach-mxs/mach-mxs.c | 2 | ||||
| -rw-r--r-- | drivers/net/phy/micrel.c | 18 | ||||
| -rw-r--r-- | include/linux/micrel_phy.h | 6 |
3 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 8dabfe81d07c..ff886e01a0b0 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c | |||
| @@ -261,7 +261,7 @@ static void __init apx4devkit_init(void) | |||
| 261 | enable_clk_enet_out(); | 261 | enable_clk_enet_out(); |
| 262 | 262 | ||
| 263 | if (IS_BUILTIN(CONFIG_PHYLIB)) | 263 | if (IS_BUILTIN(CONFIG_PHYLIB)) |
| 264 | phy_register_fixup_for_uid(PHY_ID_KS8051, MICREL_PHY_ID_MASK, | 264 | phy_register_fixup_for_uid(PHY_ID_KSZ8051, MICREL_PHY_ID_MASK, |
| 265 | apx4devkit_phy_fixup); | 265 | apx4devkit_phy_fixup); |
| 266 | 266 | ||
| 267 | mxsfb_pdata.mode_list = apx4devkit_video_modes; | 267 | mxsfb_pdata.mode_list = apx4devkit_video_modes; |
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index e8e00dc087f1..2165d5fdb8c0 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c | |||
| @@ -154,9 +154,9 @@ static struct phy_driver ksphy_driver[] = { | |||
| 154 | .config_intr = kszphy_config_intr, | 154 | .config_intr = kszphy_config_intr, |
| 155 | .driver = { .owner = THIS_MODULE,}, | 155 | .driver = { .owner = THIS_MODULE,}, |
| 156 | }, { | 156 | }, { |
| 157 | .phy_id = PHY_ID_KS8041, | 157 | .phy_id = PHY_ID_KSZ8041, |
| 158 | .phy_id_mask = 0x00fffff0, | 158 | .phy_id_mask = 0x00fffff0, |
| 159 | .name = "Micrel KS8041", | 159 | .name = "Micrel KSZ8041", |
| 160 | .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | 160 | .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause |
| 161 | | SUPPORTED_Asym_Pause), | 161 | | SUPPORTED_Asym_Pause), |
| 162 | .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, | 162 | .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, |
| @@ -167,9 +167,9 @@ static struct phy_driver ksphy_driver[] = { | |||
| 167 | .config_intr = kszphy_config_intr, | 167 | .config_intr = kszphy_config_intr, |
| 168 | .driver = { .owner = THIS_MODULE,}, | 168 | .driver = { .owner = THIS_MODULE,}, |
| 169 | }, { | 169 | }, { |
| 170 | .phy_id = PHY_ID_KS8051, | 170 | .phy_id = PHY_ID_KSZ8051, |
| 171 | .phy_id_mask = 0x00fffff0, | 171 | .phy_id_mask = 0x00fffff0, |
| 172 | .name = "Micrel KS8051", | 172 | .name = "Micrel KSZ8051", |
| 173 | .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | 173 | .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause |
| 174 | | SUPPORTED_Asym_Pause), | 174 | | SUPPORTED_Asym_Pause), |
| 175 | .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, | 175 | .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, |
| @@ -180,8 +180,8 @@ static struct phy_driver ksphy_driver[] = { | |||
| 180 | .config_intr = kszphy_config_intr, | 180 | .config_intr = kszphy_config_intr, |
| 181 | .driver = { .owner = THIS_MODULE,}, | 181 | .driver = { .owner = THIS_MODULE,}, |
| 182 | }, { | 182 | }, { |
| 183 | .phy_id = PHY_ID_KS8001, | 183 | .phy_id = PHY_ID_KSZ8001, |
| 184 | .name = "Micrel KS8001 or KS8721", | 184 | .name = "Micrel KSZ8001 or KS8721", |
| 185 | .phy_id_mask = 0x00ffffff, | 185 | .phy_id_mask = 0x00ffffff, |
| 186 | .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause), | 186 | .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause), |
| 187 | .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, | 187 | .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, |
| @@ -227,11 +227,11 @@ MODULE_LICENSE("GPL"); | |||
| 227 | 227 | ||
| 228 | static struct mdio_device_id __maybe_unused micrel_tbl[] = { | 228 | static struct mdio_device_id __maybe_unused micrel_tbl[] = { |
| 229 | { PHY_ID_KSZ9021, 0x000ffffe }, | 229 | { PHY_ID_KSZ9021, 0x000ffffe }, |
| 230 | { PHY_ID_KS8001, 0x00ffffff }, | 230 | { PHY_ID_KSZ8001, 0x00ffffff }, |
| 231 | { PHY_ID_KS8737, 0x00fffff0 }, | 231 | { PHY_ID_KS8737, 0x00fffff0 }, |
| 232 | { PHY_ID_KSZ8021, 0x00ffffff }, | 232 | { PHY_ID_KSZ8021, 0x00ffffff }, |
| 233 | { PHY_ID_KS8041, 0x00fffff0 }, | 233 | { PHY_ID_KSZ8041, 0x00fffff0 }, |
| 234 | { PHY_ID_KS8051, 0x00fffff0 }, | 234 | { PHY_ID_KSZ8051, 0x00fffff0 }, |
| 235 | { } | 235 | { } |
| 236 | }; | 236 | }; |
| 237 | 237 | ||
diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h index be7f366e37f0..d02355d1fc31 100644 --- a/include/linux/micrel_phy.h +++ b/include/linux/micrel_phy.h | |||
| @@ -6,10 +6,10 @@ | |||
| 6 | #define PHY_ID_KSZ9021 0x00221610 | 6 | #define PHY_ID_KSZ9021 0x00221610 |
| 7 | #define PHY_ID_KS8737 0x00221720 | 7 | #define PHY_ID_KS8737 0x00221720 |
| 8 | #define PHY_ID_KSZ8021 0x00221555 | 8 | #define PHY_ID_KSZ8021 0x00221555 |
| 9 | #define PHY_ID_KS8041 0x00221510 | 9 | #define PHY_ID_KSZ8041 0x00221510 |
| 10 | #define PHY_ID_KS8051 0x00221550 | 10 | #define PHY_ID_KSZ8051 0x00221550 |
| 11 | /* both for ks8001 Rev. A/B, and for ks8721 Rev 3. */ | 11 | /* both for ks8001 Rev. A/B, and for ks8721 Rev 3. */ |
| 12 | #define PHY_ID_KS8001 0x0022161A | 12 | #define PHY_ID_KSZ8001 0x0022161A |
| 13 | 13 | ||
| 14 | /* struct phy_device dev_flags definitions */ | 14 | /* struct phy_device dev_flags definitions */ |
| 15 | #define MICREL_PHY_50MHZ_CLK 0x00000001 | 15 | #define MICREL_PHY_50MHZ_CLK 0x00000001 |
