Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175147
b: refs/heads/master
c: ceef1a5
h: refs/heads/master
i:
  175145: 66dbde2
  175143: 861db03
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent 27d6627 commit 40c2f2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 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: 1458d82b459198b16805eca54877ef16204cd33c
refs/heads/master: ceef1a5e0ebc3418c8dbd8644195cce3bcb6949f
4 changes: 1 addition & 3 deletions trunk/drivers/staging/et131x/et1310_tx.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,7 @@ struct tx_ring {
u32 *tx_status;
dma_addr_t tx_status_pa;

TXMAC_ERR_t TxMacErr;

/* Variables to track the Tx interrupt coalescing features */
/* Packets since the last IRQ: used for interrupt coalescing */
int since_irq;
};

Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/staging/et131x/et131x_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,7 @@ void et131x_isr_handler(struct work_struct *work)

/* Let's move on to the TxMac */
if (status & ET_INTR_TXMAC) {
etdev->tx_ring.TxMacErr.value =
readl(&iomem->txmac.err.value);
u32 err = readl(&iomem->txmac.err.value);

/*
* When any of the errors occur and TXMAC generates
Expand All @@ -412,7 +411,7 @@ void et131x_isr_handler(struct work_struct *work)
*/
dev_warn(&etdev->pdev->dev,
"TXMAC interrupt, error 0x%08x\n",
etdev->tx_ring.TxMacErr.value);
err);

/* If we are debugging, we want to see this error,
* otherwise we just want the device to be reset and
Expand Down

0 comments on commit 40c2f2e

Please sign in to comment.