Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268269
b: refs/heads/master
c: 3e3b5f3
h: refs/heads/master
i:
  268267: cbe0ce8
v: v3
  • Loading branch information
Mark Einon authored and Greg Kroah-Hartman committed Sep 6, 2011
1 parent 62cc26b commit 64594d9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 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: e2963962aec7e953063c6a1e031a64ca9f5fd47b
refs/heads/master: 3e3b5f39159b97baa1dd38bff848aeccd996b7f0
38 changes: 0 additions & 38 deletions trunk/drivers/staging/et131x/et131x_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,44 +364,6 @@ void et131x_isr_handler(struct work_struct *work)
dev_err(&adapter->pdev->dev, "WAKE_ON_LAN interrupt\n");
}

/* Handle the PHY interrupt */
if (status & ET_INTR_PHY) {
u32 pm_csr;
u16 bmsr_ints;
u16 bmsr_data;
u16 myisr;

/* If we are in coma mode when we get this interrupt,
* we need to disable it.
*/
pm_csr = readl(&iomem->global.pm_csr);
if (pm_csr & ET_PM_PHY_SW_COMA) {
/*
* Check to see if we are in coma mode and if
* so, disable it because we will not be able
* to read PHY values until we are out.
*/
et1310_disable_phy_coma(adapter);
}

/* Read the PHY ISR to clear the reason for the
* interrupt.
*/
et131x_mii_read(adapter,
(uint8_t) offsetof(struct mi_regs, isr),
&myisr);

et131x_mii_read(adapter,
(uint8_t) offsetof(struct mi_regs, bmsr),
&bmsr_data);

bmsr_ints = adapter->bmsr ^ bmsr_data;
adapter->bmsr = bmsr_data;

/* Do all the cable in / cable out stuff */
et131x_mii_check(adapter, bmsr_data, bmsr_ints);
}

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

0 comments on commit 64594d9

Please sign in to comment.