Hi,
When pxe boot is performed hundreds times, an error occurs.
error log outputted is "e1000e :probe of 0000:00:19.0 failed with error -3".
linux kernel is using the version 3.11.6 and e1000e driver is using the version
2.5.4.
Using intel QM57 chipset, network is PCH LAN and 82577 GbE PHY.
firmware is Intel Boot Agent GE v1.3.30 Alpha-1.
I tried correction.
add e1000_init_swflag_ich8lan.
--- a/e1000e-2.5.4/src/ich8lan.c
+++ b/e1000e-2.5.4/src/ich8lan.c
@@ -139,6 +139,7 @@ static s32 e1000_k1_workaround_lv(struct e1000_hw *hw);
static void e1000_gate_hw_phy_config_ich8lan(struct e1000_hw *hw, bool gate);
static s32 e1000_setup_copper_link_pch_lpt(struct e1000_hw *hw);
static s32 e1000_oem_bits_config_ich8lan(struct e1000_hw *hw, bool d0_state);
+static void e1000_init_swflag_ich8lan(struct e1000_hw *hw);
static inline u16 __er16flash(struct e1000_hw *hw, unsigned long reg)
{
@@ -1451,6 +1452,8 @@ static s32 e1000_get_variants_ich8lan(struct
e1000_adapter *adapter)
if (rc)
return rc;
+ e1000_init_swflag_ich8lan(hw);
+
switch (hw->mac.type) {
case e1000_ich8lan:
case e1000_ich9lan:
@@ -1605,6 +1608,25 @@ static void e1000_release_swflag_ich8lan(struct e1000_hw
*hw)
}
/**
+ * e1000_init_swflag_ich8lan - Initializes software control flag
+ * @hw: pointer to the HW structure
+ *
+ * Initializes the software control flag for performing PHY and select
+ * MAC CSR accesses.
+ **/
+static void e1000_init_swflag_ich8lan(struct e1000_hw *hw)
+{
+ u32 extcnf_ctrl;
+
+ extcnf_ctrl = er32(EXTCNF_CTRL);
+
+ if (extcnf_ctrl & E1000_EXTCNF_CTRL_SWFLAG) {
+ extcnf_ctrl &= ~E1000_EXTCNF_CTRL_SWFLAG;
+ ew32(EXTCNF_CTRL, extcnf_ctrl);
+ }
+}
+
+/**
* e1000_check_mng_mode_ich8lan - Checks management mode
* @hw: pointer to the HW structure
*
Regards,
shunsuke Watanabe.
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
E1000-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit
http://communities.intel.com/community/wired