Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753077AbbGFErx (ORCPT ); Mon, 6 Jul 2015 00:47:53 -0400 Received: from mail-bl2on0061.outbound.protection.outlook.com ([65.55.169.61]:37088 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751134AbbGFEro (ORCPT ); Mon, 6 Jul 2015 00:47:44 -0400 X-Greylist: delayed 881 seconds by postgrey-1.27 at vger.kernel.org; Mon, 06 Jul 2015 00:47:43 EDT Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none; From: Punnaiah Choudary Kalluri To: nicolas.ferre@atmel.com CC: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, harinik@xilinx.com, michals@xilinx.com, Punnaiah Choudary Kalluri Subject: [PATCH] net: macb: Add SG support for Zynq SOC family Date: Mon, 6 Jul 2015 10:02:53 +0530 Message-ID: <1436157173-27278-1-git-send-email-punnaia@xilinx.com> X-Mailer: git-send-email 1.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-21656.006 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD024;1:AXYfeJAk6GZ5PI1sZhdZyKDcE5ed/fTqMvT1BrTuDiTqT/Uiz6CN1sw9CNBwZ0vnB6DKJb6JrdFkH1TX3UEBERoDL3/KdGNEUMEZIw6JR8xEF9HaeW1/jNQkK+dTA+mmIA0g+chXoilWbq+h251QwP+7ZUFGwIm2AYMsbGxqEijgLggZk64YyQiYBvMqfxL7hWMWduWpOVtIhl5Z6NDG1do3X+aMIfc4T5uws9LZR8HiI62W3jRLHYDFOaEG48PSgj4NyioAR2NpSXkrADZkvXuioCvdr7wm1LhhBMgcufLWNEhUyzmNJWZPTfBdkmDF X-Forefront-Antispam-Report: CIP:149.199.60.100;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(48376002)(33646002)(50466002)(5001960100002)(50226001)(63266004)(46386002)(6806004)(19580405001)(19580395003)(189998001)(87936001)(42186005)(52956003)(107886002)(229853001)(86362001)(110136002)(2361001)(36756003)(46102003)(103686003)(50986999)(62966003)(106466001)(77156002)(47776003)(92566002)(36386004)(2351001)(107986001)(90966001)(4001430100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BL2FFO11HUB029;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;MLV:sfv;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB029;2:q/Lc0KM11TnrISBNGpzqVOBGxk+ir0Gv69pAybgFvJdnw/eOUPoqj8VVzhqRg0JI;3:BsS0brFTlL9+B+ztnm8hBgGdQpATUfnbQRVTEyvhr1+u8IuZRokBFsvHV3s+hhJFvHQpTbI/EJLqfOpUbwnDfWZaFoJmY3zMuFCAEVQVUT6DDB6v4Tb3cmIfPFDN+60ksBYzK4+wFUwuOcEeXxdCIgmL2LXvSjGExX5UaObtKvjJ6odx1boVE3qoOqGmvui+yzKJ+cyOQyY0297kxHuTDg+fieyas46QAM9p1SMXVkmRCRBdGSUClinqNXJ1sMe8;20:ZxYs1aecIgF6OlSnlUi9DYXeEQ7v873tKlxOOt2JnEzS3d/SfTsydIgpBKzkqrSxVH1HnVXye7ASDtUMTOupZSoSUiF0GoFXO+jwv4XMV8HQOLkWmBVQ/viSiJCktD5K/BbMBbM1Qd3P8WxaTXzfg9CuiktD0nWytOXmhbJ/GuY9JIezct5WIL2yCvNmGRO+V+O+S3stvNEXtKwdAK6TFSb8LA6XKVVwTrc1sdHIw3VkAEEdIt03emvTvww+/f6VnFCgYEym6125ld3nVpsJtJrHJB7MkfzeB4Ojey1QrmJuILg5GEIvqVjNx6Nt+++gEnrsvJZwSURxNN0QSuFdGM2bATv1QK4ukJtLZzEjWcq+pmmXlkJfDwzLtm3LEaxLjFNKEGijQa35UUbbKnH0EE9xGRSIyHWcyseYHPxlfXvb15fjQi9CLEj1kgkIQ2a+fRcQs/zbuDQGk+sNsmkMx4SEVP3P83eL6/cTAfAR5emlyGrwuQNrORZIPsf4awte X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB029; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BL2FFO11HUB029;BCL:0;PCL:0;RULEID:;SRVR:BL2FFO11HUB029; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11HUB029;4:aT+kRzM0ZqnCkh3cYOi97GFksMW1b82twpj/jGeU7Na4phMeYJa31NEj5jxeZOOVVqpBviWa0bWDfsHzSfhJbeH1JSoBcdm9W+2N3Un57gOB1yalV27UJZ2bwddz6TA/V6R8tmo8HpKVvJ95QjlPaBg8iWlgfjsaxlEjyVOd5UT+feBwNeclt6wlyxTWLgpjvThv/QwZ4H9pKgWCsn5hlTfh4vFMX1xAhDuj2w6NJedfGRldFvEas5oGEV37pKLZXt/nlavh/6EH4v4agr898ZULp+P36a7bKTFs6WJ0/CE= X-Forefront-PRVS: 06290ECA9D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BL2FFO11HUB029;23:5qWe3gOTVFOnAiAS9eqEIYYydQ71AnFhuZivOfz1?= =?us-ascii?Q?hkFKExnmymmCT0JhBtT9WbcbgvuiKdgGqgVD78mXNAYi0QuiJib9LUV6WS+S?= =?us-ascii?Q?sjSMjx1PGEPHAJ2+rGDOF/0Oj2tcCcsl8U9qiVAWSEP2Kxl1he4yImSbWV0L?= =?us-ascii?Q?cBYOlKSiFMvxjq9hm1ABTcgefgo8hkffFB+MqPTpLcdlWgO1sN93nq7a+TzL?= =?us-ascii?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h23mqNoxejDfteON7UWbhoh/kazJizGCgNvMtH2dQraD1lET5JDuyajTuD5pbnDdjBYQjfbpGu7FIafST0hk1odaA0hA==;24:FjiAGFWQUmQtdbi9x9oayk44qN96yHgQ7y4LJcJA+yU3TAT64EUA48XTo6Lqa9HQMknJxsgH1btJa2Us2Kswsp/w0i4yGKXtWmL4dCGo410= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2015 04:32:59.9031 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2FFO11HUB029 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1399 Lines: 39 Enable SG support for Zynq SOC family devices. Signed-off-by: Punnaiah Choudary Kalluri --- drivers/net/ethernet/cadence/macb.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index caeb395..a4e3f86 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/ethernet/cadence/macb.c @@ -2741,8 +2741,7 @@ static const struct macb_config emac_config = { static const struct macb_config zynqmp_config = { - .caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE | - MACB_CAPS_JUMBO, + .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_JUMBO, .dma_burst_length = 16, .clk_init = macb_clk_init, .init = macb_init, @@ -2750,8 +2749,7 @@ static const struct macb_config zynqmp_config = { }; static const struct macb_config zynq_config = { - .caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE | - MACB_CAPS_NO_GIGABIT_HALF, + .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_NO_GIGABIT_HALF, .dma_burst_length = 16, .clk_init = macb_clk_init, .init = macb_init, -- 1.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/