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