]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
xilinx_emacps: Add support for EMIO
authorAnirudha Sarangi <anirudh@xilinx.com>
Wed, 3 Apr 2013 17:36:56 +0000 (23:06 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 4 Apr 2013 05:46:06 +0000 (07:46 +0200)
commit38bfe40c7988d60fc13d60e0de7323871a8de0ea
treec1bd2294df144253d66748b05e28c4ecafac4b8a
parent2c27a1c2a0980f6a0209944ba53475617bfe8ba0
xilinx_emacps: Add support for EMIO

The existing implementation was hardcoding the PHY interface as
RGMII (MIO case). This patch makes the implementation flexible by
assuming that the information regarding the PHY interface will come
from the device tree. This will ensure that the driver takes care of
both MIO (RGMII) and EMIO (GMII) cases.

Signed-off-by: Anirudha Sarangi <anirudh@xilinx.com>
drivers/net/ethernet/xilinx/xilinx_emacps.c