Thread (13 messages) 13 messages, 4 authors, 2009-05-29

Re: [net-next-2.6 PATCH 1/4] ixgbe: fix 82598 SFP initialization after driver load.

From: David Miller <davem@davemloft.net>
Date: 2009-05-27 03:40:58

From: Jeff Kirsher <redacted>
Date: Tue, 26 May 2009 17:54:04 -0700
If we loaded the driver with out a SFP module plugged in it would
leave it in a state that make it later unable to link when a module
was plugged in.  This patch corrects that by:

ixgbe_probe() - moving the check for IXGBE_ERR_SFP_NOT_PRESENT from
after get_invariants() to after reset_hw() as now reset_hw() is
where this condition will be indentified.

ixgbe_reset_hw_82598() - Enable this function to now return
IXGBE_ERR_SFP_NOT_PRESENT.

ixgbe_identify_sfp_module_generic() - This where the lack of SFP
module is detected.  Modifications are added to allow a different
return value for modules that just haven't been plugged in yet.

Other functions were updated to allow correct logging.

Signed-off-by: Don Skidmore <redacted>
Signed-off-by: Peter P Waskiewicz Jr <redacted>
Signed-off-by: Jeff Kirsher <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help