diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-15 23:03:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-15 23:03:50 -0500 |
commit | eb14f019597cd86c21a6c601d7e900f40030c2e7 (patch) | |
tree | 36fb2f36a1747f98988f87215db1eef3a71d45eb /drivers/net/e1000e | |
parent | 9a4a84294b0d60b8c287131478f743ba2bc68949 (diff) | |
parent | a3dd15444baa9c7522c8457ab564c41219dfb44c (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/e1000e/ich8lan.c
Diffstat (limited to 'drivers/net/e1000e')
-rw-r--r-- | drivers/net/e1000e/ich8lan.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c index 92f2ace7ca68..f2a5963b5a95 100644 --- a/drivers/net/e1000e/ich8lan.c +++ b/drivers/net/e1000e/ich8lan.c | |||
@@ -1939,12 +1939,17 @@ static s32 e1000_reset_hw_ich8lan(struct e1000_hw *hw) | |||
1939 | ctrl |= E1000_CTRL_PHY_RST; | 1939 | ctrl |= E1000_CTRL_PHY_RST; |
1940 | } | 1940 | } |
1941 | ret_val = e1000_acquire_swflag_ich8lan(hw); | 1941 | ret_val = e1000_acquire_swflag_ich8lan(hw); |
1942 | /* Whether or not the swflag was acquired, we need to reset the part */ | ||
1942 | hw_dbg(hw, "Issuing a global reset to ich8lan\n"); | 1943 | hw_dbg(hw, "Issuing a global reset to ich8lan\n"); |
1943 | ew32(CTRL, (ctrl | E1000_CTRL_RST)); | 1944 | ew32(CTRL, (ctrl | E1000_CTRL_RST)); |
1944 | msleep(20); | 1945 | msleep(20); |
1945 | 1946 | ||
1946 | /* release the swflag because it is not reset by hardware reset */ | 1947 | if (!ret_val) { |
1947 | e1000_release_swflag_ich8lan(hw); | 1948 | /* release the swflag because it is not reset by |
1949 | * hardware reset | ||
1950 | */ | ||
1951 | e1000_release_swflag_ich8lan(hw); | ||
1952 | } | ||
1948 | 1953 | ||
1949 | ret_val = e1000e_get_auto_rd_done(hw); | 1954 | ret_val = e1000e_get_auto_rd_done(hw); |
1950 | if (ret_val) { | 1955 | if (ret_val) { |