Message ID | 20210720050838.7635-1-fido_max@inbox.ru |
---|---|
State | New |
Headers | show
Return-Path: <netdev-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BEC7C07E9B for <netdev@archiver.kernel.org>; Tue, 20 Jul 2021 06:14:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5BDA861165 for <netdev@archiver.kernel.org>; Tue, 20 Jul 2021 06:14:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239518AbhGTFdh (ORCPT <rfc822;netdev@archiver.kernel.org>); Tue, 20 Jul 2021 01:33:37 -0400 Received: from fallback22.m.smailru.net ([94.100.176.132]:44544 "EHLO fallback22.mail.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239210AbhGTFdI (ORCPT <rfc822;netdev@vger.kernel.org>); Tue, 20 Jul 2021 01:33:08 -0400 X-Greylist: delayed 4010 seconds by postgrey-1.27 at vger.kernel.org; Tue, 20 Jul 2021 01:33:08 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=0rZWPPWHNJH+2QbLWZOE4pgGXGdlj796mYGgPUCoQCI=; t=1626761627;x=1627367027; b=XBlzcOTRdhGMa+3PXtLymO1JDfewcQtcr8X3jG930c9EoAwiMPLl1gegPcVPHAUgHgxhaDd4uNnJT8Y7VMZtKSHMt/ZgBjULaxIqvuqRXfqLqzYitXbfkApULQk/x7tQZzZ9mLflrUry1pY0bJWmpeSTGajmk0dNiNp6uAKq3fg=; Received: from [10.161.64.61] (port=52976 helo=smtp53.i.mail.ru) by fallback22.m.smailru.net with esmtp (envelope-from <fido_max@inbox.ru>) id 1m5hxu-0007gU-B8; Tue, 20 Jul 2021 08:06:46 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:Cc:To:From:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=0rZWPPWHNJH+2QbLWZOE4pgGXGdlj796mYGgPUCoQCI=; t=1626757606;x=1627363006; b=FrQCBuE9HvtEZDF6OP68jj+viWqpwwnBZxQUkBkv7rjefT/kwZNtN8q7nrCceKI8PBzoeAicKAZYhQ+qcDOXDBKIS4VI9hxPoK6wn2HXXm1+QY7OpZ6zMbWRdK6cTPQ9aWMtXcudnLv7HdDRL5uh+QQcxtVY8CKQcww5Gk/ZYOg=; Received: by smtp53.i.mail.ru with esmtpa (envelope-from <fido_max@inbox.ru>) id 1m5hxo-00072q-JP; Tue, 20 Jul 2021 08:06:40 +0300 From: Maxim Kochetkov <fido_max@inbox.ru> To: netdev@vger.kernel.org Cc: madalin.bucur@nxp.com, davem@davemloft.net, kuba@kernel.org, Maxim Kochetkov <fido_max@inbox.ru> Subject: [PATCH] fsl/fman: Add fibre support Date: Tue, 20 Jul 2021 08:08:38 +0300 Message-Id: <20210720050838.7635-1-fido_max@inbox.ru> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD941C43E597735A9C320FB367CC9CBEE800EEBD3117ABA9A5B182A05F538085040947C0DA991336AD699D8D8A227961808A6E6AC6C23A75F804A552CDE3F986103 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE79CCD1D12379CC213EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637CF20B9B7F5DD35A68638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D8229952B42FDEFF0516E8FA0F747A484F6F9789CCF6C18C3F8528715B7D10C86859CC434672EE6371117882F4460429724CE54428C33FAD305F5C1EE8F4F765FCE96A3A8AAADC8934A471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F4460429728776938767073520140C956E756FBB7AE5D25F19253116ADD2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EED58E677C372A3F473D5BA627BF9F2FCFD8FC6C240DEA7642DBF02ECDB25306B2B78CF848AE20165D0A6AB1C7CE11FEE3DA532D2019E286A7040F9FF01DFDA4A8C4224003CC836476EA7A3FFF5B025636E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F790063747074E5DE1517656EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CBC3D6B4D9834ECA76A0CE80C6CC1B8969B628DC631F27E729C2B6934AE262D3EE7EAB7254005DCEDCF20510D834BC2AB1E0A4E2319210D9B64D260DF9561598F01A9E91200F654B057E988E9157162368E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D343C45ADCD169245FA04A39B37CE1D92C554B460C51D1062EB5BFF1B055C6D45527F539BC15C5067201D7E09C32AA3244C38FE30566DD024FE9328553C2C683F7751E887DA02A9F7BF83B48618A63566E0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojL49Xu4qyFBlicNdbqBadlw== X-Mailru-Sender: 11C2EC085EDE56FA9C10FA2967F5AB2445E1E9937040A48D6A19A8DD1EA0C9F104350204A74E1B54EE9242D420CFEBFD3DDE9B364B0DF2891A624F84B2C74EDA4239CF2AF0A6D4F80DA7A0AF5A3A8387 X-Mras: Ok X-7564579A: 78E4E2B564C1792B X-77F55803: 6242723A09DB00B4DE24245422D83CE6F6EF26CB7A2DAAF249FB401A954796FC049FFFDB7839CE9E74D7C836B7A62AF3BFD6B308691DA3D73CF1238BA37083DF7273B54D37DD1755 X-7FA49CB5: 0D63561A33F958A5E0A2873E0D5BC1ADE99035351E34702A426A2F7AA07898C3CACD7DF95DA8FC8BD5E8D9A59859A8B64071617579528AACCC7F00164DA146DAFE8445B8C89999728AA50765F79006371CE0A079F1B3D4BD389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC8D2B897A0B7B208E1F6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947C4B6F6234D9065C97302FCEF25BFAB3454AD6D5ED66289B52698AB9A7B718F8C442539A7722CA490CD5E8D9A59859A8B65B4C35AC65A386B3089D37D7C0E48F6C5571747095F342E88FB05168BE4CE3AF X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CBC3D6B4D9834ECA7ABFDFD3ACF8ADA85487B51BC146EE5099C2B6934AE262D3EE7EAB7254005DCEDCF20510D834BC2AB699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojL49Xu4qyFBm1fKXPphzxsA== X-Mailru-MI: 800 X-Mailru-Sender: A5480F10D64C9005756D98BBC07C3822CB95AEC8EA560BF8679B184C60CCB30AE1934491450442A6C099ADC76E806A99D50E20E2BC48EF5A30D242760C51EA9CEAB4BC95F72C04283CDA0F3B3F5B9367 X-Mras: Ok Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org |
Series |
fsl/fman: Add fibre support
|
expand
|
diff --git a/drivers/net/ethernet/freescale/fman/mac.c b/drivers/net/ethernet/freescale/fman/mac.c index 46ecb42f2ef8..d9fc5c456bf3 100644 --- a/drivers/net/ethernet/freescale/fman/mac.c +++ b/drivers/net/ethernet/freescale/fman/mac.c @@ -524,6 +524,7 @@ static void setup_memac(struct mac_device *mac_dev) | SUPPORTED_Autoneg \ | SUPPORTED_Pause \ | SUPPORTED_Asym_Pause \ + | SUPPORTED_FIBRE \ | SUPPORTED_MII) static DEFINE_MUTEX(eth_lock);
Set SUPPORTED_FIBRE to mac_dev->if_support. It allows proper usage of PHYs with optical/fiber support. Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru> --- drivers/net/ethernet/freescale/fman/mac.c | 1 + 1 file changed, 1 insertion(+)