igb: add link check function
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 6 Feb 2009 23:16:24 +0000 (23:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 10:43:04 +0000 (02:43 -0800)
commit4d6b725e4d8e499fad012a25381c8d9bf53fbf4b
tree78e2ff6b6633c204d2a4355cb7be92d1b6aa2529
parentaed5dec370e294233d647251ce1e5f74d70b09c9
igb: add link check function

Add a link check function to contain all activities related to verifying
that the link is present.  The current approach is a bit cludgy and needs
to be cleaned up.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c