]> 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>
Fri, 5 Apr 2013 08:32:17 +0000 (10:32 +0200)
commit13b09a115b259fd77ccb138708e8a417fa07e96a
tree978c80c61e593669f16eb87c43f61ce86d2960e8
parent8e78205efc65837ee725262263e132ffdff48d9a
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