Searched refs:prev_link (Results 1 – 2 of 2) sorted by relevance
296 int prev_link = netif_carrier_ok(mii->dev); in mii_check_link() local298 if (cur_link && !prev_link) in mii_check_link()300 else if (prev_link && !cur_link) in mii_check_link()
2792 int prev_link = netif_carrier_ok(dev) ? 1 : 0; in pcnet32_check_media() local2802 if (prev_link || verbose) { in pcnet32_check_media()2808 prev_link = 0; in pcnet32_check_media()2810 } else if (verbose || !prev_link) { in pcnet32_check_media()