Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751319AbcCFTt5 (ORCPT ); Sun, 6 Mar 2016 14:49:57 -0500 Received: from mail-ob0-f182.google.com ([209.85.214.182]:33686 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbcCFTtr (ORCPT ); Sun, 6 Mar 2016 14:49:47 -0500 From: Moritz Fischer To: nicolas.ferre@atmel.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Moritz Fischer Subject: [RFC] Attempt to add fixed link functionality to macb Date: Sun, 6 Mar 2016 11:49:37 -0800 Message-Id: <1457293778-13804-1-git-send-email-moritz.fischer@ettus.com> X-Mailer: git-send-email 2.7.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 657 Lines: 22 Hi all, I'm trying to make the dt 'fixed-link' work with the Zynq's GEM on my board. The endgoal will be to hook it up to an ethernet switch in the PL (FPGA) logic. Does the attached patch look halfway reasonable? Note the code is pretty hacky, and it's not 100% working, so I'm more looking for pointers on obvious mistakes than for a thorough code review. Thanks in advance, Moritz Moritz Fischer (1): net: macb: Attempt to make fixed link working on macb drivers/net/ethernet/cadence/macb.c | 63 ++++++++++++++++++++++++------------- drivers/net/ethernet/cadence/macb.h | 1 + 2 files changed, 43 insertions(+), 21 deletions(-) -- 2.7.2