equal
deleted
inserted
replaced
1651 } else if(!mii_link_ok(&nic->mii) && netif_carrier_ok(nic->netdev)) { |
1651 } else if(!mii_link_ok(&nic->mii) && netif_carrier_ok(nic->netdev)) { |
1652 DPRINTK(LINK, INFO, "link down\n"); |
1652 DPRINTK(LINK, INFO, "link down\n"); |
1653 } |
1653 } |
1654 |
1654 |
1655 mii_check_link(&nic->mii); |
1655 mii_check_link(&nic->mii); |
1656 } |
1656 |
1657 |
|
1658 if (!nic->ecdev) { |
|
1659 /* Software generated interrupt to recover from (rare) Rx |
1657 /* Software generated interrupt to recover from (rare) Rx |
1660 * allocation failure. |
1658 * allocation failure. |
1661 * Unfortunately have to use a spinlock to not re-enable interrupts |
1659 * Unfortunately have to use a spinlock to not re-enable interrupts |
1662 * accidentally, due to hardware that shares a register between the |
1660 * accidentally, due to hardware that shares a register between the |
1663 * interrupt mask bit and the SW Interrupt generation bit */ |
1661 * interrupt mask bit and the SW Interrupt generation bit */ |