Commit 5e0c676c authored by Matt Carlson's avatar Matt Carlson Committed by David S. Miller

broadcom: Add flow control support

This patch adds flow control support to Broadcom phys.
Signed-off-by: default avatarMatt Carlson <mcarlson@broadcom.com>
Signed-off-by: default avatarMichael Chan <mchan@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fcb389df
...@@ -335,7 +335,8 @@ static struct phy_driver bcm5411_driver = { ...@@ -335,7 +335,8 @@ static struct phy_driver bcm5411_driver = {
.phy_id = 0x00206070, .phy_id = 0x00206070,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM5411", .name = "Broadcom BCM5411",
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
.config_init = bcm54xx_config_init, .config_init = bcm54xx_config_init,
.config_aneg = genphy_config_aneg, .config_aneg = genphy_config_aneg,
...@@ -349,7 +350,8 @@ static struct phy_driver bcm5421_driver = { ...@@ -349,7 +350,8 @@ static struct phy_driver bcm5421_driver = {
.phy_id = 0x002060e0, .phy_id = 0x002060e0,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM5421", .name = "Broadcom BCM5421",
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
.config_init = bcm54xx_config_init, .config_init = bcm54xx_config_init,
.config_aneg = genphy_config_aneg, .config_aneg = genphy_config_aneg,
...@@ -363,7 +365,8 @@ static struct phy_driver bcm5461_driver = { ...@@ -363,7 +365,8 @@ static struct phy_driver bcm5461_driver = {
.phy_id = 0x002060c0, .phy_id = 0x002060c0,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM5461", .name = "Broadcom BCM5461",
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
.config_init = bcm54xx_config_init, .config_init = bcm54xx_config_init,
.config_aneg = genphy_config_aneg, .config_aneg = genphy_config_aneg,
...@@ -377,7 +380,8 @@ static struct phy_driver bcm5464_driver = { ...@@ -377,7 +380,8 @@ static struct phy_driver bcm5464_driver = {
.phy_id = 0x002060b0, .phy_id = 0x002060b0,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM5464", .name = "Broadcom BCM5464",
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
.config_init = bcm54xx_config_init, .config_init = bcm54xx_config_init,
.config_aneg = genphy_config_aneg, .config_aneg = genphy_config_aneg,
...@@ -391,7 +395,8 @@ static struct phy_driver bcm5481_driver = { ...@@ -391,7 +395,8 @@ static struct phy_driver bcm5481_driver = {
.phy_id = 0x0143bca0, .phy_id = 0x0143bca0,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM5481", .name = "Broadcom BCM5481",
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
.config_init = bcm54xx_config_init, .config_init = bcm54xx_config_init,
.config_aneg = bcm5481_config_aneg, .config_aneg = bcm5481_config_aneg,
...@@ -405,7 +410,8 @@ static struct phy_driver bcm5482_driver = { ...@@ -405,7 +410,8 @@ static struct phy_driver bcm5482_driver = {
.phy_id = 0x0143bcb0, .phy_id = 0x0143bcb0,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM5482", .name = "Broadcom BCM5482",
.features = PHY_GBIT_FEATURES, .features = PHY_GBIT_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
.config_init = bcm5482_config_init, .config_init = bcm5482_config_init,
.config_aneg = genphy_config_aneg, .config_aneg = genphy_config_aneg,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment