diff options
author | Sathya Perla <sathya.perla@emulex.com> | 2012-09-28 08:39:44 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-30 10:15:34 +0400 |
commit | d379142bc4d9b78cdd9fc5aa696ca1ea083fb7d4 (patch) | |
tree | f726f3074df4a26edd498f3293dabed94972869e /drivers/net/ethernet/emulex/benet/be_cmds.c | |
parent | 323ff71e566994f77761e221361de5b4a52a612f (diff) | |
download | linux-d379142bc4d9b78cdd9fc5aa696ca1ea083fb7d4.tar.xz |
be2net: fixup log messages
Added and modified a few log messages mostly in probe path.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_cmds.c')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_cmds.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_cmds.c b/drivers/net/ethernet/emulex/benet/be_cmds.c index 46a19affbc21..af60bb26e330 100644 --- a/drivers/net/ethernet/emulex/benet/be_cmds.c +++ b/drivers/net/ethernet/emulex/benet/be_cmds.c @@ -2425,6 +2425,9 @@ int be_cmd_req_native_mode(struct be_adapter *adapter) struct be_cmd_resp_set_func_cap *resp = embedded_payload(wrb); adapter->be3_native = le32_to_cpu(resp->cap_flags) & CAPABILITY_BE3_NATIVE_ERX_API; + if (!adapter->be3_native) + dev_warn(&adapter->pdev->dev, + "adapter not in advanced mode\n"); } err: mutex_unlock(&adapter->mbox_lock); |