From patchwork Thu Jan 28 21:25:33 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Kisky X-Patchwork-Id: 8154361 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id DCC449F9A0 for ; Thu, 28 Jan 2016 21:51:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1337820219 for ; Thu, 28 Jan 2016 21:51:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4CE5320218 for ; Thu, 28 Jan 2016 21:51:41 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOuSH-0003Sk-17; Thu, 28 Jan 2016 21:50:17 +0000 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOu7Q-0005sL-C5 for linux-arm-kernel@lists.infradead.org; Thu, 28 Jan 2016 21:28:46 +0000 Received: by mail-pf0-x235.google.com with SMTP id n128so29530897pfn.3 for ; Thu, 28 Jan 2016 13:28:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boundarydevices-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YELBnsXMvtetXFkCfyNwDS0ZbnOYAPfo4MNTTTmSzmk=; b=d/4yr4DizxdyVtJ+4tBCLIGEUqf08QkNWwLjNTDuyF+SToX4kiixnID7+amAppyC8Q IgDj7acoOp7t8yz9oCwUi4TbA5xxYCvoiuhD5Cv7AqSmxgtZTAtA/ZgFDeGItPrhk2U8 g2tySFWrXvAtR3CIp9An9gWgkHaRwYNB1lRsZzwVehpyAO1aASSEftrikMLxXz4egvu9 8LTDaZ4aBPUkFW/4XQTB1h5x0c+wJeKvtQAi4teoGtBIGcJHYnWGW4P5Nly25Pe0AnZS ykhFHOmVa7TBY2mLFnflVH9r7nOpLn2qM9HxKkZyymLZU4dA77JwBwt37DlNE+lA5Nub U0tQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YELBnsXMvtetXFkCfyNwDS0ZbnOYAPfo4MNTTTmSzmk=; b=KffsF4xpjpfreXD+QYRcOti/csy4t8HQY/bSUU/7scRzyJTU7vMPc4lOlrc600BQbe 36q4n+XtGXe0qVkQtlCaSL9aXTv8hozWLi3JcGcomnXF+QgzQZdjLy/7hyTSKhBB+jpw iwfH4HC92obxEvEKMg6/jsq86qPJTKfEU7YaaGlXJH9qHgrml+KHBElx0eAYTEt7mJhj h0oVfZPCFdlPhKU7QC71owVP8C8xYnDSya9YM23DrAXOruRRyqFwgX2DPD+FAM5Skb6f GWdK3e6YMrP0yE5KWH+ROmGSU+QsXRbD8KehHHwlo01n4pmqpffCewXX0ARYkdQuXeSR 9c6A== X-Gm-Message-State: AG10YOR02hZyLiibswArAZYfAkrQqjLQ1sUrG0PpzkMWds0gzA2rkxbEaI8nIAZ0PQ8xTA== X-Received: by 10.98.42.10 with SMTP id q10mr7983235pfq.73.1454016503758; Thu, 28 Jan 2016 13:28:23 -0800 (PST) Received: from localhost.localdomain (wsip-70-184-93-199.ph.ph.cox.net. [70.184.93.199]) by smtp.googlemail.com with ESMTPSA id c90sm18583190pfd.31.2016.01.28.13.28.22 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 28 Jan 2016 13:28:23 -0800 (PST) From: Troy Kisky To: netdev@vger.kernel.org, davem@davemloft.net, B38611@freescale.com Subject: [PATCH net-next 09/40] net: fec: only check queue 0 if RXF_0/TXF_0 interrupt is set Date: Thu, 28 Jan 2016 14:25:33 -0700 Message-Id: <1454016364-30985-10-git-send-email-troy.kisky@boundarydevices.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454016364-30985-1-git-send-email-troy.kisky@boundarydevices.com> References: <1454016364-30985-1-git-send-email-troy.kisky@boundarydevices.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160128_132844_749786_40947F1A X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: fabio.estevam@freescale.com, andrew@lunn.ch, linux@arm.linux.org.uk, Troy Kisky , laci@boundarydevices.com, l.stach@pengutronix.de, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org, tremyfr@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Troy Kisky --- drivers/net/ethernet/freescale/fec_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c index 15a93f90..3ed79fd 100644 --- a/drivers/net/ethernet/freescale/fec_main.c +++ b/drivers/net/ethernet/freescale/fec_main.c @@ -1523,14 +1523,14 @@ fec_enet_collect_events(struct fec_enet_private *fep, uint int_events) if (int_events == 0) return false; - if (int_events & FEC_ENET_RXF) + if (int_events & FEC_ENET_RXF_0) fep->work_rx |= (1 << 2); if (int_events & FEC_ENET_RXF_1) fep->work_rx |= (1 << 0); if (int_events & FEC_ENET_RXF_2) fep->work_rx |= (1 << 1); - if (int_events & FEC_ENET_TXF) + if (int_events & FEC_ENET_TXF_0) fep->work_tx |= (1 << 2); if (int_events & FEC_ENET_TXF_1) fep->work_tx |= (1 << 0);