diff options
author | Dmitry Baryshkov <dbaryshkov@gmail.com> | 2010-06-16 19:02:23 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-25 00:30:09 -0400 |
commit | fcb26ec5b18d88bb22366799d056dc3630d0e895 (patch) | |
tree | ba164d38c89938e4f39d4d41dacddd1f2fd144c2 /drivers/net/phy | |
parent | deb0d7c740a008a4e26806317497549b0e8907eb (diff) |
broadcom: move all PHY_ID's to header
Move all PHY IDs to brcmphy.h header for completeness and unification of code.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/broadcom.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index cecdbbd549ec..b743d37532ff 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c | |||
@@ -685,7 +685,7 @@ static int brcm_fet_config_intr(struct phy_device *phydev) | |||
685 | } | 685 | } |
686 | 686 | ||
687 | static struct phy_driver bcm5411_driver = { | 687 | static struct phy_driver bcm5411_driver = { |
688 | .phy_id = 0x00206070, | 688 | .phy_id = PHY_ID_BCM5411, |
689 | .phy_id_mask = 0xfffffff0, | 689 | .phy_id_mask = 0xfffffff0, |
690 | .name = "Broadcom BCM5411", | 690 | .name = "Broadcom BCM5411", |
691 | .features = PHY_GBIT_FEATURES | | 691 | .features = PHY_GBIT_FEATURES | |
@@ -700,7 +700,7 @@ static struct phy_driver bcm5411_driver = { | |||
700 | }; | 700 | }; |
701 | 701 | ||
702 | static struct phy_driver bcm5421_driver = { | 702 | static struct phy_driver bcm5421_driver = { |
703 | .phy_id = 0x002060e0, | 703 | .phy_id = PHY_ID_BCM5421, |
704 | .phy_id_mask = 0xfffffff0, | 704 | .phy_id_mask = 0xfffffff0, |
705 | .name = "Broadcom BCM5421", | 705 | .name = "Broadcom BCM5421", |
706 | .features = PHY_GBIT_FEATURES | | 706 | .features = PHY_GBIT_FEATURES | |
@@ -715,7 +715,7 @@ static struct phy_driver bcm5421_driver = { | |||
715 | }; | 715 | }; |
716 | 716 | ||
717 | static struct phy_driver bcm5461_driver = { | 717 | static struct phy_driver bcm5461_driver = { |
718 | .phy_id = 0x002060c0, | 718 | .phy_id = PHY_ID_BCM5461, |
719 | .phy_id_mask = 0xfffffff0, | 719 | .phy_id_mask = 0xfffffff0, |
720 | .name = "Broadcom BCM5461", | 720 | .name = "Broadcom BCM5461", |
721 | .features = PHY_GBIT_FEATURES | | 721 | .features = PHY_GBIT_FEATURES | |
@@ -730,7 +730,7 @@ static struct phy_driver bcm5461_driver = { | |||
730 | }; | 730 | }; |
731 | 731 | ||
732 | static struct phy_driver bcm5464_driver = { | 732 | static struct phy_driver bcm5464_driver = { |
733 | .phy_id = 0x002060b0, | 733 | .phy_id = PHY_ID_BCM5464, |
734 | .phy_id_mask = 0xfffffff0, | 734 | .phy_id_mask = 0xfffffff0, |
735 | .name = "Broadcom BCM5464", | 735 | .name = "Broadcom BCM5464", |
736 | .features = PHY_GBIT_FEATURES | | 736 | .features = PHY_GBIT_FEATURES | |
@@ -745,7 +745,7 @@ static struct phy_driver bcm5464_driver = { | |||
745 | }; | 745 | }; |
746 | 746 | ||
747 | static struct phy_driver bcm5481_driver = { | 747 | static struct phy_driver bcm5481_driver = { |
748 | .phy_id = 0x0143bca0, | 748 | .phy_id = PHY_ID_BCM5481, |
749 | .phy_id_mask = 0xfffffff0, | 749 | .phy_id_mask = 0xfffffff0, |
750 | .name = "Broadcom BCM5481", | 750 | .name = "Broadcom BCM5481", |
751 | .features = PHY_GBIT_FEATURES | | 751 | .features = PHY_GBIT_FEATURES | |
@@ -760,7 +760,7 @@ static struct phy_driver bcm5481_driver = { | |||
760 | }; | 760 | }; |
761 | 761 | ||
762 | static struct phy_driver bcm5482_driver = { | 762 | static struct phy_driver bcm5482_driver = { |
763 | .phy_id = 0x0143bcb0, | 763 | .phy_id = PHY_ID_BCM5482, |
764 | .phy_id_mask = 0xfffffff0, | 764 | .phy_id_mask = 0xfffffff0, |
765 | .name = "Broadcom BCM5482", | 765 | .name = "Broadcom BCM5482", |
766 | .features = PHY_GBIT_FEATURES | | 766 | .features = PHY_GBIT_FEATURES | |
@@ -910,12 +910,12 @@ module_init(broadcom_init); | |||
910 | module_exit(broadcom_exit); | 910 | module_exit(broadcom_exit); |
911 | 911 | ||
912 | static struct mdio_device_id broadcom_tbl[] = { | 912 | static struct mdio_device_id broadcom_tbl[] = { |
913 | { 0x00206070, 0xfffffff0 }, | 913 | { PHY_ID_BCM5411, 0xfffffff0 }, |
914 | { 0x002060e0, 0xfffffff0 }, | 914 | { PHY_ID_BCM5421, 0xfffffff0 }, |
915 | { 0x002060c0, 0xfffffff0 }, | 915 | { PHY_ID_BCM5461, 0xfffffff0 }, |
916 | { 0x002060b0, 0xfffffff0 }, | 916 | { PHY_ID_BCM5464, 0xfffffff0 }, |
917 | { 0x0143bca0, 0xfffffff0 }, | 917 | { PHY_ID_BCM5482, 0xfffffff0 }, |
918 | { 0x0143bcb0, 0xfffffff0 }, | 918 | { PHY_ID_BCM5482, 0xfffffff0 }, |
919 | { PHY_ID_BCM50610, 0xfffffff0 }, | 919 | { PHY_ID_BCM50610, 0xfffffff0 }, |
920 | { PHY_ID_BCM50610M, 0xfffffff0 }, | 920 | { PHY_ID_BCM50610M, 0xfffffff0 }, |
921 | { PHY_ID_BCM57780, 0xfffffff0 }, | 921 | { PHY_ID_BCM57780, 0xfffffff0 }, |