diff options
author | Bruce Allan <bruce.w.allan@intel.com> | 2009-12-01 10:53:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-02 03:35:54 -0500 |
commit | 9b71b419a60d200f553658a97c9f49a46f58e8bb (patch) | |
tree | b51e41f5fb76bc9e5a48d9169d2c21414a737372 /drivers/net/e1000e/ich8lan.c | |
parent | 5ff5b664351a94754031c1e5783f0cea6b3000ed (diff) |
e1000e: add debug messages
Add some helpful debug messages.
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/ich8lan.c')
-rw-r--r-- | drivers/net/e1000e/ich8lan.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/e1000e/ich8lan.c b/drivers/net/e1000e/ich8lan.c index 1ce2bf97fa37..6efb77fbbd70 100644 --- a/drivers/net/e1000e/ich8lan.c +++ b/drivers/net/e1000e/ich8lan.c | |||
@@ -314,8 +314,10 @@ static s32 e1000_init_phy_params_ich8lan(struct e1000_hw *hw) | |||
314 | phy->ops.write_reg = e1000e_write_phy_reg_bm; | 314 | phy->ops.write_reg = e1000e_write_phy_reg_bm; |
315 | phy->ops.read_reg = e1000e_read_phy_reg_bm; | 315 | phy->ops.read_reg = e1000e_read_phy_reg_bm; |
316 | ret_val = e1000e_determine_phy_address(hw); | 316 | ret_val = e1000e_determine_phy_address(hw); |
317 | if (ret_val) | 317 | if (ret_val) { |
318 | e_dbg("Cannot determine PHY addr. Erroring out\n"); | ||
318 | return ret_val; | 319 | return ret_val; |
320 | } | ||
319 | } | 321 | } |
320 | 322 | ||
321 | phy->id = 0; | 323 | phy->id = 0; |