Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933443AbcLSQNs (ORCPT ); Mon, 19 Dec 2016 11:13:48 -0500 Received: from mail-sn1nam01on0075.outbound.protection.outlook.com ([104.47.32.75]:55376 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933079AbcLSQNn (ORCPT ); Mon, 19 Dec 2016 11:13:43 -0500 X-Greylist: delayed 24659 seconds by postgrey-1.27 at vger.kernel.org; Mon, 19 Dec 2016 11:13:42 EST Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; ellerman.id.au; dkim=none (message not signed) header.d=none;ellerman.id.au; dmarc=fail action=none header.from=nxp.com; From: Madalin Bucur To: CC: , , , , Subject: [PATCH net v3 1/4] fsl/fman: fix 1G support for QSGMII interfaces Date: Mon, 19 Dec 2016 18:13:30 +0200 Message-ID: <1482164013-6111-2-git-send-email-madalin.bucur@nxp.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1482164013-6111-1-git-send-email-madalin.bucur@nxp.com> References: <1482164013-6111-1-git-send-email-madalin.bucur@nxp.com> Reply-To: X-EOPAttributedMessage: 0 X-Matching-Connectors: 131266376199107834;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.158.2;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(336005)(7916002)(39450400003)(39840400002)(39850400002)(39410400002)(39400400002)(39860400002)(39380400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(104016004)(81156014)(69596002)(356003)(8666005)(50986999)(53806999)(76176999)(189998001)(43066003)(97736004)(305945005)(36756003)(81166006)(3450700001)(33646002)(68736007)(8676002)(106466001)(8936002)(105606002)(38730400001)(5003940100001)(50466002)(77096006)(47776003)(50226002)(2351001)(85426001)(4326007)(2950100002)(6666003)(6916009)(110136003)(626004)(48376002)(86362001)(2906002)(5660300001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR03MB2470;H:az84smr01.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD006;1:CDwiw1BpVKFHxeIsEic9E9RP0oI4Ze7F2NY25utL/P/iaDRY71nERiAoACWetFjJ8CftV/4aylxrRBxQGwBtVqvhOpzUcqR8caMbpVoentzEXLHmsb/TH8680VBOOjEwdHJLkTmTKbpVXshwC5ToyPnqdvlJxqjAB51x81UfUd7Z2d48QtpL7vZQo1uwToD7lcup5IO8sNIu5oQT/zXJDOFj+Gvye3pT+87UoNWiGmiQMzFOtI71dehlDptN+/qAmtbTXgUAmo0LHTrNYGXlXsU3v0P9OTIVDKGgEtegguVl8LdffBMUxgACKmPRBXPTS9Dw1LE+gjcqwLfIrP5t14hdAvfEp4i7MxE0jhnSOmUHHG9/PQ13Yf7Uz01qOpRDgho2M5lFqCXoZbuhIGsBtAqPCCy5L2CZhgOsQOaDYAFzjs9KrMkVlejm8jVcf5h/TLpoZOhjSb/ieOnY9jzIYdp6+C79qFCiFvTJB+hBikLIbdUcGqY6LrXxzpIRG1FXsyVFLdqV6rwe7LQvywv6BF3boaWbvAEwpZ2zXuuSgozjDLNEu1Q+2STDMTtMSxZRg1dCmVmoXviKFX/SJPh6cdrF9XhusPuQT4wwGTYczu2JMbOFfyOFkcOGm57lhhem MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: e10f4b0e-5dfc-4310-9399-08d42829fec1 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY4PR03MB2470; X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2470;3:iol0wLf8fOimpTqM0aXABIMgDVlJ5ATyGPDc09p6xvPmJFTwj+ZDQI7QwWS7yPJY2utO6NRh58BGNbdl6zw4vbYouF0lkn2mQeYvK4F2DB8yq6P5QxSJKeF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XMX4n/Ci46OZ7UJwg0oMP1zWe8FHKoZoOkuhOghFF695bjlUOi0pSa1VRcSrec= X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2470;31:UeUJMka6xNnEe2IGDyBMqmMpmEdBwlsPNjh78mdxd9ijMgscuBy0EBoOqc7K3tztuKe3AVwFuOXT7wSqe/TxvgsWTyLCi0Exgf35jixlmpg3mutWZgyZhpLOTqbMVG3X3eV1lz116Qeskfx+6QnV+1sinw+sRhv9HJaaoQ4cwgKafwzmFCyPxqn4W229oxxqJ20heGUFFOKv12lcv2LZ2NXmzav9jtP7LEVCaFa544z8LO5///E3pGl90ggTU0jeu6nozfjeL0GS12ckLA3OTVw78+ICMePVOSBfsB/LaNk= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095060)(601004)(2401047)(8121501046)(13018025)(13015025)(13024025)(5005006)(13023025)(13017025)(3002001)(10201501046)(6055026)(6096035)(20161123565025)(20161123563025)(20161123559025)(20161123561025)(20161123556025);SRVR:CY4PR03MB2470;BCL:0;PCL:0;RULEID:(400006);SRVR:CY4PR03MB2470; X-Microsoft-Exchange-Diagnostics: 1;CY4PR03MB2470;4:LXsCWnfG+0O4Ox86RtxzQCpdeKbLyx4MRKZgSJDD5TX2Vis8WejZVLHlm7U0rfcrOQZyL6w499hRYvVKUjkPRbGHAMBtrrz87q75JdvPz7cYF6K/wwcRk/RYYvYDxG1QEURsjdKeiwjQD+wpb9YDyMIIcXxqUZYmaI0TzKz+OzRFX3Ub7rfz74ZBNqnmTsihEEq3LYIg08qeBbRotVoGytc3Cqt2zLibZLItNQa9bjdYdCRn0hM84Owr/V4l7fd+AxZ0L4HITTMy2Ygq4Vb4g6jSR4WPce+Iwx4rDs4vOFBYqDLsaip++sYC3cFO71r8HeabbhjwEB2zaaM0Krn3f5izkgRQsdL8/bq8ksd0Qn5lCtnsfdkHkE0tFqeB9wUsj4apnYFyrK9+53Y4z6UqETatdnZR+0pMO9EhMgHO/yIhFDQsGiqcjcOTEv+WIhd7SJ8dB6kegg4LA8XwngPFrLFI3IsDgW6qY+gFiytpKhiFSdpgIMNlGGE1JKr7K3shI7lNNWR1ai5sT8THCbALuyOrSq0032HplYw714fmfGjUg8iolbN15dv/uRrjoz2koFXsEqybZxXaWV8iO4YUk7RBSh2aXPQ3C5wvxpZpR1qqGsMZdvnuHPClsdxobnaTguQuiqbWtSt7ZOBEzAAEWJNTYKWuJtnjO0EcM0+8iqkPI4kG52ID9iex6/J0WCL6iTbMtevqAx1+PKs1658vazuKrS9P90YD++HFCK3nCd4MCytoL0b3JqyercD4YB/C X-Forefront-PRVS: 01613DFDC8 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY4PR03MB2470;23:dP6GKiCxo9gJZOABnc7ha5oeiSzxqn6L+6nxGvx9j?= =?us-ascii?Q?OyGaw4FBmuP1WO1S09Brwhe/A7mWTCTuElIMipIEzKKDbQUN7VU7FMLzYIhD?= =?us-ascii?Q?Yfd5wnFlSt1noZC2bT/Vi3swrXWtHme4I/+YoIb+fiWRE+lCRtYUuhm/j7d0?= =?us-ascii?Q?2emO7GYW9RpbuFvFqh5m8KkcSTHv0yP85Ch0LsXq5XrvO8NEgzxikRELzpTf?= =?us-ascii?Q?axgFXh7sfoYU4c/zUsb5VpA0zX1RV/skY2pglZescy3jrKaQmPSPa7hLOqu0?= =?us-ascii?Q?c6uJPA+YfqohJQbHUCgBHO9jrIY45WtUw/fSgN8RwpthtY0SzYNyTIboj1Uk?= =?us-ascii?Q?MpG4GGFy5qJrIAeaU4RxUe5s7j1/QehjM77hCLKmF16zhCzkqERpmcPRYhav?= =?us-ascii?Q?+VAbnp4xLTjBlCUk91HcbKj07q8Pen3/cNFuzseZpAZZMV59aiazZ5nrznwm?= =?us-ascii?Q?luzjpWgTsV9lIYD+KczO3DU2pWEU8itR5rvJQ2+WUC1K4rNgwws9sfGAbm7f?= =?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RC72dwv9YFvk+xO+nzHqJllKWf2yZcAFX1sVBMPCCkwrldECe2XEysHDmqUIMBfVVMUbyNf1D5gMyTpDJZcxdC0EwF/T0bqUihHm+gQxxDQOSAqGrtqOSc+kjJ/PQruvuM81Ju2oUPVcNYUWw8T2N83OO0ip2XMq7nWV40Sjnh0aujpj0ywUNcEf+FL0NPXmn/yYplz7jegHditZqf0rxbXrQWTfYc4cAZcXcyQaMjJtF5wA== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2016 16:13:39.6611 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2470 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 22 QSGMII ports were not advertising 1G speed. Signed-off-by: Madalin Bucur Reviewed-by: Camelia Groza --- drivers/net/ethernet/freescale/fman/mac.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c index 69ca42c..0b31f85 100644 --- a/drivers/net/ethernet/freescale/fman/mac.c +++ b/drivers/net/ethernet/freescale/fman/mac.c @@ -594,6 +594,7 @@ static const u16 phy2speed[] = { [PHY_INTERFACE_MODE_RGMII_RXID] = SPEED_1000, [PHY_INTERFACE_MODE_RGMII_TXID] = SPEED_1000, [PHY_INTERFACE_MODE_RTBI] = SPEED_1000, + [PHY_INTERFACE_MODE_QSGMII] = SPEED_1000, [PHY_INTERFACE_MODE_XGMII] = SPEED_10000 }; -- 2.1.0