From patchwork Fri Jul 19 20:56:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sucheta Chakraborty X-Patchwork-Id: 260354 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id ADF4D2C0097 for ; Sat, 20 Jul 2013 07:24:48 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752761Ab3GSVYh (ORCPT ); Fri, 19 Jul 2013 17:24:37 -0400 Received: from tx2ehsobe001.messaging.microsoft.com ([65.55.88.11]:43735 "EHLO tx2outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752086Ab3GSVYF (ORCPT ); Fri, 19 Jul 2013 17:24:05 -0400 Received: from mail193-tx2-R.bigfish.com (10.9.14.244) by TX2EHSOBE010.bigfish.com (10.9.40.30) with Microsoft SMTP Server id 14.1.225.22; Fri, 19 Jul 2013 21:24:04 +0000 Received: from mail193-tx2 (localhost [127.0.0.1]) by mail193-tx2-R.bigfish.com (Postfix) with ESMTP id A319646027E; Fri, 19 Jul 2013 21:24:04 +0000 (UTC) X-Forefront-Antispam-Report: CIP:198.70.193.116; KIP:(null); UIP:(null); IPV:NLI; H:avcashub1.qlogic.com; RD:avcashub2.qlogic.com; EFVD:NLI X-SpamScore: 0 X-BigFish: VPS0(zzzz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097h8275bhz2fh2a8h668h839hd24he5bhf0ah107ah11b5h121eh1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h14afh1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1b0ah1d0ch1d2eh1d3fh1dfeh1dffh1e1dh1e23h1155h) Received-SPF: pass (mail193-tx2: domain of qlogic.com designates 198.70.193.116 as permitted sender) client-ip=198.70.193.116; envelope-from=sucheta.chakraborty@qlogic.com; helo=avcashub1.qlogic.com ; 1.qlogic.com ; Received: from mail193-tx2 (localhost.localdomain [127.0.0.1]) by mail193-tx2 (MessageSwitch) id 1374269041987783_3285; Fri, 19 Jul 2013 21:24:01 +0000 (UTC) Received: from TX2EHSMHS029.bigfish.com (unknown [10.9.14.235]) by mail193-tx2.bigfish.com (Postfix) with ESMTP id E6E49160054; Fri, 19 Jul 2013 21:24:01 +0000 (UTC) Received: from avcashub1.qlogic.com (198.70.193.116) by TX2EHSMHS029.bigfish.com (10.9.99.129) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 19 Jul 2013 21:24:01 +0000 Received: from dut6217.mv.qlogic.com (172.29.56.217) by qlc.com (10.1.4.191) with Microsoft SMTP Server id 14.2.318.1; Fri, 19 Jul 2013 14:24:00 -0700 Received: by dut6217.mv.qlogic.com (Postfix, from userid 0) id C0A80522194; Fri, 19 Jul 2013 16:56:50 -0400 (EDT) From: Sucheta Chakraborty To: CC: , , Himanshu Madhani Subject: [PATCH net 6/9] qlcnic: Fix ethtool display for 83xx adapter. Date: Fri, 19 Jul 2013 16:56:31 -0400 Message-ID: <1374267394-27697-7-git-send-email-sucheta.chakraborty@qlogic.com> X-Mailer: git-send-email 1.7.7 In-Reply-To: <1374267394-27697-1-git-send-email-sucheta.chakraborty@qlogic.com> References: <1374267394-27697-1-git-send-email-sucheta.chakraborty@qlogic.com> MIME-Version: 1.0 X-OriginatorOrg: qlogic.com Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Himanshu Madhani o Commit b938662d88264c1a92611ca1b82fdff5a4e87121 ("qlcnic: Fix ethtool supported port status for 83xx") introduced regression for display of link status for 83xx adapter while refactoring port status display. This patch is to fix the link status display for 83xx adapter. Signed-off-by: Himanshu Madhani Signed-off-by: Sucheta Chakraborty --- .../net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c index 0913c62..bc483e1 100644 --- a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c +++ b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c @@ -3014,8 +3014,8 @@ int qlcnic_83xx_get_settings(struct qlcnic_adapter *adapter, } if (ahw->port_type == QLCNIC_XGBE) { - ecmd->supported = SUPPORTED_1000baseT_Full; - ecmd->advertising = ADVERTISED_1000baseT_Full; + ecmd->supported = SUPPORTED_10000baseT_Full; + ecmd->advertising = ADVERTISED_10000baseT_Full; } else { ecmd->supported = (SUPPORTED_10baseT_Half | SUPPORTED_10baseT_Full |