aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/broadcom.c
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2008-11-03 19:56:07 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-03 19:56:07 -0500
commit5e0c676c717316f315dcf76da52dc0002c43632a (patch)
tree6409c482f04f35601eb10f1ca2567d868a76e1c9 /drivers/net/phy/broadcom.c
parentfcb389dfd842be54545cb436b3437f07da10115c (diff)
broadcom: Add flow control support
This patch adds flow control support to Broadcom phys. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/broadcom.c')
-rw-r--r--drivers/net/phy/broadcom.c18
1 files changed, 12 insertions, 6 deletions
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
index 4b4dc98ad165..0fe37492feb1 100644
--- a/drivers/net/phy/broadcom.c
+++ b/drivers/net/phy/broadcom.c
@@ -335,7 +335,8 @@ static struct phy_driver bcm5411_driver = {
335 .phy_id = 0x00206070, 335 .phy_id = 0x00206070,
336 .phy_id_mask = 0xfffffff0, 336 .phy_id_mask = 0xfffffff0,
337 .name = "Broadcom BCM5411", 337 .name = "Broadcom BCM5411",
338 .features = PHY_GBIT_FEATURES, 338 .features = PHY_GBIT_FEATURES |
339 SUPPORTED_Pause | SUPPORTED_Asym_Pause,
339 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, 340 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
340 .config_init = bcm54xx_config_init, 341 .config_init = bcm54xx_config_init,
341 .config_aneg = genphy_config_aneg, 342 .config_aneg = genphy_config_aneg,
@@ -349,7 +350,8 @@ static struct phy_driver bcm5421_driver = {
349 .phy_id = 0x002060e0, 350 .phy_id = 0x002060e0,
350 .phy_id_mask = 0xfffffff0, 351 .phy_id_mask = 0xfffffff0,
351 .name = "Broadcom BCM5421", 352 .name = "Broadcom BCM5421",
352 .features = PHY_GBIT_FEATURES, 353 .features = PHY_GBIT_FEATURES |
354 SUPPORTED_Pause | SUPPORTED_Asym_Pause,
353 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, 355 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
354 .config_init = bcm54xx_config_init, 356 .config_init = bcm54xx_config_init,
355 .config_aneg = genphy_config_aneg, 357 .config_aneg = genphy_config_aneg,
@@ -363,7 +365,8 @@ static struct phy_driver bcm5461_driver = {
363 .phy_id = 0x002060c0, 365 .phy_id = 0x002060c0,
364 .phy_id_mask = 0xfffffff0, 366 .phy_id_mask = 0xfffffff0,
365 .name = "Broadcom BCM5461", 367 .name = "Broadcom BCM5461",
366 .features = PHY_GBIT_FEATURES, 368 .features = PHY_GBIT_FEATURES |
369 SUPPORTED_Pause | SUPPORTED_Asym_Pause,
367 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, 370 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
368 .config_init = bcm54xx_config_init, 371 .config_init = bcm54xx_config_init,
369 .config_aneg = genphy_config_aneg, 372 .config_aneg = genphy_config_aneg,
@@ -377,7 +380,8 @@ static struct phy_driver bcm5464_driver = {
377 .phy_id = 0x002060b0, 380 .phy_id = 0x002060b0,
378 .phy_id_mask = 0xfffffff0, 381 .phy_id_mask = 0xfffffff0,
379 .name = "Broadcom BCM5464", 382 .name = "Broadcom BCM5464",
380 .features = PHY_GBIT_FEATURES, 383 .features = PHY_GBIT_FEATURES |
384 SUPPORTED_Pause | SUPPORTED_Asym_Pause,
381 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, 385 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
382 .config_init = bcm54xx_config_init, 386 .config_init = bcm54xx_config_init,
383 .config_aneg = genphy_config_aneg, 387 .config_aneg = genphy_config_aneg,
@@ -391,7 +395,8 @@ static struct phy_driver bcm5481_driver = {
391 .phy_id = 0x0143bca0, 395 .phy_id = 0x0143bca0,
392 .phy_id_mask = 0xfffffff0, 396 .phy_id_mask = 0xfffffff0,
393 .name = "Broadcom BCM5481", 397 .name = "Broadcom BCM5481",
394 .features = PHY_GBIT_FEATURES, 398 .features = PHY_GBIT_FEATURES |
399 SUPPORTED_Pause | SUPPORTED_Asym_Pause,
395 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, 400 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
396 .config_init = bcm54xx_config_init, 401 .config_init = bcm54xx_config_init,
397 .config_aneg = bcm5481_config_aneg, 402 .config_aneg = bcm5481_config_aneg,
@@ -405,7 +410,8 @@ static struct phy_driver bcm5482_driver = {
405 .phy_id = 0x0143bcb0, 410 .phy_id = 0x0143bcb0,
406 .phy_id_mask = 0xfffffff0, 411 .phy_id_mask = 0xfffffff0,
407 .name = "Broadcom BCM5482", 412 .name = "Broadcom BCM5482",
408 .features = PHY_GBIT_FEATURES, 413 .features = PHY_GBIT_FEATURES |
414 SUPPORTED_Pause | SUPPORTED_Asym_Pause,
409 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT, 415 .flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
410 .config_init = bcm5482_config_init, 416 .config_init = bcm5482_config_init,
411 .config_aneg = genphy_config_aneg, 417 .config_aneg = genphy_config_aneg,