arc: use ezchip network driver
Subsystems (2)
PATCH 1/1 arc: use ezchip network driver
Since ezchip network driver was adapted to little endian architecture this patch provides the corresponding arch/arc/{boot/dts,configs}/ updates so we can switch over to this device-model/driver for OSCI platform.
Signed-off-by Lada Trimasova <ltrimas at synopsys.com>
Cc Alexey Brodkin <abrodkin at synopsys.com>
Cc Vineet Gupta <vgupta at synopsys.com>:
--- arch/arc/boot/dts/nsimosci.dts | 5 ++--- arch/arc/boot/dts/nsimosci_hs.dts | 5 ++--- arch/arc/boot/dts/nsimosci_hs_idu.dts | 5 ++--- arch/arc/configs/nsimosci_defconfig | 1 + arch/arc/configs/nsimosci_hs_defconfig | 1 + arch/arc/configs/nsimosci_hs_smp_defconfig | 1 + 6 files changed, 9 insertions(+), 9 deletions(-)
arch/arc/boot/dts/nsimosci.dts +2 -3
@@ -65,10 +65,9 @@ }; eth0: ethernet at f0003000 { - compatible = "snps,oscilan"; + compatible = "ezchip,nps-mgt-enet"; reg = <0xf0003000 0x44>; - interrupts = <7>, <8>; - interrupt-names = "rx", "tx"; + interrupts = <7>; }; }; };
arch/arc/boot/dts/nsimosci_hs.dts +2 -3
@@ -65,10 +65,9 @@ }; eth0: ethernet at f0003000 { - compatible = "snps,oscilan"; + compatible = "ezchip,nps-mgt-enet"; reg = <0xf0003000 0x44>; - interrupts = <25>, <26>; - interrupt-names = "rx", "tx"; + interrupts = <25>; }; arcpct0: pct {
arch/arc/boot/dts/nsimosci_hs_idu.dts +2 -3
@@ -85,11 +85,10 @@ }; eth0: ethernet at f0003000 { - compatible = "snps,oscilan"; + compatible = "ezchip,nps-mgt-enet"; reg = <0xf0003000 0x44>; interrupt-parent = <&idu_intc>; - interrupts = <1 2>, <2 2>; - interrupt-names = "rx", "tx"; + interrupts = <1 2>; }; arcpct0: pct {
arch/arc/configs/nsimosci_defconfig +1 -0
@@ -27,6 +27,7 @@ CONFIG_ARC_PLAT_SIM=y CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci" # CONFIG_COMPACTION is not set CONFIG_NET=y +CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_UNIX_DIAG=y
arch/arc/configs/nsimosci_hs_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_ISA_ARCV2=y CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs" # CONFIG_COMPACTION is not set CONFIG_NET=y +CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_UNIX_DIAG=y
arch/arc/configs/nsimosci_hs_smp_defconfig +1 -0
@@ -25,6 +25,7 @@ CONFIG_ARC_BUILTIN_DTB_NAME="nsimosci_hs_idu" CONFIG_PREEMPT=y # CONFIG_COMPACTION is not set CONFIG_NET=y +CONFIG_EZCHIP_NPS_MANAGEMENT_ENET=y CONFIG_PACKET=y CONFIG_PACKET_DIAG=y CONFIG_UNIX=y
Signature · 1 line
2.5.0