Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: phy: add BCM7425 and BCM7429 PHYs

Signed-off-by: Petri Gynther <pgynther@google.com>
Acked-by: Florian Fainelli <f.fainelli@gmai.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Petri Gynther and committed by
David S. Miller
d068b02c bc23333b

+30
+28
drivers/net/phy/bcm7xxx.c
··· 350 350 BCM7XXX_28NM_GPHY(PHY_ID_BCM7439, "Broadcom BCM7439"), 351 351 BCM7XXX_28NM_GPHY(PHY_ID_BCM7445, "Broadcom BCM7445"), 352 352 { 353 + .phy_id = PHY_ID_BCM7425, 354 + .phy_id_mask = 0xfffffff0, 355 + .name = "Broadcom BCM7425", 356 + .features = PHY_GBIT_FEATURES | 357 + SUPPORTED_Pause | SUPPORTED_Asym_Pause, 358 + .flags = 0, 359 + .config_init = bcm7xxx_config_init, 360 + .config_aneg = genphy_config_aneg, 361 + .read_status = genphy_read_status, 362 + .suspend = bcm7xxx_suspend, 363 + .resume = bcm7xxx_config_init, 364 + .driver = { .owner = THIS_MODULE }, 365 + }, { 366 + .phy_id = PHY_ID_BCM7429, 367 + .phy_id_mask = 0xfffffff0, 368 + .name = "Broadcom BCM7429", 369 + .features = PHY_GBIT_FEATURES | 370 + SUPPORTED_Pause | SUPPORTED_Asym_Pause, 371 + .flags = PHY_IS_INTERNAL, 372 + .config_init = bcm7xxx_config_init, 373 + .config_aneg = genphy_config_aneg, 374 + .read_status = genphy_read_status, 375 + .suspend = bcm7xxx_suspend, 376 + .resume = bcm7xxx_config_init, 377 + .driver = { .owner = THIS_MODULE }, 378 + }, { 353 379 .phy_id = PHY_BCM_OUI_4, 354 380 .phy_id_mask = 0xffff0000, 355 381 .name = "Broadcom BCM7XXX 40nm", ··· 407 381 { PHY_ID_BCM7250, 0xfffffff0, }, 408 382 { PHY_ID_BCM7364, 0xfffffff0, }, 409 383 { PHY_ID_BCM7366, 0xfffffff0, }, 384 + { PHY_ID_BCM7425, 0xfffffff0, }, 385 + { PHY_ID_BCM7429, 0xfffffff0, }, 410 386 { PHY_ID_BCM7439, 0xfffffff0, }, 411 387 { PHY_ID_BCM7445, 0xfffffff0, }, 412 388 { PHY_BCM_OUI_4, 0xffff0000 },
+2
include/linux/brcmphy.h
··· 16 16 #define PHY_ID_BCM7250 0xae025280 17 17 #define PHY_ID_BCM7364 0xae025260 18 18 #define PHY_ID_BCM7366 0x600d8490 19 + #define PHY_ID_BCM7425 0x03625e60 20 + #define PHY_ID_BCM7429 0x600d8730 19 21 #define PHY_ID_BCM7439 0x600d8480 20 22 #define PHY_ID_BCM7445 0x600d8510 21 23