diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2014-08-14 19:52:51 -0400 |
---|---|---|
committer | David S. Miller <davem@greenl8ke.davemloft.net> | 2014-08-16 22:13:33 -0400 |
commit | 16466f4284154311f163a58b77379eb186274f87 (patch) | |
tree | a2285ea8b18fd0c0b426507f11180d28b4c83858 | |
parent | c9d26423e56ce1ab4d786f92aebecf859d419293 (diff) |
net: phy: bcm7xxx: remove 28nm wildcard entry
A wildcard entry with the 32-bits OUI 0x600d8400 was added as part of
the BCM7xxx internal PHY driver, but that entry might match other PHYs
that are not covered by this driver, so let's just remove it.
Fixes: b560a58c45c6 ("net: phy: add Broadcom BCM7xxx internal PHY driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@greenl8ke.davemloft.net>
-rw-r--r-- | drivers/net/phy/bcm7xxx.c | 14 | ||||
-rw-r--r-- | include/linux/brcmphy.h | 1 |
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/net/phy/bcm7xxx.c b/drivers/net/phy/bcm7xxx.c index 526b94cea569..2b40548c85d5 100644 --- a/drivers/net/phy/bcm7xxx.c +++ b/drivers/net/phy/bcm7xxx.c | |||
@@ -287,19 +287,6 @@ static struct phy_driver bcm7xxx_driver[] = { | |||
287 | .resume = bcm7xxx_28nm_config_init, | 287 | .resume = bcm7xxx_28nm_config_init, |
288 | .driver = { .owner = THIS_MODULE }, | 288 | .driver = { .owner = THIS_MODULE }, |
289 | }, { | 289 | }, { |
290 | .name = "Broadcom BCM7XXX 28nm", | ||
291 | .phy_id = PHY_ID_BCM7XXX_28, | ||
292 | .phy_id_mask = PHY_BCM_OUI_MASK, | ||
293 | .features = PHY_GBIT_FEATURES | | ||
294 | SUPPORTED_Pause | SUPPORTED_Asym_Pause, | ||
295 | .flags = PHY_IS_INTERNAL, | ||
296 | .config_init = bcm7xxx_28nm_config_init, | ||
297 | .config_aneg = genphy_config_aneg, | ||
298 | .read_status = genphy_read_status, | ||
299 | .suspend = bcm7xxx_suspend, | ||
300 | .resume = bcm7xxx_28nm_config_init, | ||
301 | .driver = { .owner = THIS_MODULE }, | ||
302 | }, { | ||
303 | .phy_id = PHY_BCM_OUI_4, | 290 | .phy_id = PHY_BCM_OUI_4, |
304 | .phy_id_mask = 0xffff0000, | 291 | .phy_id_mask = 0xffff0000, |
305 | .name = "Broadcom BCM7XXX 40nm", | 292 | .name = "Broadcom BCM7XXX 40nm", |
@@ -331,7 +318,6 @@ static struct mdio_device_id __maybe_unused bcm7xxx_tbl[] = { | |||
331 | { PHY_ID_BCM7366, 0xfffffff0, }, | 318 | { PHY_ID_BCM7366, 0xfffffff0, }, |
332 | { PHY_ID_BCM7439, 0xfffffff0, }, | 319 | { PHY_ID_BCM7439, 0xfffffff0, }, |
333 | { PHY_ID_BCM7445, 0xfffffff0, }, | 320 | { PHY_ID_BCM7445, 0xfffffff0, }, |
334 | { PHY_ID_BCM7XXX_28, 0xfffffc00 }, | ||
335 | { PHY_BCM_OUI_4, 0xffff0000 }, | 321 | { PHY_BCM_OUI_4, 0xffff0000 }, |
336 | { PHY_BCM_OUI_5, 0xffffff00 }, | 322 | { PHY_BCM_OUI_5, 0xffffff00 }, |
337 | { } | 323 | { } |
diff --git a/include/linux/brcmphy.h b/include/linux/brcmphy.h index 6f76277baf39..61219b9b3445 100644 --- a/include/linux/brcmphy.h +++ b/include/linux/brcmphy.h | |||
@@ -16,7 +16,6 @@ | |||
16 | #define PHY_ID_BCM7366 0x600d8490 | 16 | #define PHY_ID_BCM7366 0x600d8490 |
17 | #define PHY_ID_BCM7439 0x600d8480 | 17 | #define PHY_ID_BCM7439 0x600d8480 |
18 | #define PHY_ID_BCM7445 0x600d8510 | 18 | #define PHY_ID_BCM7445 0x600d8510 |
19 | #define PHY_ID_BCM7XXX_28 0x600d8400 | ||
20 | 19 | ||
21 | #define PHY_BCM_OUI_MASK 0xfffffc00 | 20 | #define PHY_BCM_OUI_MASK 0xfffffc00 |
22 | #define PHY_BCM_OUI_1 0x00206000 | 21 | #define PHY_BCM_OUI_1 0x00206000 |