Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp915219pxb; Wed, 1 Sep 2021 12:35:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJym+UCgWH/SnW9rgY8w44nwNUlxEBm/glqBXD8LYXtORPR1sNVigQjuLUASH2Ki8aHnrR0W X-Received: by 2002:a05:6e02:20cd:: with SMTP id 13mr810825ilq.156.1630524904688; Wed, 01 Sep 2021 12:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630524904; cv=none; d=google.com; s=arc-20160816; b=I3u4pxlc2DFpVDz3uirr7Ja2m3SStpmTciepbJga215k+F3d8fI19Htkew+D8M4/OL UNrrox20Xp/P+fvxVbAg5MCrP8w7cCGRFSHBJBaUaiolFcImEoKAbgGVEgTHvaGoTU5w gwkcfUUmEFPJjZHoYl6EO2kyYUMH3uDpidjgXIsqRurmrf2/9S5vLdIza7lIZIBuzust gU/cHu1CyGdlSp7ZNFKDXT4jabZoqjyWuqUDZROFMbdz3xxlGeqUQ1WXrr2UUIhsLfCM KLgtTO7rKYlWJhud6awZCph44Ze7jGfwsHL3hUW7n6+eOY+ThrvXKRWSQCQWBafa/2AO 3BwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YbNzkQ37OM5g8fuumEiqemyv/xRuE2LrZFZ4vjhebwI=; b=UHPQDGZnGj+JNgxN+VFzOzNG6nDAX8bGTtOMo05xvVH+ja4xPBDBVe/qOpwCAPBq02 0vQwM2xsvtJhtHH62dvepFQD2mD+bQzNZ95NrKGEuCMhFnwTLt8DCJsuBgt8ym8RKkcZ mBzXShJmq0hV0EOC1GM2pCBR/TRlWgqlOaEibcJY4sidcPnK6QLM8J6PVMsys8jzUrDz PJIFr6p6w3pix1iZTPLaHBujYPkzxVFpMa+14MDFXhlqsNaioH4Mp0LYV+HvSckQxsgV lnzvyTWk7nsFn1w1stcAsbhoWYSJDW4+iJCzEoexgSEaYAXdncmWt4sDZ7cVnjKpcvxO FBZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BG4g+pHb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si500907ilg.86.2021.09.01.12.34.53; Wed, 01 Sep 2021 12:35:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=BG4g+pHb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344221AbhIAMkj (ORCPT + 99 others); Wed, 1 Sep 2021 08:40:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:42458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245058AbhIAMhf (ORCPT ); Wed, 1 Sep 2021 08:37:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 799E561101; Wed, 1 Sep 2021 12:34:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1630499655; bh=P9xrq9NQToKaw7bqwLxxXk6vk1JvEi5Df8zr29u5XyQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BG4g+pHb8uosn0VVZrCzfGnOHY6TXB8AC+IJaNY+0RuwBsLVALWqnADrCsM9mI2qr XPwDFCSuWBd5v+J0ygpR3wSojyvk+U8glNCiLyc1C/OaYhrJNC1UPb15BJQE8IxDgT jpbFkoGzTEZAc8Lkxzi/Z5ryuuxyzHs9OVgfTj88= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maxim Kiselev , "David S. Miller" , Sasha Levin Subject: [PATCH 5.10 035/103] net: marvell: fix MVNETA_TX_IN_PRGRS bit number Date: Wed, 1 Sep 2021 14:27:45 +0200 Message-Id: <20210901122301.732910951@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210901122300.503008474@linuxfoundation.org> References: <20210901122300.503008474@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maxim Kiselev [ Upstream commit 359f4cdd7d78fdf8c098713b05fee950a730f131 ] According to Armada XP datasheet bit at 0 position is corresponding for TxInProg indication. Fixes: c5aff18204da ("net: mvneta: driver for Marvell Armada 370/XP network unit") Signed-off-by: Maxim Kiselev Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/marvell/mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index c6b735b30515..74e266c0b8e1 100644 --- a/drivers/net/ethernet/marvell/mvneta.c +++ b/drivers/net/ethernet/marvell/mvneta.c @@ -103,7 +103,7 @@ #define MVNETA_DESC_SWAP BIT(6) #define MVNETA_TX_BRST_SZ_MASK(burst) ((burst) << 22) #define MVNETA_PORT_STATUS 0x2444 -#define MVNETA_TX_IN_PRGRS BIT(1) +#define MVNETA_TX_IN_PRGRS BIT(0) #define MVNETA_TX_FIFO_EMPTY BIT(8) #define MVNETA_RX_MIN_FRAME_SIZE 0x247c /* Only exists on Armada XP and Armada 370 */ -- 2.30.2