diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-04-12 14:47:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-15 20:19:54 -0400 |
commit | dcdecdcfe1fc39ded8590aed2fe84d62f14b2392 (patch) | |
tree | 7b0ce1afad9d8d4a8bba17713d42e29302a475d2 | |
parent | b6ed55cb721c13497c3cddd6caee46a7f92c4e7b (diff) |
net: phy: switch drivers to use dynamic feature detection
Recently genphy_read_abilities() has been added that dynamically detects
clause 22 PHY abilities. I *think* this detection should work with all
supported PHY's, at least for the ones with basic features sets, i.e.
PHY_BASIC_FEATURES and PHY_GBIT_FEATURES. So let's remove setting these
features explicitly and rely on phylib feature detection.
I don't have access to most of these PHY's, therefore I'd appreciate
regression testing.
v2:
- make the feature constant a comment so that readers know which
features are supported by the respective PHY
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
30 files changed, 120 insertions, 120 deletions
diff --git a/drivers/net/phy/amd.c b/drivers/net/phy/amd.c index 65b4b0960b1e..eef35f8c8d45 100644 --- a/drivers/net/phy/amd.c +++ b/drivers/net/phy/amd.c | |||
@@ -60,7 +60,7 @@ static struct phy_driver am79c_driver[] = { { | |||
60 | .phy_id = PHY_ID_AM79C874, | 60 | .phy_id = PHY_ID_AM79C874, |
61 | .name = "AM79C874", | 61 | .name = "AM79C874", |
62 | .phy_id_mask = 0xfffffff0, | 62 | .phy_id_mask = 0xfffffff0, |
63 | .features = PHY_BASIC_FEATURES, | 63 | /* PHY_BASIC_FEATURES */ |
64 | .config_init = am79c_config_init, | 64 | .config_init = am79c_config_init, |
65 | .ack_interrupt = am79c_ack_interrupt, | 65 | .ack_interrupt = am79c_ack_interrupt, |
66 | .config_intr = am79c_config_intr, | 66 | .config_intr = am79c_config_intr, |
diff --git a/drivers/net/phy/asix.c b/drivers/net/phy/asix.c index f14ba5366b91..79bf7ef1fcfd 100644 --- a/drivers/net/phy/asix.c +++ b/drivers/net/phy/asix.c | |||
@@ -43,7 +43,7 @@ static struct phy_driver asix_driver[] = { { | |||
43 | .phy_id = PHY_ID_ASIX_AX88796B, | 43 | .phy_id = PHY_ID_ASIX_AX88796B, |
44 | .name = "Asix Electronics AX88796B", | 44 | .name = "Asix Electronics AX88796B", |
45 | .phy_id_mask = 0xfffffff0, | 45 | .phy_id_mask = 0xfffffff0, |
46 | .features = PHY_BASIC_FEATURES, | 46 | /* PHY_BASIC_FEATURES */ |
47 | .soft_reset = asix_soft_reset, | 47 | .soft_reset = asix_soft_reset, |
48 | } }; | 48 | } }; |
49 | 49 | ||
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index f315ab468a0d..406111753f7c 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c | |||
@@ -389,7 +389,7 @@ static struct phy_driver at803x_driver[] = { | |||
389 | .get_wol = at803x_get_wol, | 389 | .get_wol = at803x_get_wol, |
390 | .suspend = at803x_suspend, | 390 | .suspend = at803x_suspend, |
391 | .resume = at803x_resume, | 391 | .resume = at803x_resume, |
392 | .features = PHY_GBIT_FEATURES, | 392 | /* PHY_GBIT_FEATURES */ |
393 | .ack_interrupt = at803x_ack_interrupt, | 393 | .ack_interrupt = at803x_ack_interrupt, |
394 | .config_intr = at803x_config_intr, | 394 | .config_intr = at803x_config_intr, |
395 | }, { | 395 | }, { |
@@ -404,7 +404,7 @@ static struct phy_driver at803x_driver[] = { | |||
404 | .get_wol = at803x_get_wol, | 404 | .get_wol = at803x_get_wol, |
405 | .suspend = at803x_suspend, | 405 | .suspend = at803x_suspend, |
406 | .resume = at803x_resume, | 406 | .resume = at803x_resume, |
407 | .features = PHY_BASIC_FEATURES, | 407 | /* PHY_BASIC_FEATURES */ |
408 | .ack_interrupt = at803x_ack_interrupt, | 408 | .ack_interrupt = at803x_ack_interrupt, |
409 | .config_intr = at803x_config_intr, | 409 | .config_intr = at803x_config_intr, |
410 | }, { | 410 | }, { |
@@ -418,7 +418,7 @@ static struct phy_driver at803x_driver[] = { | |||
418 | .get_wol = at803x_get_wol, | 418 | .get_wol = at803x_get_wol, |
419 | .suspend = at803x_suspend, | 419 | .suspend = at803x_suspend, |
420 | .resume = at803x_resume, | 420 | .resume = at803x_resume, |
421 | .features = PHY_GBIT_FEATURES, | 421 | /* PHY_GBIT_FEATURES */ |
422 | .aneg_done = at803x_aneg_done, | 422 | .aneg_done = at803x_aneg_done, |
423 | .ack_interrupt = &at803x_ack_interrupt, | 423 | .ack_interrupt = &at803x_ack_interrupt, |
424 | .config_intr = &at803x_config_intr, | 424 | .config_intr = &at803x_config_intr, |
diff --git a/drivers/net/phy/bcm-cygnus.c b/drivers/net/phy/bcm-cygnus.c index 625b7cb76285..9ccf28b0a04d 100644 --- a/drivers/net/phy/bcm-cygnus.c +++ b/drivers/net/phy/bcm-cygnus.c | |||
@@ -254,7 +254,7 @@ static struct phy_driver bcm_cygnus_phy_driver[] = { | |||
254 | .phy_id = PHY_ID_BCM_CYGNUS, | 254 | .phy_id = PHY_ID_BCM_CYGNUS, |
255 | .phy_id_mask = 0xfffffff0, | 255 | .phy_id_mask = 0xfffffff0, |
256 | .name = "Broadcom Cygnus PHY", | 256 | .name = "Broadcom Cygnus PHY", |
257 | .features = PHY_GBIT_FEATURES, | 257 | /* PHY_GBIT_FEATURES */ |
258 | .config_init = bcm_cygnus_config_init, | 258 | .config_init = bcm_cygnus_config_init, |
259 | .ack_interrupt = bcm_phy_ack_intr, | 259 | .ack_interrupt = bcm_phy_ack_intr, |
260 | .config_intr = bcm_phy_config_intr, | 260 | .config_intr = bcm_phy_config_intr, |
@@ -264,7 +264,7 @@ static struct phy_driver bcm_cygnus_phy_driver[] = { | |||
264 | .phy_id = PHY_ID_BCM_OMEGA, | 264 | .phy_id = PHY_ID_BCM_OMEGA, |
265 | .phy_id_mask = 0xfffffff0, | 265 | .phy_id_mask = 0xfffffff0, |
266 | .name = "Broadcom Omega Combo GPHY", | 266 | .name = "Broadcom Omega Combo GPHY", |
267 | .features = PHY_GBIT_FEATURES, | 267 | /* PHY_GBIT_FEATURES */ |
268 | .flags = PHY_IS_INTERNAL, | 268 | .flags = PHY_IS_INTERNAL, |
269 | .config_init = bcm_omega_config_init, | 269 | .config_init = bcm_omega_config_init, |
270 | .suspend = genphy_suspend, | 270 | .suspend = genphy_suspend, |
diff --git a/drivers/net/phy/bcm63xx.c b/drivers/net/phy/bcm63xx.c index 44e6cff419a0..23f1958ba6ad 100644 --- a/drivers/net/phy/bcm63xx.c +++ b/drivers/net/phy/bcm63xx.c | |||
@@ -64,7 +64,7 @@ static struct phy_driver bcm63xx_driver[] = { | |||
64 | .phy_id = 0x00406000, | 64 | .phy_id = 0x00406000, |
65 | .phy_id_mask = 0xfffffc00, | 65 | .phy_id_mask = 0xfffffc00, |
66 | .name = "Broadcom BCM63XX (1)", | 66 | .name = "Broadcom BCM63XX (1)", |
67 | .features = PHY_BASIC_FEATURES, | 67 | /* PHY_BASIC_FEATURES */ |
68 | .flags = PHY_IS_INTERNAL, | 68 | .flags = PHY_IS_INTERNAL, |
69 | .config_init = bcm63xx_config_init, | 69 | .config_init = bcm63xx_config_init, |
70 | .ack_interrupt = bcm_phy_ack_intr, | 70 | .ack_interrupt = bcm_phy_ack_intr, |
@@ -73,7 +73,7 @@ static struct phy_driver bcm63xx_driver[] = { | |||
73 | /* same phy as above, with just a different OUI */ | 73 | /* same phy as above, with just a different OUI */ |
74 | .phy_id = 0x002bdc00, | 74 | .phy_id = 0x002bdc00, |
75 | .phy_id_mask = 0xfffffc00, | 75 | .phy_id_mask = 0xfffffc00, |
76 | .features = PHY_BASIC_FEATURES, | 76 | /* PHY_BASIC_FEATURES */ |
77 | .flags = PHY_IS_INTERNAL, | 77 | .flags = PHY_IS_INTERNAL, |
78 | .config_init = bcm63xx_config_init, | 78 | .config_init = bcm63xx_config_init, |
79 | .ack_interrupt = bcm_phy_ack_intr, | 79 | .ack_interrupt = bcm_phy_ack_intr, |
diff --git a/drivers/net/phy/bcm7xxx.c b/drivers/net/phy/bcm7xxx.c index a75e1b283541..8fc33867e524 100644 --- a/drivers/net/phy/bcm7xxx.c +++ b/drivers/net/phy/bcm7xxx.c | |||
@@ -538,7 +538,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev) | |||
538 | .phy_id = (_oui), \ | 538 | .phy_id = (_oui), \ |
539 | .phy_id_mask = 0xfffffff0, \ | 539 | .phy_id_mask = 0xfffffff0, \ |
540 | .name = _name, \ | 540 | .name = _name, \ |
541 | .features = PHY_GBIT_FEATURES, \ | 541 | /* PHY_GBIT_FEATURES */ \ |
542 | .flags = PHY_IS_INTERNAL, \ | 542 | .flags = PHY_IS_INTERNAL, \ |
543 | .config_init = bcm7xxx_28nm_config_init, \ | 543 | .config_init = bcm7xxx_28nm_config_init, \ |
544 | .resume = bcm7xxx_28nm_resume, \ | 544 | .resume = bcm7xxx_28nm_resume, \ |
@@ -555,7 +555,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev) | |||
555 | .phy_id = (_oui), \ | 555 | .phy_id = (_oui), \ |
556 | .phy_id_mask = 0xfffffff0, \ | 556 | .phy_id_mask = 0xfffffff0, \ |
557 | .name = _name, \ | 557 | .name = _name, \ |
558 | .features = PHY_BASIC_FEATURES, \ | 558 | /* PHY_BASIC_FEATURES */ \ |
559 | .flags = PHY_IS_INTERNAL, \ | 559 | .flags = PHY_IS_INTERNAL, \ |
560 | .config_init = bcm7xxx_28nm_ephy_config_init, \ | 560 | .config_init = bcm7xxx_28nm_ephy_config_init, \ |
561 | .resume = bcm7xxx_28nm_ephy_resume, \ | 561 | .resume = bcm7xxx_28nm_ephy_resume, \ |
@@ -570,7 +570,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev) | |||
570 | .phy_id = (_oui), \ | 570 | .phy_id = (_oui), \ |
571 | .phy_id_mask = 0xfffffff0, \ | 571 | .phy_id_mask = 0xfffffff0, \ |
572 | .name = _name, \ | 572 | .name = _name, \ |
573 | .features = PHY_BASIC_FEATURES, \ | 573 | /* PHY_BASIC_FEATURES */ \ |
574 | .flags = PHY_IS_INTERNAL, \ | 574 | .flags = PHY_IS_INTERNAL, \ |
575 | .config_init = bcm7xxx_config_init, \ | 575 | .config_init = bcm7xxx_config_init, \ |
576 | .suspend = bcm7xxx_suspend, \ | 576 | .suspend = bcm7xxx_suspend, \ |
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index cb86a3e90c7d..67fa05d67523 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c | |||
@@ -610,7 +610,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
610 | .phy_id = PHY_ID_BCM5411, | 610 | .phy_id = PHY_ID_BCM5411, |
611 | .phy_id_mask = 0xfffffff0, | 611 | .phy_id_mask = 0xfffffff0, |
612 | .name = "Broadcom BCM5411", | 612 | .name = "Broadcom BCM5411", |
613 | .features = PHY_GBIT_FEATURES, | 613 | /* PHY_GBIT_FEATURES */ |
614 | .config_init = bcm54xx_config_init, | 614 | .config_init = bcm54xx_config_init, |
615 | .ack_interrupt = bcm_phy_ack_intr, | 615 | .ack_interrupt = bcm_phy_ack_intr, |
616 | .config_intr = bcm_phy_config_intr, | 616 | .config_intr = bcm_phy_config_intr, |
@@ -618,7 +618,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
618 | .phy_id = PHY_ID_BCM5421, | 618 | .phy_id = PHY_ID_BCM5421, |
619 | .phy_id_mask = 0xfffffff0, | 619 | .phy_id_mask = 0xfffffff0, |
620 | .name = "Broadcom BCM5421", | 620 | .name = "Broadcom BCM5421", |
621 | .features = PHY_GBIT_FEATURES, | 621 | /* PHY_GBIT_FEATURES */ |
622 | .config_init = bcm54xx_config_init, | 622 | .config_init = bcm54xx_config_init, |
623 | .ack_interrupt = bcm_phy_ack_intr, | 623 | .ack_interrupt = bcm_phy_ack_intr, |
624 | .config_intr = bcm_phy_config_intr, | 624 | .config_intr = bcm_phy_config_intr, |
@@ -626,7 +626,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
626 | .phy_id = PHY_ID_BCM54210E, | 626 | .phy_id = PHY_ID_BCM54210E, |
627 | .phy_id_mask = 0xfffffff0, | 627 | .phy_id_mask = 0xfffffff0, |
628 | .name = "Broadcom BCM54210E", | 628 | .name = "Broadcom BCM54210E", |
629 | .features = PHY_GBIT_FEATURES, | 629 | /* PHY_GBIT_FEATURES */ |
630 | .config_init = bcm54xx_config_init, | 630 | .config_init = bcm54xx_config_init, |
631 | .ack_interrupt = bcm_phy_ack_intr, | 631 | .ack_interrupt = bcm_phy_ack_intr, |
632 | .config_intr = bcm_phy_config_intr, | 632 | .config_intr = bcm_phy_config_intr, |
@@ -634,7 +634,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
634 | .phy_id = PHY_ID_BCM5461, | 634 | .phy_id = PHY_ID_BCM5461, |
635 | .phy_id_mask = 0xfffffff0, | 635 | .phy_id_mask = 0xfffffff0, |
636 | .name = "Broadcom BCM5461", | 636 | .name = "Broadcom BCM5461", |
637 | .features = PHY_GBIT_FEATURES, | 637 | /* PHY_GBIT_FEATURES */ |
638 | .config_init = bcm54xx_config_init, | 638 | .config_init = bcm54xx_config_init, |
639 | .ack_interrupt = bcm_phy_ack_intr, | 639 | .ack_interrupt = bcm_phy_ack_intr, |
640 | .config_intr = bcm_phy_config_intr, | 640 | .config_intr = bcm_phy_config_intr, |
@@ -642,7 +642,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
642 | .phy_id = PHY_ID_BCM54612E, | 642 | .phy_id = PHY_ID_BCM54612E, |
643 | .phy_id_mask = 0xfffffff0, | 643 | .phy_id_mask = 0xfffffff0, |
644 | .name = "Broadcom BCM54612E", | 644 | .name = "Broadcom BCM54612E", |
645 | .features = PHY_GBIT_FEATURES, | 645 | /* PHY_GBIT_FEATURES */ |
646 | .config_init = bcm54xx_config_init, | 646 | .config_init = bcm54xx_config_init, |
647 | .ack_interrupt = bcm_phy_ack_intr, | 647 | .ack_interrupt = bcm_phy_ack_intr, |
648 | .config_intr = bcm_phy_config_intr, | 648 | .config_intr = bcm_phy_config_intr, |
@@ -650,7 +650,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
650 | .phy_id = PHY_ID_BCM54616S, | 650 | .phy_id = PHY_ID_BCM54616S, |
651 | .phy_id_mask = 0xfffffff0, | 651 | .phy_id_mask = 0xfffffff0, |
652 | .name = "Broadcom BCM54616S", | 652 | .name = "Broadcom BCM54616S", |
653 | .features = PHY_GBIT_FEATURES, | 653 | /* PHY_GBIT_FEATURES */ |
654 | .config_init = bcm54xx_config_init, | 654 | .config_init = bcm54xx_config_init, |
655 | .config_aneg = bcm54616s_config_aneg, | 655 | .config_aneg = bcm54616s_config_aneg, |
656 | .ack_interrupt = bcm_phy_ack_intr, | 656 | .ack_interrupt = bcm_phy_ack_intr, |
@@ -659,7 +659,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
659 | .phy_id = PHY_ID_BCM5464, | 659 | .phy_id = PHY_ID_BCM5464, |
660 | .phy_id_mask = 0xfffffff0, | 660 | .phy_id_mask = 0xfffffff0, |
661 | .name = "Broadcom BCM5464", | 661 | .name = "Broadcom BCM5464", |
662 | .features = PHY_GBIT_FEATURES, | 662 | /* PHY_GBIT_FEATURES */ |
663 | .config_init = bcm54xx_config_init, | 663 | .config_init = bcm54xx_config_init, |
664 | .ack_interrupt = bcm_phy_ack_intr, | 664 | .ack_interrupt = bcm_phy_ack_intr, |
665 | .config_intr = bcm_phy_config_intr, | 665 | .config_intr = bcm_phy_config_intr, |
@@ -667,7 +667,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
667 | .phy_id = PHY_ID_BCM5481, | 667 | .phy_id = PHY_ID_BCM5481, |
668 | .phy_id_mask = 0xfffffff0, | 668 | .phy_id_mask = 0xfffffff0, |
669 | .name = "Broadcom BCM5481", | 669 | .name = "Broadcom BCM5481", |
670 | .features = PHY_GBIT_FEATURES, | 670 | /* PHY_GBIT_FEATURES */ |
671 | .config_init = bcm54xx_config_init, | 671 | .config_init = bcm54xx_config_init, |
672 | .config_aneg = bcm5481_config_aneg, | 672 | .config_aneg = bcm5481_config_aneg, |
673 | .ack_interrupt = bcm_phy_ack_intr, | 673 | .ack_interrupt = bcm_phy_ack_intr, |
@@ -676,7 +676,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
676 | .phy_id = PHY_ID_BCM54810, | 676 | .phy_id = PHY_ID_BCM54810, |
677 | .phy_id_mask = 0xfffffff0, | 677 | .phy_id_mask = 0xfffffff0, |
678 | .name = "Broadcom BCM54810", | 678 | .name = "Broadcom BCM54810", |
679 | .features = PHY_GBIT_FEATURES, | 679 | /* PHY_GBIT_FEATURES */ |
680 | .config_init = bcm54xx_config_init, | 680 | .config_init = bcm54xx_config_init, |
681 | .config_aneg = bcm5481_config_aneg, | 681 | .config_aneg = bcm5481_config_aneg, |
682 | .ack_interrupt = bcm_phy_ack_intr, | 682 | .ack_interrupt = bcm_phy_ack_intr, |
@@ -685,7 +685,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
685 | .phy_id = PHY_ID_BCM5482, | 685 | .phy_id = PHY_ID_BCM5482, |
686 | .phy_id_mask = 0xfffffff0, | 686 | .phy_id_mask = 0xfffffff0, |
687 | .name = "Broadcom BCM5482", | 687 | .name = "Broadcom BCM5482", |
688 | .features = PHY_GBIT_FEATURES, | 688 | /* PHY_GBIT_FEATURES */ |
689 | .config_init = bcm5482_config_init, | 689 | .config_init = bcm5482_config_init, |
690 | .read_status = bcm5482_read_status, | 690 | .read_status = bcm5482_read_status, |
691 | .ack_interrupt = bcm_phy_ack_intr, | 691 | .ack_interrupt = bcm_phy_ack_intr, |
@@ -694,7 +694,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
694 | .phy_id = PHY_ID_BCM50610, | 694 | .phy_id = PHY_ID_BCM50610, |
695 | .phy_id_mask = 0xfffffff0, | 695 | .phy_id_mask = 0xfffffff0, |
696 | .name = "Broadcom BCM50610", | 696 | .name = "Broadcom BCM50610", |
697 | .features = PHY_GBIT_FEATURES, | 697 | /* PHY_GBIT_FEATURES */ |
698 | .config_init = bcm54xx_config_init, | 698 | .config_init = bcm54xx_config_init, |
699 | .ack_interrupt = bcm_phy_ack_intr, | 699 | .ack_interrupt = bcm_phy_ack_intr, |
700 | .config_intr = bcm_phy_config_intr, | 700 | .config_intr = bcm_phy_config_intr, |
@@ -702,7 +702,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
702 | .phy_id = PHY_ID_BCM50610M, | 702 | .phy_id = PHY_ID_BCM50610M, |
703 | .phy_id_mask = 0xfffffff0, | 703 | .phy_id_mask = 0xfffffff0, |
704 | .name = "Broadcom BCM50610M", | 704 | .name = "Broadcom BCM50610M", |
705 | .features = PHY_GBIT_FEATURES, | 705 | /* PHY_GBIT_FEATURES */ |
706 | .config_init = bcm54xx_config_init, | 706 | .config_init = bcm54xx_config_init, |
707 | .ack_interrupt = bcm_phy_ack_intr, | 707 | .ack_interrupt = bcm_phy_ack_intr, |
708 | .config_intr = bcm_phy_config_intr, | 708 | .config_intr = bcm_phy_config_intr, |
@@ -710,7 +710,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
710 | .phy_id = PHY_ID_BCM57780, | 710 | .phy_id = PHY_ID_BCM57780, |
711 | .phy_id_mask = 0xfffffff0, | 711 | .phy_id_mask = 0xfffffff0, |
712 | .name = "Broadcom BCM57780", | 712 | .name = "Broadcom BCM57780", |
713 | .features = PHY_GBIT_FEATURES, | 713 | /* PHY_GBIT_FEATURES */ |
714 | .config_init = bcm54xx_config_init, | 714 | .config_init = bcm54xx_config_init, |
715 | .ack_interrupt = bcm_phy_ack_intr, | 715 | .ack_interrupt = bcm_phy_ack_intr, |
716 | .config_intr = bcm_phy_config_intr, | 716 | .config_intr = bcm_phy_config_intr, |
@@ -718,7 +718,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
718 | .phy_id = PHY_ID_BCMAC131, | 718 | .phy_id = PHY_ID_BCMAC131, |
719 | .phy_id_mask = 0xfffffff0, | 719 | .phy_id_mask = 0xfffffff0, |
720 | .name = "Broadcom BCMAC131", | 720 | .name = "Broadcom BCMAC131", |
721 | .features = PHY_BASIC_FEATURES, | 721 | /* PHY_BASIC_FEATURES */ |
722 | .config_init = brcm_fet_config_init, | 722 | .config_init = brcm_fet_config_init, |
723 | .ack_interrupt = brcm_fet_ack_interrupt, | 723 | .ack_interrupt = brcm_fet_ack_interrupt, |
724 | .config_intr = brcm_fet_config_intr, | 724 | .config_intr = brcm_fet_config_intr, |
@@ -726,7 +726,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
726 | .phy_id = PHY_ID_BCM5241, | 726 | .phy_id = PHY_ID_BCM5241, |
727 | .phy_id_mask = 0xfffffff0, | 727 | .phy_id_mask = 0xfffffff0, |
728 | .name = "Broadcom BCM5241", | 728 | .name = "Broadcom BCM5241", |
729 | .features = PHY_BASIC_FEATURES, | 729 | /* PHY_BASIC_FEATURES */ |
730 | .config_init = brcm_fet_config_init, | 730 | .config_init = brcm_fet_config_init, |
731 | .ack_interrupt = brcm_fet_ack_interrupt, | 731 | .ack_interrupt = brcm_fet_ack_interrupt, |
732 | .config_intr = brcm_fet_config_intr, | 732 | .config_intr = brcm_fet_config_intr, |
@@ -735,7 +735,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
735 | .phy_id_mask = 0xfffffff0, | 735 | .phy_id_mask = 0xfffffff0, |
736 | .name = "Broadcom BCM5395", | 736 | .name = "Broadcom BCM5395", |
737 | .flags = PHY_IS_INTERNAL, | 737 | .flags = PHY_IS_INTERNAL, |
738 | .features = PHY_GBIT_FEATURES, | 738 | /* PHY_GBIT_FEATURES */ |
739 | .get_sset_count = bcm_phy_get_sset_count, | 739 | .get_sset_count = bcm_phy_get_sset_count, |
740 | .get_strings = bcm_phy_get_strings, | 740 | .get_strings = bcm_phy_get_strings, |
741 | .get_stats = bcm53xx_phy_get_stats, | 741 | .get_stats = bcm53xx_phy_get_stats, |
@@ -744,7 +744,7 @@ static struct phy_driver broadcom_drivers[] = { | |||
744 | .phy_id = PHY_ID_BCM89610, | 744 | .phy_id = PHY_ID_BCM89610, |
745 | .phy_id_mask = 0xfffffff0, | 745 | .phy_id_mask = 0xfffffff0, |
746 | .name = "Broadcom BCM89610", | 746 | .name = "Broadcom BCM89610", |
747 | .features = PHY_GBIT_FEATURES, | 747 | /* PHY_GBIT_FEATURES */ |
748 | .config_init = bcm54xx_config_init, | 748 | .config_init = bcm54xx_config_init, |
749 | .ack_interrupt = bcm_phy_ack_intr, | 749 | .ack_interrupt = bcm_phy_ack_intr, |
750 | .config_intr = bcm_phy_config_intr, | 750 | .config_intr = bcm_phy_config_intr, |
diff --git a/drivers/net/phy/cicada.c b/drivers/net/phy/cicada.c index 108ed24f8489..9d1612a4d7e6 100644 --- a/drivers/net/phy/cicada.c +++ b/drivers/net/phy/cicada.c | |||
@@ -102,7 +102,7 @@ static struct phy_driver cis820x_driver[] = { | |||
102 | .phy_id = 0x000fc410, | 102 | .phy_id = 0x000fc410, |
103 | .name = "Cicada Cis8201", | 103 | .name = "Cicada Cis8201", |
104 | .phy_id_mask = 0x000ffff0, | 104 | .phy_id_mask = 0x000ffff0, |
105 | .features = PHY_GBIT_FEATURES, | 105 | /* PHY_GBIT_FEATURES */ |
106 | .config_init = &cis820x_config_init, | 106 | .config_init = &cis820x_config_init, |
107 | .ack_interrupt = &cis820x_ack_interrupt, | 107 | .ack_interrupt = &cis820x_ack_interrupt, |
108 | .config_intr = &cis820x_config_intr, | 108 | .config_intr = &cis820x_config_intr, |
@@ -110,7 +110,7 @@ static struct phy_driver cis820x_driver[] = { | |||
110 | .phy_id = 0x000fc440, | 110 | .phy_id = 0x000fc440, |
111 | .name = "Cicada Cis8204", | 111 | .name = "Cicada Cis8204", |
112 | .phy_id_mask = 0x000fffc0, | 112 | .phy_id_mask = 0x000fffc0, |
113 | .features = PHY_GBIT_FEATURES, | 113 | /* PHY_GBIT_FEATURES */ |
114 | .config_init = &cis820x_config_init, | 114 | .config_init = &cis820x_config_init, |
115 | .ack_interrupt = &cis820x_ack_interrupt, | 115 | .ack_interrupt = &cis820x_ack_interrupt, |
116 | .config_intr = &cis820x_config_intr, | 116 | .config_intr = &cis820x_config_intr, |
diff --git a/drivers/net/phy/davicom.c b/drivers/net/phy/davicom.c index bf39baa7f2c8..942f277463a4 100644 --- a/drivers/net/phy/davicom.c +++ b/drivers/net/phy/davicom.c | |||
@@ -144,7 +144,7 @@ static struct phy_driver dm91xx_driver[] = { | |||
144 | .phy_id = 0x0181b880, | 144 | .phy_id = 0x0181b880, |
145 | .name = "Davicom DM9161E", | 145 | .name = "Davicom DM9161E", |
146 | .phy_id_mask = 0x0ffffff0, | 146 | .phy_id_mask = 0x0ffffff0, |
147 | .features = PHY_BASIC_FEATURES, | 147 | /* PHY_BASIC_FEATURES */ |
148 | .config_init = dm9161_config_init, | 148 | .config_init = dm9161_config_init, |
149 | .config_aneg = dm9161_config_aneg, | 149 | .config_aneg = dm9161_config_aneg, |
150 | .ack_interrupt = dm9161_ack_interrupt, | 150 | .ack_interrupt = dm9161_ack_interrupt, |
@@ -153,7 +153,7 @@ static struct phy_driver dm91xx_driver[] = { | |||
153 | .phy_id = 0x0181b8b0, | 153 | .phy_id = 0x0181b8b0, |
154 | .name = "Davicom DM9161B/C", | 154 | .name = "Davicom DM9161B/C", |
155 | .phy_id_mask = 0x0ffffff0, | 155 | .phy_id_mask = 0x0ffffff0, |
156 | .features = PHY_BASIC_FEATURES, | 156 | /* PHY_BASIC_FEATURES */ |
157 | .config_init = dm9161_config_init, | 157 | .config_init = dm9161_config_init, |
158 | .config_aneg = dm9161_config_aneg, | 158 | .config_aneg = dm9161_config_aneg, |
159 | .ack_interrupt = dm9161_ack_interrupt, | 159 | .ack_interrupt = dm9161_ack_interrupt, |
@@ -162,7 +162,7 @@ static struct phy_driver dm91xx_driver[] = { | |||
162 | .phy_id = 0x0181b8a0, | 162 | .phy_id = 0x0181b8a0, |
163 | .name = "Davicom DM9161A", | 163 | .name = "Davicom DM9161A", |
164 | .phy_id_mask = 0x0ffffff0, | 164 | .phy_id_mask = 0x0ffffff0, |
165 | .features = PHY_BASIC_FEATURES, | 165 | /* PHY_BASIC_FEATURES */ |
166 | .config_init = dm9161_config_init, | 166 | .config_init = dm9161_config_init, |
167 | .config_aneg = dm9161_config_aneg, | 167 | .config_aneg = dm9161_config_aneg, |
168 | .ack_interrupt = dm9161_ack_interrupt, | 168 | .ack_interrupt = dm9161_ack_interrupt, |
@@ -171,7 +171,7 @@ static struct phy_driver dm91xx_driver[] = { | |||
171 | .phy_id = 0x00181b80, | 171 | .phy_id = 0x00181b80, |
172 | .name = "Davicom DM9131", | 172 | .name = "Davicom DM9131", |
173 | .phy_id_mask = 0x0ffffff0, | 173 | .phy_id_mask = 0x0ffffff0, |
174 | .features = PHY_BASIC_FEATURES, | 174 | /* PHY_BASIC_FEATURES */ |
175 | .ack_interrupt = dm9161_ack_interrupt, | 175 | .ack_interrupt = dm9161_ack_interrupt, |
176 | .config_intr = dm9161_config_intr, | 176 | .config_intr = dm9161_config_intr, |
177 | } }; | 177 | } }; |
diff --git a/drivers/net/phy/dp83640.c b/drivers/net/phy/dp83640.c index 2fe2ebaf62d1..6580094161a9 100644 --- a/drivers/net/phy/dp83640.c +++ b/drivers/net/phy/dp83640.c | |||
@@ -1514,7 +1514,7 @@ static struct phy_driver dp83640_driver = { | |||
1514 | .phy_id = DP83640_PHY_ID, | 1514 | .phy_id = DP83640_PHY_ID, |
1515 | .phy_id_mask = 0xfffffff0, | 1515 | .phy_id_mask = 0xfffffff0, |
1516 | .name = "NatSemi DP83640", | 1516 | .name = "NatSemi DP83640", |
1517 | .features = PHY_BASIC_FEATURES, | 1517 | /* PHY_BASIC_FEATURES */ |
1518 | .probe = dp83640_probe, | 1518 | .probe = dp83640_probe, |
1519 | .remove = dp83640_remove, | 1519 | .remove = dp83640_remove, |
1520 | .soft_reset = dp83640_soft_reset, | 1520 | .soft_reset = dp83640_soft_reset, |
diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy/dp83822.c index 97d45bd5b38e..7ed4760fb155 100644 --- a/drivers/net/phy/dp83822.c +++ b/drivers/net/phy/dp83822.c | |||
@@ -310,7 +310,7 @@ static int dp83822_resume(struct phy_device *phydev) | |||
310 | { \ | 310 | { \ |
311 | PHY_ID_MATCH_MODEL(_id), \ | 311 | PHY_ID_MATCH_MODEL(_id), \ |
312 | .name = (_name), \ | 312 | .name = (_name), \ |
313 | .features = PHY_BASIC_FEATURES, \ | 313 | /* PHY_BASIC_FEATURES */ \ |
314 | .soft_reset = dp83822_phy_reset, \ | 314 | .soft_reset = dp83822_phy_reset, \ |
315 | .config_init = dp83822_config_init, \ | 315 | .config_init = dp83822_config_init, \ |
316 | .get_wol = dp83822_get_wol, \ | 316 | .get_wol = dp83822_get_wol, \ |
diff --git a/drivers/net/phy/dp83848.c b/drivers/net/phy/dp83848.c index f55dc907c2f3..6f9bc7d91f17 100644 --- a/drivers/net/phy/dp83848.c +++ b/drivers/net/phy/dp83848.c | |||
@@ -99,7 +99,7 @@ MODULE_DEVICE_TABLE(mdio, dp83848_tbl); | |||
99 | .phy_id = _id, \ | 99 | .phy_id = _id, \ |
100 | .phy_id_mask = 0xfffffff0, \ | 100 | .phy_id_mask = 0xfffffff0, \ |
101 | .name = _name, \ | 101 | .name = _name, \ |
102 | .features = PHY_BASIC_FEATURES, \ | 102 | /* PHY_BASIC_FEATURES */ \ |
103 | \ | 103 | \ |
104 | .soft_reset = genphy_soft_reset, \ | 104 | .soft_reset = genphy_soft_reset, \ |
105 | .config_init = _config_init, \ | 105 | .config_init = _config_init, \ |
diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 8448d01819ef..fd35131a0c39 100644 --- a/drivers/net/phy/dp83867.c +++ b/drivers/net/phy/dp83867.c | |||
@@ -315,7 +315,7 @@ static struct phy_driver dp83867_driver[] = { | |||
315 | .phy_id = DP83867_PHY_ID, | 315 | .phy_id = DP83867_PHY_ID, |
316 | .phy_id_mask = 0xfffffff0, | 316 | .phy_id_mask = 0xfffffff0, |
317 | .name = "TI DP83867", | 317 | .name = "TI DP83867", |
318 | .features = PHY_GBIT_FEATURES, | 318 | /* PHY_GBIT_FEATURES */ |
319 | 319 | ||
320 | .config_init = dp83867_config_init, | 320 | .config_init = dp83867_config_init, |
321 | .soft_reset = dp83867_phy_reset, | 321 | .soft_reset = dp83867_phy_reset, |
diff --git a/drivers/net/phy/dp83tc811.c b/drivers/net/phy/dp83tc811.c index e9704af1d239..ac27da16824d 100644 --- a/drivers/net/phy/dp83tc811.c +++ b/drivers/net/phy/dp83tc811.c | |||
@@ -338,7 +338,7 @@ static struct phy_driver dp83811_driver[] = { | |||
338 | .phy_id = DP83TC811_PHY_ID, | 338 | .phy_id = DP83TC811_PHY_ID, |
339 | .phy_id_mask = 0xfffffff0, | 339 | .phy_id_mask = 0xfffffff0, |
340 | .name = "TI DP83TC811", | 340 | .name = "TI DP83TC811", |
341 | .features = PHY_BASIC_FEATURES, | 341 | /* PHY_BASIC_FEATURES */ |
342 | .config_init = dp83811_config_init, | 342 | .config_init = dp83811_config_init, |
343 | .config_aneg = dp83811_config_aneg, | 343 | .config_aneg = dp83811_config_aneg, |
344 | .soft_reset = dp83811_phy_reset, | 344 | .soft_reset = dp83811_phy_reset, |
diff --git a/drivers/net/phy/et1011c.c b/drivers/net/phy/et1011c.c index 2aa367c04a8e..09e07b902d3a 100644 --- a/drivers/net/phy/et1011c.c +++ b/drivers/net/phy/et1011c.c | |||
@@ -86,7 +86,7 @@ static struct phy_driver et1011c_driver[] = { { | |||
86 | .phy_id = 0x0282f014, | 86 | .phy_id = 0x0282f014, |
87 | .name = "ET1011C", | 87 | .name = "ET1011C", |
88 | .phy_id_mask = 0xfffffff0, | 88 | .phy_id_mask = 0xfffffff0, |
89 | .features = PHY_GBIT_FEATURES, | 89 | /* PHY_GBIT_FEATURES */ |
90 | .config_aneg = et1011c_config_aneg, | 90 | .config_aneg = et1011c_config_aneg, |
91 | .read_status = et1011c_read_status, | 91 | .read_status = et1011c_read_status, |
92 | } }; | 92 | } }; |
diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c index ebef8354bc81..d6e8516cd146 100644 --- a/drivers/net/phy/icplus.c +++ b/drivers/net/phy/icplus.c | |||
@@ -311,7 +311,7 @@ static struct phy_driver icplus_driver[] = { | |||
311 | .phy_id = 0x02430d80, | 311 | .phy_id = 0x02430d80, |
312 | .name = "ICPlus IP175C", | 312 | .name = "ICPlus IP175C", |
313 | .phy_id_mask = 0x0ffffff0, | 313 | .phy_id_mask = 0x0ffffff0, |
314 | .features = PHY_BASIC_FEATURES, | 314 | /* PHY_BASIC_FEATURES */ |
315 | .config_init = &ip175c_config_init, | 315 | .config_init = &ip175c_config_init, |
316 | .config_aneg = &ip175c_config_aneg, | 316 | .config_aneg = &ip175c_config_aneg, |
317 | .read_status = &ip175c_read_status, | 317 | .read_status = &ip175c_read_status, |
@@ -321,7 +321,7 @@ static struct phy_driver icplus_driver[] = { | |||
321 | .phy_id = 0x02430d90, | 321 | .phy_id = 0x02430d90, |
322 | .name = "ICPlus IP1001", | 322 | .name = "ICPlus IP1001", |
323 | .phy_id_mask = 0x0ffffff0, | 323 | .phy_id_mask = 0x0ffffff0, |
324 | .features = PHY_GBIT_FEATURES, | 324 | /* PHY_GBIT_FEATURES */ |
325 | .config_init = &ip1001_config_init, | 325 | .config_init = &ip1001_config_init, |
326 | .suspend = genphy_suspend, | 326 | .suspend = genphy_suspend, |
327 | .resume = genphy_resume, | 327 | .resume = genphy_resume, |
@@ -329,7 +329,7 @@ static struct phy_driver icplus_driver[] = { | |||
329 | .phy_id = 0x02430c54, | 329 | .phy_id = 0x02430c54, |
330 | .name = "ICPlus IP101A/G", | 330 | .name = "ICPlus IP101A/G", |
331 | .phy_id_mask = 0x0ffffff0, | 331 | .phy_id_mask = 0x0ffffff0, |
332 | .features = PHY_BASIC_FEATURES, | 332 | /* PHY_BASIC_FEATURES */ |
333 | .probe = ip101a_g_probe, | 333 | .probe = ip101a_g_probe, |
334 | .config_intr = ip101a_g_config_intr, | 334 | .config_intr = ip101a_g_config_intr, |
335 | .did_interrupt = ip101a_g_did_interrupt, | 335 | .did_interrupt = ip101a_g_did_interrupt, |
diff --git a/drivers/net/phy/intel-xway.c b/drivers/net/phy/intel-xway.c index 02d9713318b6..b7875b36097f 100644 --- a/drivers/net/phy/intel-xway.c +++ b/drivers/net/phy/intel-xway.c | |||
@@ -232,7 +232,7 @@ static struct phy_driver xway_gphy[] = { | |||
232 | .phy_id = PHY_ID_PHY11G_1_3, | 232 | .phy_id = PHY_ID_PHY11G_1_3, |
233 | .phy_id_mask = 0xffffffff, | 233 | .phy_id_mask = 0xffffffff, |
234 | .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.3", | 234 | .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.3", |
235 | .features = PHY_GBIT_FEATURES, | 235 | /* PHY_GBIT_FEATURES */ |
236 | .config_init = xway_gphy_config_init, | 236 | .config_init = xway_gphy_config_init, |
237 | .config_aneg = xway_gphy14_config_aneg, | 237 | .config_aneg = xway_gphy14_config_aneg, |
238 | .ack_interrupt = xway_gphy_ack_interrupt, | 238 | .ack_interrupt = xway_gphy_ack_interrupt, |
@@ -244,7 +244,7 @@ static struct phy_driver xway_gphy[] = { | |||
244 | .phy_id = PHY_ID_PHY22F_1_3, | 244 | .phy_id = PHY_ID_PHY22F_1_3, |
245 | .phy_id_mask = 0xffffffff, | 245 | .phy_id_mask = 0xffffffff, |
246 | .name = "Intel XWAY PHY22F (PEF 7061) v1.3", | 246 | .name = "Intel XWAY PHY22F (PEF 7061) v1.3", |
247 | .features = PHY_BASIC_FEATURES, | 247 | /* PHY_BASIC_FEATURES */ |
248 | .config_init = xway_gphy_config_init, | 248 | .config_init = xway_gphy_config_init, |
249 | .config_aneg = xway_gphy14_config_aneg, | 249 | .config_aneg = xway_gphy14_config_aneg, |
250 | .ack_interrupt = xway_gphy_ack_interrupt, | 250 | .ack_interrupt = xway_gphy_ack_interrupt, |
@@ -256,7 +256,7 @@ static struct phy_driver xway_gphy[] = { | |||
256 | .phy_id = PHY_ID_PHY11G_1_4, | 256 | .phy_id = PHY_ID_PHY11G_1_4, |
257 | .phy_id_mask = 0xffffffff, | 257 | .phy_id_mask = 0xffffffff, |
258 | .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.4", | 258 | .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.4", |
259 | .features = PHY_GBIT_FEATURES, | 259 | /* PHY_GBIT_FEATURES */ |
260 | .config_init = xway_gphy_config_init, | 260 | .config_init = xway_gphy_config_init, |
261 | .config_aneg = xway_gphy14_config_aneg, | 261 | .config_aneg = xway_gphy14_config_aneg, |
262 | .ack_interrupt = xway_gphy_ack_interrupt, | 262 | .ack_interrupt = xway_gphy_ack_interrupt, |
@@ -268,7 +268,7 @@ static struct phy_driver xway_gphy[] = { | |||
268 | .phy_id = PHY_ID_PHY22F_1_4, | 268 | .phy_id = PHY_ID_PHY22F_1_4, |
269 | .phy_id_mask = 0xffffffff, | 269 | .phy_id_mask = 0xffffffff, |
270 | .name = "Intel XWAY PHY22F (PEF 7061) v1.4", | 270 | .name = "Intel XWAY PHY22F (PEF 7061) v1.4", |
271 | .features = PHY_BASIC_FEATURES, | 271 | /* PHY_BASIC_FEATURES */ |
272 | .config_init = xway_gphy_config_init, | 272 | .config_init = xway_gphy_config_init, |
273 | .config_aneg = xway_gphy14_config_aneg, | 273 | .config_aneg = xway_gphy14_config_aneg, |
274 | .ack_interrupt = xway_gphy_ack_interrupt, | 274 | .ack_interrupt = xway_gphy_ack_interrupt, |
@@ -280,7 +280,7 @@ static struct phy_driver xway_gphy[] = { | |||
280 | .phy_id = PHY_ID_PHY11G_1_5, | 280 | .phy_id = PHY_ID_PHY11G_1_5, |
281 | .phy_id_mask = 0xffffffff, | 281 | .phy_id_mask = 0xffffffff, |
282 | .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6", | 282 | .name = "Intel XWAY PHY11G (PEF 7071/PEF 7072) v1.5 / v1.6", |
283 | .features = PHY_GBIT_FEATURES, | 283 | /* PHY_GBIT_FEATURES */ |
284 | .config_init = xway_gphy_config_init, | 284 | .config_init = xway_gphy_config_init, |
285 | .ack_interrupt = xway_gphy_ack_interrupt, | 285 | .ack_interrupt = xway_gphy_ack_interrupt, |
286 | .did_interrupt = xway_gphy_did_interrupt, | 286 | .did_interrupt = xway_gphy_did_interrupt, |
@@ -291,7 +291,7 @@ static struct phy_driver xway_gphy[] = { | |||
291 | .phy_id = PHY_ID_PHY22F_1_5, | 291 | .phy_id = PHY_ID_PHY22F_1_5, |
292 | .phy_id_mask = 0xffffffff, | 292 | .phy_id_mask = 0xffffffff, |
293 | .name = "Intel XWAY PHY22F (PEF 7061) v1.5 / v1.6", | 293 | .name = "Intel XWAY PHY22F (PEF 7061) v1.5 / v1.6", |
294 | .features = PHY_BASIC_FEATURES, | 294 | /* PHY_BASIC_FEATURES */ |
295 | .config_init = xway_gphy_config_init, | 295 | .config_init = xway_gphy_config_init, |
296 | .ack_interrupt = xway_gphy_ack_interrupt, | 296 | .ack_interrupt = xway_gphy_ack_interrupt, |
297 | .did_interrupt = xway_gphy_did_interrupt, | 297 | .did_interrupt = xway_gphy_did_interrupt, |
@@ -302,7 +302,7 @@ static struct phy_driver xway_gphy[] = { | |||
302 | .phy_id = PHY_ID_PHY11G_VR9_1_1, | 302 | .phy_id = PHY_ID_PHY11G_VR9_1_1, |
303 | .phy_id_mask = 0xffffffff, | 303 | .phy_id_mask = 0xffffffff, |
304 | .name = "Intel XWAY PHY11G (xRX v1.1 integrated)", | 304 | .name = "Intel XWAY PHY11G (xRX v1.1 integrated)", |
305 | .features = PHY_GBIT_FEATURES, | 305 | /* PHY_GBIT_FEATURES */ |
306 | .config_init = xway_gphy_config_init, | 306 | .config_init = xway_gphy_config_init, |
307 | .ack_interrupt = xway_gphy_ack_interrupt, | 307 | .ack_interrupt = xway_gphy_ack_interrupt, |
308 | .did_interrupt = xway_gphy_did_interrupt, | 308 | .did_interrupt = xway_gphy_did_interrupt, |
@@ -313,7 +313,7 @@ static struct phy_driver xway_gphy[] = { | |||
313 | .phy_id = PHY_ID_PHY22F_VR9_1_1, | 313 | .phy_id = PHY_ID_PHY22F_VR9_1_1, |
314 | .phy_id_mask = 0xffffffff, | 314 | .phy_id_mask = 0xffffffff, |
315 | .name = "Intel XWAY PHY22F (xRX v1.1 integrated)", | 315 | .name = "Intel XWAY PHY22F (xRX v1.1 integrated)", |
316 | .features = PHY_BASIC_FEATURES, | 316 | /* PHY_BASIC_FEATURES */ |
317 | .config_init = xway_gphy_config_init, | 317 | .config_init = xway_gphy_config_init, |
318 | .ack_interrupt = xway_gphy_ack_interrupt, | 318 | .ack_interrupt = xway_gphy_ack_interrupt, |
319 | .did_interrupt = xway_gphy_did_interrupt, | 319 | .did_interrupt = xway_gphy_did_interrupt, |
@@ -324,7 +324,7 @@ static struct phy_driver xway_gphy[] = { | |||
324 | .phy_id = PHY_ID_PHY11G_VR9_1_2, | 324 | .phy_id = PHY_ID_PHY11G_VR9_1_2, |
325 | .phy_id_mask = 0xffffffff, | 325 | .phy_id_mask = 0xffffffff, |
326 | .name = "Intel XWAY PHY11G (xRX v1.2 integrated)", | 326 | .name = "Intel XWAY PHY11G (xRX v1.2 integrated)", |
327 | .features = PHY_GBIT_FEATURES, | 327 | /* PHY_GBIT_FEATURES */ |
328 | .config_init = xway_gphy_config_init, | 328 | .config_init = xway_gphy_config_init, |
329 | .ack_interrupt = xway_gphy_ack_interrupt, | 329 | .ack_interrupt = xway_gphy_ack_interrupt, |
330 | .did_interrupt = xway_gphy_did_interrupt, | 330 | .did_interrupt = xway_gphy_did_interrupt, |
@@ -335,7 +335,7 @@ static struct phy_driver xway_gphy[] = { | |||
335 | .phy_id = PHY_ID_PHY22F_VR9_1_2, | 335 | .phy_id = PHY_ID_PHY22F_VR9_1_2, |
336 | .phy_id_mask = 0xffffffff, | 336 | .phy_id_mask = 0xffffffff, |
337 | .name = "Intel XWAY PHY22F (xRX v1.2 integrated)", | 337 | .name = "Intel XWAY PHY22F (xRX v1.2 integrated)", |
338 | .features = PHY_BASIC_FEATURES, | 338 | /* PHY_BASIC_FEATURES */ |
339 | .config_init = xway_gphy_config_init, | 339 | .config_init = xway_gphy_config_init, |
340 | .ack_interrupt = xway_gphy_ack_interrupt, | 340 | .ack_interrupt = xway_gphy_ack_interrupt, |
341 | .did_interrupt = xway_gphy_did_interrupt, | 341 | .did_interrupt = xway_gphy_did_interrupt, |
diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c index a93d673baf35..314486288119 100644 --- a/drivers/net/phy/lxt.c +++ b/drivers/net/phy/lxt.c | |||
@@ -251,7 +251,7 @@ static struct phy_driver lxt97x_driver[] = { | |||
251 | .phy_id = 0x78100000, | 251 | .phy_id = 0x78100000, |
252 | .name = "LXT970", | 252 | .name = "LXT970", |
253 | .phy_id_mask = 0xfffffff0, | 253 | .phy_id_mask = 0xfffffff0, |
254 | .features = PHY_BASIC_FEATURES, | 254 | /* PHY_BASIC_FEATURES */ |
255 | .config_init = lxt970_config_init, | 255 | .config_init = lxt970_config_init, |
256 | .ack_interrupt = lxt970_ack_interrupt, | 256 | .ack_interrupt = lxt970_ack_interrupt, |
257 | .config_intr = lxt970_config_intr, | 257 | .config_intr = lxt970_config_intr, |
@@ -259,14 +259,14 @@ static struct phy_driver lxt97x_driver[] = { | |||
259 | .phy_id = 0x001378e0, | 259 | .phy_id = 0x001378e0, |
260 | .name = "LXT971", | 260 | .name = "LXT971", |
261 | .phy_id_mask = 0xfffffff0, | 261 | .phy_id_mask = 0xfffffff0, |
262 | .features = PHY_BASIC_FEATURES, | 262 | /* PHY_BASIC_FEATURES */ |
263 | .ack_interrupt = lxt971_ack_interrupt, | 263 | .ack_interrupt = lxt971_ack_interrupt, |
264 | .config_intr = lxt971_config_intr, | 264 | .config_intr = lxt971_config_intr, |
265 | }, { | 265 | }, { |
266 | .phy_id = 0x00137a10, | 266 | .phy_id = 0x00137a10, |
267 | .name = "LXT973-A2", | 267 | .name = "LXT973-A2", |
268 | .phy_id_mask = 0xffffffff, | 268 | .phy_id_mask = 0xffffffff, |
269 | .features = PHY_BASIC_FEATURES, | 269 | /* PHY_BASIC_FEATURES */ |
270 | .flags = 0, | 270 | .flags = 0, |
271 | .probe = lxt973_probe, | 271 | .probe = lxt973_probe, |
272 | .config_aneg = lxt973_config_aneg, | 272 | .config_aneg = lxt973_config_aneg, |
@@ -275,7 +275,7 @@ static struct phy_driver lxt97x_driver[] = { | |||
275 | .phy_id = 0x00137a10, | 275 | .phy_id = 0x00137a10, |
276 | .name = "LXT973", | 276 | .name = "LXT973", |
277 | .phy_id_mask = 0xfffffff0, | 277 | .phy_id_mask = 0xfffffff0, |
278 | .features = PHY_BASIC_FEATURES, | 278 | /* PHY_BASIC_FEATURES */ |
279 | .flags = 0, | 279 | .flags = 0, |
280 | .probe = lxt973_probe, | 280 | .probe = lxt973_probe, |
281 | .config_aneg = lxt973_config_aneg, | 281 | .config_aneg = lxt973_config_aneg, |
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 65350186d514..8754cb883d02 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c | |||
@@ -2126,7 +2126,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2126 | .phy_id = MARVELL_PHY_ID_88E1101, | 2126 | .phy_id = MARVELL_PHY_ID_88E1101, |
2127 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2127 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2128 | .name = "Marvell 88E1101", | 2128 | .name = "Marvell 88E1101", |
2129 | .features = PHY_GBIT_FEATURES, | 2129 | /* PHY_GBIT_FEATURES */ |
2130 | .probe = marvell_probe, | 2130 | .probe = marvell_probe, |
2131 | .config_init = &marvell_config_init, | 2131 | .config_init = &marvell_config_init, |
2132 | .config_aneg = &m88e1101_config_aneg, | 2132 | .config_aneg = &m88e1101_config_aneg, |
@@ -2144,7 +2144,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2144 | .phy_id = MARVELL_PHY_ID_88E1112, | 2144 | .phy_id = MARVELL_PHY_ID_88E1112, |
2145 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2145 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2146 | .name = "Marvell 88E1112", | 2146 | .name = "Marvell 88E1112", |
2147 | .features = PHY_GBIT_FEATURES, | 2147 | /* PHY_GBIT_FEATURES */ |
2148 | .probe = marvell_probe, | 2148 | .probe = marvell_probe, |
2149 | .config_init = &m88e1111_config_init, | 2149 | .config_init = &m88e1111_config_init, |
2150 | .config_aneg = &marvell_config_aneg, | 2150 | .config_aneg = &marvell_config_aneg, |
@@ -2162,7 +2162,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2162 | .phy_id = MARVELL_PHY_ID_88E1111, | 2162 | .phy_id = MARVELL_PHY_ID_88E1111, |
2163 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2163 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2164 | .name = "Marvell 88E1111", | 2164 | .name = "Marvell 88E1111", |
2165 | .features = PHY_GBIT_FEATURES, | 2165 | /* PHY_GBIT_FEATURES */ |
2166 | .probe = marvell_probe, | 2166 | .probe = marvell_probe, |
2167 | .config_init = &m88e1111_config_init, | 2167 | .config_init = &m88e1111_config_init, |
2168 | .config_aneg = &marvell_config_aneg, | 2168 | .config_aneg = &marvell_config_aneg, |
@@ -2181,7 +2181,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2181 | .phy_id = MARVELL_PHY_ID_88E1118, | 2181 | .phy_id = MARVELL_PHY_ID_88E1118, |
2182 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2182 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2183 | .name = "Marvell 88E1118", | 2183 | .name = "Marvell 88E1118", |
2184 | .features = PHY_GBIT_FEATURES, | 2184 | /* PHY_GBIT_FEATURES */ |
2185 | .probe = marvell_probe, | 2185 | .probe = marvell_probe, |
2186 | .config_init = &m88e1118_config_init, | 2186 | .config_init = &m88e1118_config_init, |
2187 | .config_aneg = &m88e1118_config_aneg, | 2187 | .config_aneg = &m88e1118_config_aneg, |
@@ -2199,7 +2199,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2199 | .phy_id = MARVELL_PHY_ID_88E1121R, | 2199 | .phy_id = MARVELL_PHY_ID_88E1121R, |
2200 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2200 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2201 | .name = "Marvell 88E1121R", | 2201 | .name = "Marvell 88E1121R", |
2202 | .features = PHY_GBIT_FEATURES, | 2202 | /* PHY_GBIT_FEATURES */ |
2203 | .probe = &m88e1121_probe, | 2203 | .probe = &m88e1121_probe, |
2204 | .config_init = &marvell_config_init, | 2204 | .config_init = &marvell_config_init, |
2205 | .config_aneg = &m88e1121_config_aneg, | 2205 | .config_aneg = &m88e1121_config_aneg, |
@@ -2219,7 +2219,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2219 | .phy_id = MARVELL_PHY_ID_88E1318S, | 2219 | .phy_id = MARVELL_PHY_ID_88E1318S, |
2220 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2220 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2221 | .name = "Marvell 88E1318S", | 2221 | .name = "Marvell 88E1318S", |
2222 | .features = PHY_GBIT_FEATURES, | 2222 | /* PHY_GBIT_FEATURES */ |
2223 | .probe = marvell_probe, | 2223 | .probe = marvell_probe, |
2224 | .config_init = &m88e1318_config_init, | 2224 | .config_init = &m88e1318_config_init, |
2225 | .config_aneg = &m88e1318_config_aneg, | 2225 | .config_aneg = &m88e1318_config_aneg, |
@@ -2241,7 +2241,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2241 | .phy_id = MARVELL_PHY_ID_88E1145, | 2241 | .phy_id = MARVELL_PHY_ID_88E1145, |
2242 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2242 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2243 | .name = "Marvell 88E1145", | 2243 | .name = "Marvell 88E1145", |
2244 | .features = PHY_GBIT_FEATURES, | 2244 | /* PHY_GBIT_FEATURES */ |
2245 | .probe = marvell_probe, | 2245 | .probe = marvell_probe, |
2246 | .config_init = &m88e1145_config_init, | 2246 | .config_init = &m88e1145_config_init, |
2247 | .config_aneg = &m88e1101_config_aneg, | 2247 | .config_aneg = &m88e1101_config_aneg, |
@@ -2260,7 +2260,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2260 | .phy_id = MARVELL_PHY_ID_88E1149R, | 2260 | .phy_id = MARVELL_PHY_ID_88E1149R, |
2261 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2261 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2262 | .name = "Marvell 88E1149R", | 2262 | .name = "Marvell 88E1149R", |
2263 | .features = PHY_GBIT_FEATURES, | 2263 | /* PHY_GBIT_FEATURES */ |
2264 | .probe = marvell_probe, | 2264 | .probe = marvell_probe, |
2265 | .config_init = &m88e1149_config_init, | 2265 | .config_init = &m88e1149_config_init, |
2266 | .config_aneg = &m88e1118_config_aneg, | 2266 | .config_aneg = &m88e1118_config_aneg, |
@@ -2278,7 +2278,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2278 | .phy_id = MARVELL_PHY_ID_88E1240, | 2278 | .phy_id = MARVELL_PHY_ID_88E1240, |
2279 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2279 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2280 | .name = "Marvell 88E1240", | 2280 | .name = "Marvell 88E1240", |
2281 | .features = PHY_GBIT_FEATURES, | 2281 | /* PHY_GBIT_FEATURES */ |
2282 | .probe = marvell_probe, | 2282 | .probe = marvell_probe, |
2283 | .config_init = &m88e1111_config_init, | 2283 | .config_init = &m88e1111_config_init, |
2284 | .config_aneg = &marvell_config_aneg, | 2284 | .config_aneg = &marvell_config_aneg, |
@@ -2296,7 +2296,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2296 | .phy_id = MARVELL_PHY_ID_88E1116R, | 2296 | .phy_id = MARVELL_PHY_ID_88E1116R, |
2297 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2297 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2298 | .name = "Marvell 88E1116R", | 2298 | .name = "Marvell 88E1116R", |
2299 | .features = PHY_GBIT_FEATURES, | 2299 | /* PHY_GBIT_FEATURES */ |
2300 | .probe = marvell_probe, | 2300 | .probe = marvell_probe, |
2301 | .config_init = &m88e1116r_config_init, | 2301 | .config_init = &m88e1116r_config_init, |
2302 | .ack_interrupt = &marvell_ack_interrupt, | 2302 | .ack_interrupt = &marvell_ack_interrupt, |
@@ -2336,7 +2336,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2336 | .phy_id = MARVELL_PHY_ID_88E1540, | 2336 | .phy_id = MARVELL_PHY_ID_88E1540, |
2337 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2337 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2338 | .name = "Marvell 88E1540", | 2338 | .name = "Marvell 88E1540", |
2339 | .features = PHY_GBIT_FEATURES, | 2339 | /* PHY_GBIT_FEATURES */ |
2340 | .probe = m88e1510_probe, | 2340 | .probe = m88e1510_probe, |
2341 | .config_init = &marvell_config_init, | 2341 | .config_init = &marvell_config_init, |
2342 | .config_aneg = &m88e1510_config_aneg, | 2342 | .config_aneg = &m88e1510_config_aneg, |
@@ -2359,7 +2359,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2359 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2359 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2360 | .name = "Marvell 88E1545", | 2360 | .name = "Marvell 88E1545", |
2361 | .probe = m88e1510_probe, | 2361 | .probe = m88e1510_probe, |
2362 | .features = PHY_GBIT_FEATURES, | 2362 | /* PHY_GBIT_FEATURES */ |
2363 | .config_init = &marvell_config_init, | 2363 | .config_init = &marvell_config_init, |
2364 | .config_aneg = &m88e1510_config_aneg, | 2364 | .config_aneg = &m88e1510_config_aneg, |
2365 | .read_status = &marvell_read_status, | 2365 | .read_status = &marvell_read_status, |
@@ -2378,7 +2378,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2378 | .phy_id = MARVELL_PHY_ID_88E3016, | 2378 | .phy_id = MARVELL_PHY_ID_88E3016, |
2379 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2379 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2380 | .name = "Marvell 88E3016", | 2380 | .name = "Marvell 88E3016", |
2381 | .features = PHY_BASIC_FEATURES, | 2381 | /* PHY_BASIC_FEATURES */ |
2382 | .probe = marvell_probe, | 2382 | .probe = marvell_probe, |
2383 | .config_init = &m88e3016_config_init, | 2383 | .config_init = &m88e3016_config_init, |
2384 | .aneg_done = &marvell_aneg_done, | 2384 | .aneg_done = &marvell_aneg_done, |
@@ -2398,7 +2398,7 @@ static struct phy_driver marvell_drivers[] = { | |||
2398 | .phy_id = MARVELL_PHY_ID_88E6390, | 2398 | .phy_id = MARVELL_PHY_ID_88E6390, |
2399 | .phy_id_mask = MARVELL_PHY_ID_MASK, | 2399 | .phy_id_mask = MARVELL_PHY_ID_MASK, |
2400 | .name = "Marvell 88E6390", | 2400 | .name = "Marvell 88E6390", |
2401 | .features = PHY_GBIT_FEATURES, | 2401 | /* PHY_GBIT_FEATURES */ |
2402 | .probe = m88e6390_probe, | 2402 | .probe = m88e6390_probe, |
2403 | .config_init = &marvell_config_init, | 2403 | .config_init = &marvell_config_init, |
2404 | .config_aneg = &m88e6390_config_aneg, | 2404 | .config_aneg = &m88e6390_config_aneg, |
diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c index 6d4a8c508ec0..fa80d6dce8ee 100644 --- a/drivers/net/phy/meson-gxl.c +++ b/drivers/net/phy/meson-gxl.c | |||
@@ -226,7 +226,7 @@ static struct phy_driver meson_gxl_phy[] = { | |||
226 | { | 226 | { |
227 | PHY_ID_MATCH_EXACT(0x01814400), | 227 | PHY_ID_MATCH_EXACT(0x01814400), |
228 | .name = "Meson GXL Internal PHY", | 228 | .name = "Meson GXL Internal PHY", |
229 | .features = PHY_BASIC_FEATURES, | 229 | /* PHY_BASIC_FEATURES */ |
230 | .flags = PHY_IS_INTERNAL, | 230 | .flags = PHY_IS_INTERNAL, |
231 | .soft_reset = genphy_soft_reset, | 231 | .soft_reset = genphy_soft_reset, |
232 | .config_init = meson_gxl_config_init, | 232 | .config_init = meson_gxl_config_init, |
@@ -238,7 +238,7 @@ static struct phy_driver meson_gxl_phy[] = { | |||
238 | }, { | 238 | }, { |
239 | PHY_ID_MATCH_EXACT(0x01803301), | 239 | PHY_ID_MATCH_EXACT(0x01803301), |
240 | .name = "Meson G12A Internal PHY", | 240 | .name = "Meson G12A Internal PHY", |
241 | .features = PHY_BASIC_FEATURES, | 241 | /* PHY_BASIC_FEATURES */ |
242 | .flags = PHY_IS_INTERNAL, | 242 | .flags = PHY_IS_INTERNAL, |
243 | .soft_reset = genphy_soft_reset, | 243 | .soft_reset = genphy_soft_reset, |
244 | .ack_interrupt = meson_gxl_ack_interrupt, | 244 | .ack_interrupt = meson_gxl_ack_interrupt, |
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 352da24f1f33..d6807b5bcd97 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c | |||
@@ -908,7 +908,7 @@ static struct phy_driver ksphy_driver[] = { | |||
908 | .phy_id = PHY_ID_KS8737, | 908 | .phy_id = PHY_ID_KS8737, |
909 | .phy_id_mask = MICREL_PHY_ID_MASK, | 909 | .phy_id_mask = MICREL_PHY_ID_MASK, |
910 | .name = "Micrel KS8737", | 910 | .name = "Micrel KS8737", |
911 | .features = PHY_BASIC_FEATURES, | 911 | /* PHY_BASIC_FEATURES */ |
912 | .driver_data = &ks8737_type, | 912 | .driver_data = &ks8737_type, |
913 | .config_init = kszphy_config_init, | 913 | .config_init = kszphy_config_init, |
914 | .ack_interrupt = kszphy_ack_interrupt, | 914 | .ack_interrupt = kszphy_ack_interrupt, |
@@ -919,7 +919,7 @@ static struct phy_driver ksphy_driver[] = { | |||
919 | .phy_id = PHY_ID_KSZ8021, | 919 | .phy_id = PHY_ID_KSZ8021, |
920 | .phy_id_mask = 0x00ffffff, | 920 | .phy_id_mask = 0x00ffffff, |
921 | .name = "Micrel KSZ8021 or KSZ8031", | 921 | .name = "Micrel KSZ8021 or KSZ8031", |
922 | .features = PHY_BASIC_FEATURES, | 922 | /* PHY_BASIC_FEATURES */ |
923 | .driver_data = &ksz8021_type, | 923 | .driver_data = &ksz8021_type, |
924 | .probe = kszphy_probe, | 924 | .probe = kszphy_probe, |
925 | .config_init = kszphy_config_init, | 925 | .config_init = kszphy_config_init, |
@@ -934,7 +934,7 @@ static struct phy_driver ksphy_driver[] = { | |||
934 | .phy_id = PHY_ID_KSZ8031, | 934 | .phy_id = PHY_ID_KSZ8031, |
935 | .phy_id_mask = 0x00ffffff, | 935 | .phy_id_mask = 0x00ffffff, |
936 | .name = "Micrel KSZ8031", | 936 | .name = "Micrel KSZ8031", |
937 | .features = PHY_BASIC_FEATURES, | 937 | /* PHY_BASIC_FEATURES */ |
938 | .driver_data = &ksz8021_type, | 938 | .driver_data = &ksz8021_type, |
939 | .probe = kszphy_probe, | 939 | .probe = kszphy_probe, |
940 | .config_init = kszphy_config_init, | 940 | .config_init = kszphy_config_init, |
@@ -949,7 +949,7 @@ static struct phy_driver ksphy_driver[] = { | |||
949 | .phy_id = PHY_ID_KSZ8041, | 949 | .phy_id = PHY_ID_KSZ8041, |
950 | .phy_id_mask = MICREL_PHY_ID_MASK, | 950 | .phy_id_mask = MICREL_PHY_ID_MASK, |
951 | .name = "Micrel KSZ8041", | 951 | .name = "Micrel KSZ8041", |
952 | .features = PHY_BASIC_FEATURES, | 952 | /* PHY_BASIC_FEATURES */ |
953 | .driver_data = &ksz8041_type, | 953 | .driver_data = &ksz8041_type, |
954 | .probe = kszphy_probe, | 954 | .probe = kszphy_probe, |
955 | .config_init = ksz8041_config_init, | 955 | .config_init = ksz8041_config_init, |
@@ -965,7 +965,7 @@ static struct phy_driver ksphy_driver[] = { | |||
965 | .phy_id = PHY_ID_KSZ8041RNLI, | 965 | .phy_id = PHY_ID_KSZ8041RNLI, |
966 | .phy_id_mask = MICREL_PHY_ID_MASK, | 966 | .phy_id_mask = MICREL_PHY_ID_MASK, |
967 | .name = "Micrel KSZ8041RNLI", | 967 | .name = "Micrel KSZ8041RNLI", |
968 | .features = PHY_BASIC_FEATURES, | 968 | /* PHY_BASIC_FEATURES */ |
969 | .driver_data = &ksz8041_type, | 969 | .driver_data = &ksz8041_type, |
970 | .probe = kszphy_probe, | 970 | .probe = kszphy_probe, |
971 | .config_init = kszphy_config_init, | 971 | .config_init = kszphy_config_init, |
@@ -980,7 +980,7 @@ static struct phy_driver ksphy_driver[] = { | |||
980 | .phy_id = PHY_ID_KSZ8051, | 980 | .phy_id = PHY_ID_KSZ8051, |
981 | .phy_id_mask = MICREL_PHY_ID_MASK, | 981 | .phy_id_mask = MICREL_PHY_ID_MASK, |
982 | .name = "Micrel KSZ8051", | 982 | .name = "Micrel KSZ8051", |
983 | .features = PHY_BASIC_FEATURES, | 983 | /* PHY_BASIC_FEATURES */ |
984 | .driver_data = &ksz8051_type, | 984 | .driver_data = &ksz8051_type, |
985 | .probe = kszphy_probe, | 985 | .probe = kszphy_probe, |
986 | .config_init = kszphy_config_init, | 986 | .config_init = kszphy_config_init, |
@@ -995,7 +995,7 @@ static struct phy_driver ksphy_driver[] = { | |||
995 | .phy_id = PHY_ID_KSZ8001, | 995 | .phy_id = PHY_ID_KSZ8001, |
996 | .name = "Micrel KSZ8001 or KS8721", | 996 | .name = "Micrel KSZ8001 or KS8721", |
997 | .phy_id_mask = 0x00fffffc, | 997 | .phy_id_mask = 0x00fffffc, |
998 | .features = PHY_BASIC_FEATURES, | 998 | /* PHY_BASIC_FEATURES */ |
999 | .driver_data = &ksz8041_type, | 999 | .driver_data = &ksz8041_type, |
1000 | .probe = kszphy_probe, | 1000 | .probe = kszphy_probe, |
1001 | .config_init = kszphy_config_init, | 1001 | .config_init = kszphy_config_init, |
@@ -1010,7 +1010,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1010 | .phy_id = PHY_ID_KSZ8081, | 1010 | .phy_id = PHY_ID_KSZ8081, |
1011 | .name = "Micrel KSZ8081 or KSZ8091", | 1011 | .name = "Micrel KSZ8081 or KSZ8091", |
1012 | .phy_id_mask = MICREL_PHY_ID_MASK, | 1012 | .phy_id_mask = MICREL_PHY_ID_MASK, |
1013 | .features = PHY_BASIC_FEATURES, | 1013 | /* PHY_BASIC_FEATURES */ |
1014 | .driver_data = &ksz8081_type, | 1014 | .driver_data = &ksz8081_type, |
1015 | .probe = kszphy_probe, | 1015 | .probe = kszphy_probe, |
1016 | .config_init = kszphy_config_init, | 1016 | .config_init = kszphy_config_init, |
@@ -1025,7 +1025,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1025 | .phy_id = PHY_ID_KSZ8061, | 1025 | .phy_id = PHY_ID_KSZ8061, |
1026 | .name = "Micrel KSZ8061", | 1026 | .name = "Micrel KSZ8061", |
1027 | .phy_id_mask = MICREL_PHY_ID_MASK, | 1027 | .phy_id_mask = MICREL_PHY_ID_MASK, |
1028 | .features = PHY_BASIC_FEATURES, | 1028 | /* PHY_BASIC_FEATURES */ |
1029 | .config_init = ksz8061_config_init, | 1029 | .config_init = ksz8061_config_init, |
1030 | .ack_interrupt = kszphy_ack_interrupt, | 1030 | .ack_interrupt = kszphy_ack_interrupt, |
1031 | .config_intr = kszphy_config_intr, | 1031 | .config_intr = kszphy_config_intr, |
@@ -1035,7 +1035,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1035 | .phy_id = PHY_ID_KSZ9021, | 1035 | .phy_id = PHY_ID_KSZ9021, |
1036 | .phy_id_mask = 0x000ffffe, | 1036 | .phy_id_mask = 0x000ffffe, |
1037 | .name = "Micrel KSZ9021 Gigabit PHY", | 1037 | .name = "Micrel KSZ9021 Gigabit PHY", |
1038 | .features = PHY_GBIT_FEATURES, | 1038 | /* PHY_GBIT_FEATURES */ |
1039 | .driver_data = &ksz9021_type, | 1039 | .driver_data = &ksz9021_type, |
1040 | .probe = kszphy_probe, | 1040 | .probe = kszphy_probe, |
1041 | .config_init = ksz9021_config_init, | 1041 | .config_init = ksz9021_config_init, |
@@ -1052,7 +1052,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1052 | .phy_id = PHY_ID_KSZ9031, | 1052 | .phy_id = PHY_ID_KSZ9031, |
1053 | .phy_id_mask = MICREL_PHY_ID_MASK, | 1053 | .phy_id_mask = MICREL_PHY_ID_MASK, |
1054 | .name = "Micrel KSZ9031 Gigabit PHY", | 1054 | .name = "Micrel KSZ9031 Gigabit PHY", |
1055 | .features = PHY_GBIT_FEATURES, | 1055 | /* PHY_GBIT_FEATURES */ |
1056 | .driver_data = &ksz9021_type, | 1056 | .driver_data = &ksz9021_type, |
1057 | .probe = kszphy_probe, | 1057 | .probe = kszphy_probe, |
1058 | .config_init = ksz9031_config_init, | 1058 | .config_init = ksz9031_config_init, |
@@ -1069,7 +1069,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1069 | .phy_id = PHY_ID_KSZ9131, | 1069 | .phy_id = PHY_ID_KSZ9131, |
1070 | .phy_id_mask = MICREL_PHY_ID_MASK, | 1070 | .phy_id_mask = MICREL_PHY_ID_MASK, |
1071 | .name = "Microchip KSZ9131 Gigabit PHY", | 1071 | .name = "Microchip KSZ9131 Gigabit PHY", |
1072 | .features = PHY_GBIT_FEATURES, | 1072 | /* PHY_GBIT_FEATURES */ |
1073 | .driver_data = &ksz9021_type, | 1073 | .driver_data = &ksz9021_type, |
1074 | .probe = kszphy_probe, | 1074 | .probe = kszphy_probe, |
1075 | .config_init = ksz9131_config_init, | 1075 | .config_init = ksz9131_config_init, |
@@ -1085,7 +1085,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1085 | .phy_id = PHY_ID_KSZ8873MLL, | 1085 | .phy_id = PHY_ID_KSZ8873MLL, |
1086 | .phy_id_mask = MICREL_PHY_ID_MASK, | 1086 | .phy_id_mask = MICREL_PHY_ID_MASK, |
1087 | .name = "Micrel KSZ8873MLL Switch", | 1087 | .name = "Micrel KSZ8873MLL Switch", |
1088 | .features = PHY_BASIC_FEATURES, | 1088 | /* PHY_BASIC_FEATURES */ |
1089 | .config_init = kszphy_config_init, | 1089 | .config_init = kszphy_config_init, |
1090 | .config_aneg = ksz8873mll_config_aneg, | 1090 | .config_aneg = ksz8873mll_config_aneg, |
1091 | .read_status = ksz8873mll_read_status, | 1091 | .read_status = ksz8873mll_read_status, |
@@ -1095,7 +1095,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1095 | .phy_id = PHY_ID_KSZ886X, | 1095 | .phy_id = PHY_ID_KSZ886X, |
1096 | .phy_id_mask = MICREL_PHY_ID_MASK, | 1096 | .phy_id_mask = MICREL_PHY_ID_MASK, |
1097 | .name = "Micrel KSZ886X Switch", | 1097 | .name = "Micrel KSZ886X Switch", |
1098 | .features = PHY_BASIC_FEATURES, | 1098 | /* PHY_BASIC_FEATURES */ |
1099 | .config_init = kszphy_config_init, | 1099 | .config_init = kszphy_config_init, |
1100 | .suspend = genphy_suspend, | 1100 | .suspend = genphy_suspend, |
1101 | .resume = genphy_resume, | 1101 | .resume = genphy_resume, |
@@ -1103,7 +1103,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1103 | .phy_id = PHY_ID_KSZ8795, | 1103 | .phy_id = PHY_ID_KSZ8795, |
1104 | .phy_id_mask = MICREL_PHY_ID_MASK, | 1104 | .phy_id_mask = MICREL_PHY_ID_MASK, |
1105 | .name = "Micrel KSZ8795", | 1105 | .name = "Micrel KSZ8795", |
1106 | .features = PHY_BASIC_FEATURES, | 1106 | /* PHY_BASIC_FEATURES */ |
1107 | .config_init = kszphy_config_init, | 1107 | .config_init = kszphy_config_init, |
1108 | .config_aneg = ksz8873mll_config_aneg, | 1108 | .config_aneg = ksz8873mll_config_aneg, |
1109 | .read_status = ksz8873mll_read_status, | 1109 | .read_status = ksz8873mll_read_status, |
@@ -1113,7 +1113,7 @@ static struct phy_driver ksphy_driver[] = { | |||
1113 | .phy_id = PHY_ID_KSZ9477, | 1113 | .phy_id = PHY_ID_KSZ9477, |
1114 | .phy_id_mask = MICREL_PHY_ID_MASK, | 1114 | .phy_id_mask = MICREL_PHY_ID_MASK, |
1115 | .name = "Microchip KSZ9477", | 1115 | .name = "Microchip KSZ9477", |
1116 | .features = PHY_GBIT_FEATURES, | 1116 | /* PHY_GBIT_FEATURES */ |
1117 | .config_init = kszphy_config_init, | 1117 | .config_init = kszphy_config_init, |
1118 | .suspend = genphy_suspend, | 1118 | .suspend = genphy_suspend, |
1119 | .resume = genphy_resume, | 1119 | .resume = genphy_resume, |
diff --git a/drivers/net/phy/microchip.c b/drivers/net/phy/microchip.c index c6cbb3aa8ae0..eb1b3287fe08 100644 --- a/drivers/net/phy/microchip.c +++ b/drivers/net/phy/microchip.c | |||
@@ -333,7 +333,7 @@ static struct phy_driver microchip_phy_driver[] = { | |||
333 | .phy_id_mask = 0xfffffff0, | 333 | .phy_id_mask = 0xfffffff0, |
334 | .name = "Microchip LAN88xx", | 334 | .name = "Microchip LAN88xx", |
335 | 335 | ||
336 | .features = PHY_GBIT_FEATURES, | 336 | /* PHY_GBIT_FEATURES */ |
337 | 337 | ||
338 | .probe = lan88xx_probe, | 338 | .probe = lan88xx_probe, |
339 | .remove = lan88xx_remove, | 339 | .remove = lan88xx_remove, |
diff --git a/drivers/net/phy/mscc.c b/drivers/net/phy/mscc.c index db50efb30df5..623313f077d1 100644 --- a/drivers/net/phy/mscc.c +++ b/drivers/net/phy/mscc.c | |||
@@ -1882,7 +1882,7 @@ static struct phy_driver vsc85xx_driver[] = { | |||
1882 | .phy_id = PHY_ID_VSC8530, | 1882 | .phy_id = PHY_ID_VSC8530, |
1883 | .name = "Microsemi FE VSC8530", | 1883 | .name = "Microsemi FE VSC8530", |
1884 | .phy_id_mask = 0xfffffff0, | 1884 | .phy_id_mask = 0xfffffff0, |
1885 | .features = PHY_BASIC_FEATURES, | 1885 | /* PHY_BASIC_FEATURES */ |
1886 | .soft_reset = &genphy_soft_reset, | 1886 | .soft_reset = &genphy_soft_reset, |
1887 | .config_init = &vsc85xx_config_init, | 1887 | .config_init = &vsc85xx_config_init, |
1888 | .config_aneg = &vsc85xx_config_aneg, | 1888 | .config_aneg = &vsc85xx_config_aneg, |
@@ -1907,7 +1907,7 @@ static struct phy_driver vsc85xx_driver[] = { | |||
1907 | .phy_id = PHY_ID_VSC8531, | 1907 | .phy_id = PHY_ID_VSC8531, |
1908 | .name = "Microsemi VSC8531", | 1908 | .name = "Microsemi VSC8531", |
1909 | .phy_id_mask = 0xfffffff0, | 1909 | .phy_id_mask = 0xfffffff0, |
1910 | .features = PHY_GBIT_FEATURES, | 1910 | /* PHY_GBIT_FEATURES */ |
1911 | .soft_reset = &genphy_soft_reset, | 1911 | .soft_reset = &genphy_soft_reset, |
1912 | .config_init = &vsc85xx_config_init, | 1912 | .config_init = &vsc85xx_config_init, |
1913 | .config_aneg = &vsc85xx_config_aneg, | 1913 | .config_aneg = &vsc85xx_config_aneg, |
@@ -1932,7 +1932,7 @@ static struct phy_driver vsc85xx_driver[] = { | |||
1932 | .phy_id = PHY_ID_VSC8540, | 1932 | .phy_id = PHY_ID_VSC8540, |
1933 | .name = "Microsemi FE VSC8540 SyncE", | 1933 | .name = "Microsemi FE VSC8540 SyncE", |
1934 | .phy_id_mask = 0xfffffff0, | 1934 | .phy_id_mask = 0xfffffff0, |
1935 | .features = PHY_BASIC_FEATURES, | 1935 | /* PHY_BASIC_FEATURES */ |
1936 | .soft_reset = &genphy_soft_reset, | 1936 | .soft_reset = &genphy_soft_reset, |
1937 | .config_init = &vsc85xx_config_init, | 1937 | .config_init = &vsc85xx_config_init, |
1938 | .config_aneg = &vsc85xx_config_aneg, | 1938 | .config_aneg = &vsc85xx_config_aneg, |
@@ -1957,7 +1957,7 @@ static struct phy_driver vsc85xx_driver[] = { | |||
1957 | .phy_id = PHY_ID_VSC8541, | 1957 | .phy_id = PHY_ID_VSC8541, |
1958 | .name = "Microsemi VSC8541 SyncE", | 1958 | .name = "Microsemi VSC8541 SyncE", |
1959 | .phy_id_mask = 0xfffffff0, | 1959 | .phy_id_mask = 0xfffffff0, |
1960 | .features = PHY_GBIT_FEATURES, | 1960 | /* PHY_GBIT_FEATURES */ |
1961 | .soft_reset = &genphy_soft_reset, | 1961 | .soft_reset = &genphy_soft_reset, |
1962 | .config_init = &vsc85xx_config_init, | 1962 | .config_init = &vsc85xx_config_init, |
1963 | .config_aneg = &vsc85xx_config_aneg, | 1963 | .config_aneg = &vsc85xx_config_aneg, |
@@ -1982,7 +1982,7 @@ static struct phy_driver vsc85xx_driver[] = { | |||
1982 | .phy_id = PHY_ID_VSC8574, | 1982 | .phy_id = PHY_ID_VSC8574, |
1983 | .name = "Microsemi GE VSC8574 SyncE", | 1983 | .name = "Microsemi GE VSC8574 SyncE", |
1984 | .phy_id_mask = 0xfffffff0, | 1984 | .phy_id_mask = 0xfffffff0, |
1985 | .features = PHY_GBIT_FEATURES, | 1985 | /* PHY_GBIT_FEATURES */ |
1986 | .soft_reset = &genphy_soft_reset, | 1986 | .soft_reset = &genphy_soft_reset, |
1987 | .config_init = &vsc8584_config_init, | 1987 | .config_init = &vsc8584_config_init, |
1988 | .config_aneg = &vsc85xx_config_aneg, | 1988 | .config_aneg = &vsc85xx_config_aneg, |
@@ -2008,7 +2008,7 @@ static struct phy_driver vsc85xx_driver[] = { | |||
2008 | .phy_id = PHY_ID_VSC8584, | 2008 | .phy_id = PHY_ID_VSC8584, |
2009 | .name = "Microsemi GE VSC8584 SyncE", | 2009 | .name = "Microsemi GE VSC8584 SyncE", |
2010 | .phy_id_mask = 0xfffffff0, | 2010 | .phy_id_mask = 0xfffffff0, |
2011 | .features = PHY_GBIT_FEATURES, | 2011 | /* PHY_GBIT_FEATURES */ |
2012 | .soft_reset = &genphy_soft_reset, | 2012 | .soft_reset = &genphy_soft_reset, |
2013 | .config_init = &vsc8584_config_init, | 2013 | .config_init = &vsc8584_config_init, |
2014 | .config_aneg = &vsc85xx_config_aneg, | 2014 | .config_aneg = &vsc85xx_config_aneg, |
diff --git a/drivers/net/phy/national.c b/drivers/net/phy/national.c index 42282a86b680..a221dd552c3c 100644 --- a/drivers/net/phy/national.c +++ b/drivers/net/phy/national.c | |||
@@ -128,7 +128,7 @@ static struct phy_driver dp83865_driver[] = { { | |||
128 | .phy_id = DP83865_PHY_ID, | 128 | .phy_id = DP83865_PHY_ID, |
129 | .phy_id_mask = 0xfffffff0, | 129 | .phy_id_mask = 0xfffffff0, |
130 | .name = "NatSemi DP83865", | 130 | .name = "NatSemi DP83865", |
131 | .features = PHY_GBIT_FEATURES, | 131 | /* PHY_GBIT_FEATURES */ |
132 | .config_init = ns_config_init, | 132 | .config_init = ns_config_init, |
133 | .ack_interrupt = ns_ack_interrupt, | 133 | .ack_interrupt = ns_ack_interrupt, |
134 | .config_intr = ns_config_intr, | 134 | .config_intr = ns_config_intr, |
diff --git a/drivers/net/phy/qsemi.c b/drivers/net/phy/qsemi.c index 5486f6fb2ab2..1b15a991ee06 100644 --- a/drivers/net/phy/qsemi.c +++ b/drivers/net/phy/qsemi.c | |||
@@ -110,7 +110,7 @@ static struct phy_driver qs6612_driver[] = { { | |||
110 | .phy_id = 0x00181440, | 110 | .phy_id = 0x00181440, |
111 | .name = "QS6612", | 111 | .name = "QS6612", |
112 | .phy_id_mask = 0xfffffff0, | 112 | .phy_id_mask = 0xfffffff0, |
113 | .features = PHY_BASIC_FEATURES, | 113 | /* PHY_BASIC_FEATURES */ |
114 | .config_init = qs6612_config_init, | 114 | .config_init = qs6612_config_init, |
115 | .ack_interrupt = qs6612_ack_interrupt, | 115 | .ack_interrupt = qs6612_ack_interrupt, |
116 | .config_intr = qs6612_config_intr, | 116 | .config_intr = qs6612_config_intr, |
diff --git a/drivers/net/phy/rockchip.c b/drivers/net/phy/rockchip.c index 9053b1d01906..52f1f65320fe 100644 --- a/drivers/net/phy/rockchip.c +++ b/drivers/net/phy/rockchip.c | |||
@@ -175,7 +175,7 @@ static struct phy_driver rockchip_phy_driver[] = { | |||
175 | .phy_id = INTERNAL_EPHY_ID, | 175 | .phy_id = INTERNAL_EPHY_ID, |
176 | .phy_id_mask = 0xfffffff0, | 176 | .phy_id_mask = 0xfffffff0, |
177 | .name = "Rockchip integrated EPHY", | 177 | .name = "Rockchip integrated EPHY", |
178 | .features = PHY_BASIC_FEATURES, | 178 | /* PHY_BASIC_FEATURES */ |
179 | .flags = 0, | 179 | .flags = 0, |
180 | .link_change_notify = rockchip_link_change_notify, | 180 | .link_change_notify = rockchip_link_change_notify, |
181 | .soft_reset = genphy_soft_reset, | 181 | .soft_reset = genphy_soft_reset, |
diff --git a/drivers/net/phy/smsc.c b/drivers/net/phy/smsc.c index c94d3bfbc772..dc3d92d340c4 100644 --- a/drivers/net/phy/smsc.c +++ b/drivers/net/phy/smsc.c | |||
@@ -214,7 +214,7 @@ static struct phy_driver smsc_phy_driver[] = { | |||
214 | .phy_id_mask = 0xfffffff0, | 214 | .phy_id_mask = 0xfffffff0, |
215 | .name = "SMSC LAN83C185", | 215 | .name = "SMSC LAN83C185", |
216 | 216 | ||
217 | .features = PHY_BASIC_FEATURES, | 217 | /* PHY_BASIC_FEATURES */ |
218 | 218 | ||
219 | .probe = smsc_phy_probe, | 219 | .probe = smsc_phy_probe, |
220 | 220 | ||
@@ -233,7 +233,7 @@ static struct phy_driver smsc_phy_driver[] = { | |||
233 | .phy_id_mask = 0xfffffff0, | 233 | .phy_id_mask = 0xfffffff0, |
234 | .name = "SMSC LAN8187", | 234 | .name = "SMSC LAN8187", |
235 | 235 | ||
236 | .features = PHY_BASIC_FEATURES, | 236 | /* PHY_BASIC_FEATURES */ |
237 | 237 | ||
238 | .probe = smsc_phy_probe, | 238 | .probe = smsc_phy_probe, |
239 | 239 | ||
@@ -257,7 +257,7 @@ static struct phy_driver smsc_phy_driver[] = { | |||
257 | .phy_id_mask = 0xfffffff0, | 257 | .phy_id_mask = 0xfffffff0, |
258 | .name = "SMSC LAN8700", | 258 | .name = "SMSC LAN8700", |
259 | 259 | ||
260 | .features = PHY_BASIC_FEATURES, | 260 | /* PHY_BASIC_FEATURES */ |
261 | 261 | ||
262 | .probe = smsc_phy_probe, | 262 | .probe = smsc_phy_probe, |
263 | 263 | ||
@@ -282,7 +282,7 @@ static struct phy_driver smsc_phy_driver[] = { | |||
282 | .phy_id_mask = 0xfffffff0, | 282 | .phy_id_mask = 0xfffffff0, |
283 | .name = "SMSC LAN911x Internal PHY", | 283 | .name = "SMSC LAN911x Internal PHY", |
284 | 284 | ||
285 | .features = PHY_BASIC_FEATURES, | 285 | /* PHY_BASIC_FEATURES */ |
286 | 286 | ||
287 | .probe = smsc_phy_probe, | 287 | .probe = smsc_phy_probe, |
288 | 288 | ||
@@ -300,7 +300,7 @@ static struct phy_driver smsc_phy_driver[] = { | |||
300 | .phy_id_mask = 0xfffffff0, | 300 | .phy_id_mask = 0xfffffff0, |
301 | .name = "SMSC LAN8710/LAN8720", | 301 | .name = "SMSC LAN8710/LAN8720", |
302 | 302 | ||
303 | .features = PHY_BASIC_FEATURES, | 303 | /* PHY_BASIC_FEATURES */ |
304 | .flags = PHY_RST_AFTER_CLK_EN, | 304 | .flags = PHY_RST_AFTER_CLK_EN, |
305 | 305 | ||
306 | .probe = smsc_phy_probe, | 306 | .probe = smsc_phy_probe, |
@@ -326,7 +326,7 @@ static struct phy_driver smsc_phy_driver[] = { | |||
326 | .phy_id_mask = 0xfffffff0, | 326 | .phy_id_mask = 0xfffffff0, |
327 | .name = "SMSC LAN8740", | 327 | .name = "SMSC LAN8740", |
328 | 328 | ||
329 | .features = PHY_BASIC_FEATURES, | 329 | /* PHY_BASIC_FEATURES */ |
330 | 330 | ||
331 | .probe = smsc_phy_probe, | 331 | .probe = smsc_phy_probe, |
332 | 332 | ||
diff --git a/drivers/net/phy/ste10Xp.c b/drivers/net/phy/ste10Xp.c index 5b6acf431f98..d735a01380ed 100644 --- a/drivers/net/phy/ste10Xp.c +++ b/drivers/net/phy/ste10Xp.c | |||
@@ -81,7 +81,7 @@ static struct phy_driver ste10xp_pdriver[] = { | |||
81 | .phy_id = STE101P_PHY_ID, | 81 | .phy_id = STE101P_PHY_ID, |
82 | .phy_id_mask = 0xfffffff0, | 82 | .phy_id_mask = 0xfffffff0, |
83 | .name = "STe101p", | 83 | .name = "STe101p", |
84 | .features = PHY_BASIC_FEATURES, | 84 | /* PHY_BASIC_FEATURES */ |
85 | .config_init = ste10Xp_config_init, | 85 | .config_init = ste10Xp_config_init, |
86 | .ack_interrupt = ste10Xp_ack_interrupt, | 86 | .ack_interrupt = ste10Xp_ack_interrupt, |
87 | .config_intr = ste10Xp_config_intr, | 87 | .config_intr = ste10Xp_config_intr, |
@@ -91,7 +91,7 @@ static struct phy_driver ste10xp_pdriver[] = { | |||
91 | .phy_id = STE100P_PHY_ID, | 91 | .phy_id = STE100P_PHY_ID, |
92 | .phy_id_mask = 0xffffffff, | 92 | .phy_id_mask = 0xffffffff, |
93 | .name = "STe100p", | 93 | .name = "STe100p", |
94 | .features = PHY_BASIC_FEATURES, | 94 | /* PHY_BASIC_FEATURES */ |
95 | .config_init = ste10Xp_config_init, | 95 | .config_init = ste10Xp_config_init, |
96 | .ack_interrupt = ste10Xp_ack_interrupt, | 96 | .ack_interrupt = ste10Xp_ack_interrupt, |
97 | .config_intr = ste10Xp_config_intr, | 97 | .config_intr = ste10Xp_config_intr, |
diff --git a/drivers/net/phy/uPD60620.c b/drivers/net/phy/uPD60620.c index 219fc7cdc2b3..a32b3fd8a370 100644 --- a/drivers/net/phy/uPD60620.c +++ b/drivers/net/phy/uPD60620.c | |||
@@ -87,7 +87,7 @@ static struct phy_driver upd60620_driver[1] = { { | |||
87 | .phy_id = UPD60620_PHY_ID, | 87 | .phy_id = UPD60620_PHY_ID, |
88 | .phy_id_mask = 0xfffffffe, | 88 | .phy_id_mask = 0xfffffffe, |
89 | .name = "Renesas uPD60620", | 89 | .name = "Renesas uPD60620", |
90 | .features = PHY_BASIC_FEATURES, | 90 | /* PHY_BASIC_FEATURES */ |
91 | .flags = 0, | 91 | .flags = 0, |
92 | .config_init = upd60620_config_init, | 92 | .config_init = upd60620_config_init, |
93 | .read_status = upd60620_read_status, | 93 | .read_status = upd60620_read_status, |
diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c index dc0dd87a6694..48a881918885 100644 --- a/drivers/net/phy/vitesse.c +++ b/drivers/net/phy/vitesse.c | |||
@@ -389,7 +389,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
389 | .phy_id = PHY_ID_VSC8234, | 389 | .phy_id = PHY_ID_VSC8234, |
390 | .name = "Vitesse VSC8234", | 390 | .name = "Vitesse VSC8234", |
391 | .phy_id_mask = 0x000ffff0, | 391 | .phy_id_mask = 0x000ffff0, |
392 | .features = PHY_GBIT_FEATURES, | 392 | /* PHY_GBIT_FEATURES */ |
393 | .config_init = &vsc824x_config_init, | 393 | .config_init = &vsc824x_config_init, |
394 | .config_aneg = &vsc82x4_config_aneg, | 394 | .config_aneg = &vsc82x4_config_aneg, |
395 | .ack_interrupt = &vsc824x_ack_interrupt, | 395 | .ack_interrupt = &vsc824x_ack_interrupt, |
@@ -398,7 +398,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
398 | .phy_id = PHY_ID_VSC8244, | 398 | .phy_id = PHY_ID_VSC8244, |
399 | .name = "Vitesse VSC8244", | 399 | .name = "Vitesse VSC8244", |
400 | .phy_id_mask = 0x000fffc0, | 400 | .phy_id_mask = 0x000fffc0, |
401 | .features = PHY_GBIT_FEATURES, | 401 | /* PHY_GBIT_FEATURES */ |
402 | .config_init = &vsc824x_config_init, | 402 | .config_init = &vsc824x_config_init, |
403 | .config_aneg = &vsc82x4_config_aneg, | 403 | .config_aneg = &vsc82x4_config_aneg, |
404 | .ack_interrupt = &vsc824x_ack_interrupt, | 404 | .ack_interrupt = &vsc824x_ack_interrupt, |
@@ -416,7 +416,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
416 | .phy_id = PHY_ID_VSC8572, | 416 | .phy_id = PHY_ID_VSC8572, |
417 | .name = "Vitesse VSC8572", | 417 | .name = "Vitesse VSC8572", |
418 | .phy_id_mask = 0x000ffff0, | 418 | .phy_id_mask = 0x000ffff0, |
419 | .features = PHY_GBIT_FEATURES, | 419 | /* PHY_GBIT_FEATURES */ |
420 | .config_init = &vsc824x_config_init, | 420 | .config_init = &vsc824x_config_init, |
421 | .config_aneg = &vsc82x4_config_aneg, | 421 | .config_aneg = &vsc82x4_config_aneg, |
422 | .ack_interrupt = &vsc824x_ack_interrupt, | 422 | .ack_interrupt = &vsc824x_ack_interrupt, |
@@ -425,7 +425,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
425 | .phy_id = PHY_ID_VSC8601, | 425 | .phy_id = PHY_ID_VSC8601, |
426 | .name = "Vitesse VSC8601", | 426 | .name = "Vitesse VSC8601", |
427 | .phy_id_mask = 0x000ffff0, | 427 | .phy_id_mask = 0x000ffff0, |
428 | .features = PHY_GBIT_FEATURES, | 428 | /* PHY_GBIT_FEATURES */ |
429 | .config_init = &vsc8601_config_init, | 429 | .config_init = &vsc8601_config_init, |
430 | .ack_interrupt = &vsc824x_ack_interrupt, | 430 | .ack_interrupt = &vsc824x_ack_interrupt, |
431 | .config_intr = &vsc82xx_config_intr, | 431 | .config_intr = &vsc82xx_config_intr, |
@@ -433,7 +433,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
433 | .phy_id = PHY_ID_VSC7385, | 433 | .phy_id = PHY_ID_VSC7385, |
434 | .name = "Vitesse VSC7385", | 434 | .name = "Vitesse VSC7385", |
435 | .phy_id_mask = 0x000ffff0, | 435 | .phy_id_mask = 0x000ffff0, |
436 | .features = PHY_GBIT_FEATURES, | 436 | /* PHY_GBIT_FEATURES */ |
437 | .config_init = vsc738x_config_init, | 437 | .config_init = vsc738x_config_init, |
438 | .config_aneg = vsc73xx_config_aneg, | 438 | .config_aneg = vsc73xx_config_aneg, |
439 | .read_page = vsc73xx_read_page, | 439 | .read_page = vsc73xx_read_page, |
@@ -442,7 +442,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
442 | .phy_id = PHY_ID_VSC7388, | 442 | .phy_id = PHY_ID_VSC7388, |
443 | .name = "Vitesse VSC7388", | 443 | .name = "Vitesse VSC7388", |
444 | .phy_id_mask = 0x000ffff0, | 444 | .phy_id_mask = 0x000ffff0, |
445 | .features = PHY_GBIT_FEATURES, | 445 | /* PHY_GBIT_FEATURES */ |
446 | .config_init = vsc738x_config_init, | 446 | .config_init = vsc738x_config_init, |
447 | .config_aneg = vsc73xx_config_aneg, | 447 | .config_aneg = vsc73xx_config_aneg, |
448 | .read_page = vsc73xx_read_page, | 448 | .read_page = vsc73xx_read_page, |
@@ -451,7 +451,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
451 | .phy_id = PHY_ID_VSC7395, | 451 | .phy_id = PHY_ID_VSC7395, |
452 | .name = "Vitesse VSC7395", | 452 | .name = "Vitesse VSC7395", |
453 | .phy_id_mask = 0x000ffff0, | 453 | .phy_id_mask = 0x000ffff0, |
454 | .features = PHY_GBIT_FEATURES, | 454 | /* PHY_GBIT_FEATURES */ |
455 | .config_init = vsc739x_config_init, | 455 | .config_init = vsc739x_config_init, |
456 | .config_aneg = vsc73xx_config_aneg, | 456 | .config_aneg = vsc73xx_config_aneg, |
457 | .read_page = vsc73xx_read_page, | 457 | .read_page = vsc73xx_read_page, |
@@ -460,7 +460,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
460 | .phy_id = PHY_ID_VSC7398, | 460 | .phy_id = PHY_ID_VSC7398, |
461 | .name = "Vitesse VSC7398", | 461 | .name = "Vitesse VSC7398", |
462 | .phy_id_mask = 0x000ffff0, | 462 | .phy_id_mask = 0x000ffff0, |
463 | .features = PHY_GBIT_FEATURES, | 463 | /* PHY_GBIT_FEATURES */ |
464 | .config_init = vsc739x_config_init, | 464 | .config_init = vsc739x_config_init, |
465 | .config_aneg = vsc73xx_config_aneg, | 465 | .config_aneg = vsc73xx_config_aneg, |
466 | .read_page = vsc73xx_read_page, | 466 | .read_page = vsc73xx_read_page, |
@@ -469,7 +469,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
469 | .phy_id = PHY_ID_VSC8662, | 469 | .phy_id = PHY_ID_VSC8662, |
470 | .name = "Vitesse VSC8662", | 470 | .name = "Vitesse VSC8662", |
471 | .phy_id_mask = 0x000ffff0, | 471 | .phy_id_mask = 0x000ffff0, |
472 | .features = PHY_GBIT_FEATURES, | 472 | /* PHY_GBIT_FEATURES */ |
473 | .config_init = &vsc824x_config_init, | 473 | .config_init = &vsc824x_config_init, |
474 | .config_aneg = &vsc82x4_config_aneg, | 474 | .config_aneg = &vsc82x4_config_aneg, |
475 | .ack_interrupt = &vsc824x_ack_interrupt, | 475 | .ack_interrupt = &vsc824x_ack_interrupt, |
@@ -479,7 +479,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
479 | .phy_id = PHY_ID_VSC8221, | 479 | .phy_id = PHY_ID_VSC8221, |
480 | .phy_id_mask = 0x000ffff0, | 480 | .phy_id_mask = 0x000ffff0, |
481 | .name = "Vitesse VSC8221", | 481 | .name = "Vitesse VSC8221", |
482 | .features = PHY_GBIT_FEATURES, | 482 | /* PHY_GBIT_FEATURES */ |
483 | .config_init = &vsc8221_config_init, | 483 | .config_init = &vsc8221_config_init, |
484 | .ack_interrupt = &vsc824x_ack_interrupt, | 484 | .ack_interrupt = &vsc824x_ack_interrupt, |
485 | .config_intr = &vsc82xx_config_intr, | 485 | .config_intr = &vsc82xx_config_intr, |
@@ -488,7 +488,7 @@ static struct phy_driver vsc82xx_driver[] = { | |||
488 | .phy_id = PHY_ID_VSC8211, | 488 | .phy_id = PHY_ID_VSC8211, |
489 | .phy_id_mask = 0x000ffff0, | 489 | .phy_id_mask = 0x000ffff0, |
490 | .name = "Vitesse VSC8211", | 490 | .name = "Vitesse VSC8211", |
491 | .features = PHY_GBIT_FEATURES, | 491 | /* PHY_GBIT_FEATURES */ |
492 | .config_init = &vsc8221_config_init, | 492 | .config_init = &vsc8221_config_init, |
493 | .ack_interrupt = &vsc824x_ack_interrupt, | 493 | .ack_interrupt = &vsc824x_ack_interrupt, |
494 | .config_intr = &vsc82xx_config_intr, | 494 | .config_intr = &vsc82xx_config_intr, |