phy: bcm63xx: report Broadcom BCM63xx PHYs as internal
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 23 May 2013 01:11:13 +0000 (01:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 05:42:50 +0000 (22:42 -0700)
The Broadcom BCM63xx PHY driver is for the SoC internal PHYs, flag these
as internal PHY devices.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/bcm63xx.c

index 84c7a39b1c659a91a82cb8c82d1436e0f994cc5b..ac55b08078534e8170416630dced41dba150564c 100644 (file)
@@ -78,7 +78,7 @@ static struct phy_driver bcm63xx_driver[] = {
        .name           = "Broadcom BCM63XX (1)",
        /* ASYM_PAUSE bit is marked RO in datasheet, so don't cheat */
        .features       = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
-       .flags          = PHY_HAS_INTERRUPT,
+       .flags          = PHY_HAS_INTERRUPT | PHY_IS_INTERNAL,
        .config_init    = bcm63xx_config_init,
        .config_aneg    = genphy_config_aneg,
        .read_status    = genphy_read_status,
@@ -91,7 +91,7 @@ static struct phy_driver bcm63xx_driver[] = {
        .phy_id_mask    = 0xfffffc00,
        .name           = "Broadcom BCM63XX (2)",
        .features       = (PHY_BASIC_FEATURES | SUPPORTED_Pause),
-       .flags          = PHY_HAS_INTERRUPT,
+       .flags          = PHY_HAS_INTERRUPT | PHY_IS_INTERNAL,
        .config_init    = bcm63xx_config_init,
        .config_aneg    = genphy_config_aneg,
        .read_status    = genphy_read_status,