]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
igb: fix link reporting when using sgmii
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 31 Jan 2009 08:53:18 +0000 (00:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Jan 2009 08:53:18 +0000 (00:53 -0800)
commit5d0932a5dd00d83df5d1e15eeffb6edf015a8579
tree78d37cc9b58084a27d51af321b15f1dee4593700
parentec54d7d6e40b04c16dfce0e41e506198a20c8645
igb: fix link reporting when using sgmii

When using sgmii the link was not being properly passed up to the driver
from the underlying link management functions.  This change corrects it so
that get_link_status is cleared when a link has been found.

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/e1000_82575.c