[RFC] Attempt to add fixed link functionality to macb

From: Moritz Fischer
Date: Sun Mar 06 2016 - 14:50:19 EST


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