Patch "net/macb: fix the peripheral version test" has been added to the 4.0-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
net/macb: fix the peripheral version test
to the 4.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
net-macb-fix-the-peripheral-version-test.patch
and it can be found in the queue-4.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
361918970b7426bba97a64678ef2b2679c37199bMon Sep 17 00:00:00 2001
From: Nicolas Ferre <[email protected]>
Date: Tue, 31 Mar 2015 15:02:05 +0200
Subject: net/macb: fix the peripheral version test
From: Nicolas Ferre <[email protected]>
commit 361918970b7426bba97a64678ef2b2679c37199b upstream.
We currently need two checks of the peripheral version in MACB_MID register. One of them got out of sync after modification by 8a013a9c71b2 (net: macb:
Include multi queue support for xilinx ZynqMP ethernet version). Fix this in macb_configure_caps() so that xilinx ZynqMP will be considered as a GEM flavor.
ethernet version")
--- drivers/net/ethernet/cadence/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/cadence/macb.c +1 -1
@@ -2165,7 +2165,7 @@ static void macb_configure_caps(struct m } } -if (MACB_BFEXT (IDNUM ,macb_readl (bp,MID )) ==0x2 ) +if (MACB_BFEXT (IDNUM ,macb_readl (bp,MID )) >=0x2 ) bp->caps |=MACB_CAPS_MACB_IS_GEM ;if (macb_is_gem (bp)) {
Patches currently in stable-queue which might be from [email protected] are
queue-4.0/arm-at91-dt-sama5d3-xplained-add-phy-address-for-macb1.patch queue-4.0/net-macb-fix-the-peripheral-version-test.patch