lkml.org 
[lkml]   [2008]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2.6.27-rc8 1/6] e1000e: reset swflag after resetting hardware
    Date
    in the process of debugging things, noticed that the swflag is not reset
    by the driver after reset, and the swflag is probably not reset unless
    management firmware clears it after 100ms.

    Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
    ---

    drivers/net/e1000e/ich8lan.c | 3 +++
    1 files changed, 3 insertions(+), 0 deletions(-)

    diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c
    index d8efba8..f4b6744 100644
    --- a/drivers/net/e1000e/ich8lan.c
    +++ b/drivers/net/e1000e/ich8lan.c
    @@ -1778,6 +1778,9 @@ static s32 e1000_reset_hw_ich8lan(struct e1000_hw *hw)
    ew32(CTRL, (ctrl | E1000_CTRL_RST));
    msleep(20);

    + /* release the swflag because it is not reset by hardware reset */
    + e1000_release_swflag_ich8lan(hw);
    +
    ret_val = e1000e_get_auto_rd_done(hw);
    if (ret_val) {
    /*


    \
     
     \ /
      Last update: 2008-10-03 01:37    [W:3.215 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site