From: "Yuval Mintz" <yuvalmin@broadcom.com>
To: davem@davemloft.net, netdev@vger.kernel.org
Cc: eilong@broadcom.com, "Yuval Mintz" <yuvalmin@broadcom.com>
Subject: [PATCH net-next 3/10] bnx2x: enable inta on the pci bus when used
Date: Wed, 4 Apr 2012 07:41:25 +0300 [thread overview]
Message-ID: <1333514492-20425-4-git-send-email-yuvalmin@broadcom.com> (raw)
In-Reply-To: <1333514492-20425-1-git-send-email-yuvalmin@broadcom.com>
During boot-from-SAN, if msix interrupts are unavailable and inta
is requested, it is possible that inta would be disabled in the
pci bus. This patch enables inta when requested.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
index 44b6f9f..16de19f 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
@@ -1363,6 +1363,9 @@ static void bnx2x_igu_int_enable(struct bnx2x *bp)
REG_WR(bp, IGU_REG_PF_CONFIGURATION, val);
+ if (val & IGU_PF_CONF_INT_LINE_EN)
+ pci_intx(bp->pdev, true);
+
barrier();
/* init leading/trailing edge */
--
1.7.9.rc2
next prev parent reply other threads:[~2012-04-04 4:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 4:41 [PATCH net-next 0/10] bnx2x: Feature (+semantic) patch series Yuval Mintz
2012-04-04 4:41 ` [PATCH net-next 1/10] bnx2x: remove unnecessary .h dependencies Yuval Mintz
2012-04-04 4:41 ` [PATCH net-next 2/10] bnx2x: remove unnecessary dmae code Yuval Mintz
2012-04-04 4:41 ` Yuval Mintz [this message]
2012-04-04 4:41 ` [PATCH net-next 4/10] bnx2x: added support for working with one msix irq Yuval Mintz
2012-04-04 4:41 ` [PATCH net-next 5/10] bnx2x: Add remote-fault link detection Yuval Mintz
2012-04-04 4:41 ` [PATCH net-next 6/10] bnx2x: Added support for a new device - 57811 Yuval Mintz
2012-04-04 4:41 ` [PATCH net-next 7/10] bnx2x: congestion management re-organization Yuval Mintz
2012-04-04 4:41 ` [PATCH net-next 8/10] bnx2x: change to the rss engine Yuval Mintz
2012-04-04 4:41 ` [PATCH net-next 9/10] bnx2x: Change comments and white spaces Yuval Mintz
2012-04-04 4:41 ` [PATCH net-next 10/10] bnx2x: Change to driver version 1.72.10-0 Yuval Mintz
2012-04-04 5:38 ` [PATCH net-next 0/10] bnx2x: Feature (+semantic) patch series David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1333514492-20425-4-git-send-email-yuvalmin@broadcom.com \
--to=yuvalmin@broadcom.com \
--cc=davem@davemloft.net \
--cc=eilong@broadcom.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).