Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254678
b: refs/heads/master
c: 5f77898
h: refs/heads/master
v: v3
  • Loading branch information
Shyam Iyer authored and David S. Miller committed Jul 2, 2011
1 parent b63899b commit 3438a1a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b4e4fe848c25af645a069bb2f21ba6456246e5de
refs/heads/master: 5f77898de17ff983ff0e2988b73a6bdf4b6f9f8b
7 changes: 3 additions & 4 deletions trunk/drivers/net/bna/bnad.c
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ bnad_mbox_irq_alloc(struct bnad *bnad,
struct bna_intr_info *intr_info)
{
int err = 0;
unsigned long flags;
unsigned long irq_flags = 0, flags;
u32 irq;
irq_handler_t irq_handler;

Expand All @@ -1125,18 +1125,17 @@ bnad_mbox_irq_alloc(struct bnad *bnad,
if (bnad->cfg_flags & BNAD_CF_MSIX) {
irq_handler = (irq_handler_t)bnad_msix_mbox_handler;
irq = bnad->msix_table[bnad->msix_num - 1].vector;
flags = 0;
intr_info->intr_type = BNA_INTR_T_MSIX;
intr_info->idl[0].vector = bnad->msix_num - 1;
} else {
irq_handler = (irq_handler_t)bnad_isr;
irq = bnad->pcidev->irq;
flags = IRQF_SHARED;
irq_flags = IRQF_SHARED;
intr_info->intr_type = BNA_INTR_T_INTX;
/* intr_info->idl.vector = 0 ? */
}
spin_unlock_irqrestore(&bnad->bna_lock, flags);

flags = irq_flags;
sprintf(bnad->mbox_irq_name, "%s", BNAD_NAME);

/*
Expand Down

0 comments on commit 3438a1a

Please sign in to comment.