Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150198
b: refs/heads/master
c: 7a2469c
h: refs/heads/master
v: v3
  • Loading branch information
Dhananjay Phadke authored and David S. Miller committed May 9, 2009
1 parent 32a4288 commit 1f12a6b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 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: 61de71c67caec39df0a854a1ef5be0c6be385c2a
refs/heads/master: 7a2469ce4d8984722d65628969ad6f8b09da136f
3 changes: 3 additions & 0 deletions trunk/drivers/net/netxen/netxen_nic.h
Original file line number Diff line number Diff line change
Expand Up @@ -1257,6 +1257,9 @@ struct netxen_adapter {
u32 irq;
u32 temp;

u32 msi_tgt_status;
u32 resv4;

struct netxen_adapter_stats stats;

struct netxen_recv_context recv_ctx;
Expand Down
4 changes: 3 additions & 1 deletion trunk/drivers/net/netxen/netxen_nic_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,8 @@ netxen_setup_intr(struct netxen_adapter *adapter)
request_msi:
if (use_msi && !pci_enable_msi(pdev)) {
adapter->flags |= NETXEN_NIC_MSI_ENABLED;
adapter->msi_tgt_status =
msi_tgt_status[adapter->ahw.pci_func];
dev_info(&pdev->dev, "using msi interrupts\n");
} else
dev_info(&pdev->dev, "using legacy interrupts\n");
Expand Down Expand Up @@ -1701,7 +1703,7 @@ static irqreturn_t netxen_msi_intr(int irq, void *data)

/* clear interrupt */
adapter->pci_write_immediate(adapter,
msi_tgt_status[adapter->ahw.pci_func], 0xffffffff);
adapter->msi_tgt_status, 0xffffffff);

napi_schedule(&sds_ring->napi);
return IRQ_HANDLED;
Expand Down

0 comments on commit 1f12a6b

Please sign in to comment.