Commit:     a3caeada948535f126e407457e15f2633ee7168a
Parent:     3225b919036a3ec2e96bb36b7a4fd64c43fdbe84
Author:     Stephen Hemminger <[EMAIL PROTECTED]>
AuthorDate: Mon May 14 12:38:13 2007 -0700
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Thu May 17 20:43:14 2007 -0400

    sky2: MIB counter overflow handling
    Make sure that if we ever get a MIB counter overflow interrupt (normally
    masked off), that the IRQ is cleared.
    Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/net/sky2.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index bde28ad..6e360f8 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -2345,6 +2345,12 @@ static void sky2_mac_intr(struct sky2_hw *hw, unsigned 
                printk(KERN_INFO PFX "%s: mac interrupt status 0x%x\n",
                       dev->name, status);
+       if (status & GM_IS_RX_CO_OV)
+               gma_read16(hw, port, GM_RX_IRQ_SRC);
+       if (status & GM_IS_TX_CO_OV)
+               gma_read16(hw, port, GM_TX_IRQ_SRC);
        if (status & GM_IS_RX_FF_OR) {
                sky2_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_CLI_RX_FO);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to