Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: sh_eth: Add r8a7794 support

Signed-off-by: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
[uli: added bindings documentation]
Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Hisashi Nakamura and committed by
David S. Miller
0f76b9d8 58e70b59

+3
+1
Documentation/devicetree/bindings/net/sh_eth.txt
··· 9 9 "renesas,ether-r8a7779" if the device is a part of R8A7779 SoC. 10 10 "renesas,ether-r8a7790" if the device is a part of R8A7790 SoC. 11 11 "renesas,ether-r8a7791" if the device is a part of R8A7791 SoC. 12 + "renesas,ether-r8a7794" if the device is a part of R8A7794 SoC. 12 13 "renesas,ether-r7s72100" if the device is a part of R7S72100 SoC. 13 14 - reg: offset and length of (1) the E-DMAC/feLic register block (required), 14 15 (2) the TSU register block (optional).
+2
drivers/net/ethernet/renesas/sh_eth.c
··· 2746 2746 { .compatible = "renesas,ether-r8a7779", .data = &r8a777x_data }, 2747 2747 { .compatible = "renesas,ether-r8a7790", .data = &r8a779x_data }, 2748 2748 { .compatible = "renesas,ether-r8a7791", .data = &r8a779x_data }, 2749 + { .compatible = "renesas,ether-r8a7794", .data = &r8a779x_data }, 2749 2750 { .compatible = "renesas,ether-r7s72100", .data = &r7s72100_data }, 2750 2751 { } 2751 2752 }; ··· 2973 2972 { "r8a777x-ether", (kernel_ulong_t)&r8a777x_data }, 2974 2973 { "r8a7790-ether", (kernel_ulong_t)&r8a779x_data }, 2975 2974 { "r8a7791-ether", (kernel_ulong_t)&r8a779x_data }, 2975 + { "r8a7794-ether", (kernel_ulong_t)&r8a779x_data }, 2976 2976 { } 2977 2977 }; 2978 2978 MODULE_DEVICE_TABLE(platform, sh_eth_id_table);