equal
deleted
inserted
replaced
1635 } else if(!mii_link_ok(&nic->mii) && netif_carrier_ok(nic->netdev)) { |
1635 } else if(!mii_link_ok(&nic->mii) && netif_carrier_ok(nic->netdev)) { |
1636 DPRINTK(LINK, INFO, "link down\n"); |
1636 DPRINTK(LINK, INFO, "link down\n"); |
1637 } |
1637 } |
1638 |
1638 |
1639 mii_check_link(&nic->mii); |
1639 mii_check_link(&nic->mii); |
1640 } |
1640 |
1641 |
|
1642 if (!nic->ecdev) { |
|
1643 /* Software generated interrupt to recover from (rare) Rx |
1641 /* Software generated interrupt to recover from (rare) Rx |
1644 * allocation failure. |
1642 * allocation failure. |
1645 * Unfortunately have to use a spinlock to not re-enable interrupts |
1643 * Unfortunately have to use a spinlock to not re-enable interrupts |
1646 * accidentally, due to hardware that shares a register between the |
1644 * accidentally, due to hardware that shares a register between the |
1647 * interrupt mask bit and the SW Interrupt generation bit */ |
1645 * interrupt mask bit and the SW Interrupt generation bit */ |