]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
broadcom: fix PHY_ID_BCM5481 entry in the id table
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 21 Nov 2015 23:08:54 +0000 (01:08 +0200)
committerZefan Li <lizefan@huawei.com>
Wed, 26 Oct 2016 15:15:30 +0000 (23:15 +0800)
commit 3c25a860d17b7378822f35d8c9141db9507e3beb upstream.

Commit fcb26ec5b18d ("broadcom: move all PHY_ID's to header")
updated broadcom_tbl to use PHY_IDs, but incorrectly replaced 0x0143bca0
with PHY_ID_BCM5482 (making a duplicate entry, and completely omitting
the original). Fix that.

Fixes: fcb26ec5b18d ("broadcom: move all PHY_ID's to header")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Zefan Li <lizefan@huawei.com>
drivers/net/phy/broadcom.c

index 60338ff6309248c85cba042ca17c68d38c38b2ea..5b45369a087809fa6ea502295ea727240a284996 100644 (file)
@@ -933,7 +933,7 @@ static struct mdio_device_id __maybe_unused broadcom_tbl[] = {
        { PHY_ID_BCM5421, 0xfffffff0 },
        { PHY_ID_BCM5461, 0xfffffff0 },
        { PHY_ID_BCM5464, 0xfffffff0 },
-       { PHY_ID_BCM5482, 0xfffffff0 },
+       { PHY_ID_BCM5481, 0xfffffff0 },
        { PHY_ID_BCM5482, 0xfffffff0 },
        { PHY_ID_BCM50610, 0xfffffff0 },
        { PHY_ID_BCM50610M, 0xfffffff0 },