drivers: net: xgene: Fix the ACPI support for RGMII/SGMII0/XFI interface of APM X...
authorSuman Tripathi <stripathi@apm.com>
Tue, 23 Jun 2015 09:17:14 +0000 (14:47 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2015 14:19:18 +0000 (07:19 -0700)
commit0738c54d63249bd4a51aa2e899877c8316f19957
tree216502bacd393cb2dd169006ebfd4bbfee2d87cc
parent0dd0770936363ecd4d49192782bceccb882d3a24
drivers: net: xgene: Fix the ACPI support for RGMII/SGMII0/XFI interface of APM X-Gene SoC ethernet controller.

This patch implements couple of fixes to support ACPI for RGMII/SGMII0/XFI
interface of APM X-Gene SoC ethernet controller driver. This patch uses
the _SUN acpi object to fetch the port-id information whereas the FDT uses
port-id binding for port-id information.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: Suman Tripathi <stripathi@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.c