sunxi: backport the stmmac driver from kernel 4.13

This adds support for the GMAC which is use in the A64 and other
Allwinner chips by backporting the changes from the kernel versions
4.13.

Some commits are not backported which are adding support for newly
introduced APIs which are not available in kernel 4.9.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2017-09-21 22:10:08 +02:00
parent a8f63a0717
commit ed43a4d4ac
7 changed files with 13682 additions and 0 deletions

View file

@ -146,7 +146,9 @@ CONFIG_DMA_VIRTUAL_CHANNELS=y
CONFIG_DNOTIFY=y
CONFIG_DTC=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_DWMAC_DWC_QOS_ETH is not set
CONFIG_DWMAC_GENERIC=y
# CONFIG_DWMAC_SUN8I is not set
CONFIG_DWMAC_SUNXI=y
CONFIG_DYNAMIC_DEBUG=y
CONFIG_EDAC_ATOMIC_SCRUB=y

View file

@ -43,6 +43,7 @@ CONFIG_COMMON_CLK_XGENE=y
# CONFIG_COMPAT is not set
# CONFIG_DEBUG_ALIGN_RODATA is not set
CONFIG_DEBUG_RODATA=y
CONFIG_DWMAC_SUN8I=y
CONFIG_FRAME_POINTER=y
# CONFIG_FSL_ERRATUM_A008585 is not set
CONFIG_GENERIC_BUG_RELATIVE_POINTERS=y

View file

@ -1,3 +1,4 @@
CONFIG_DWMAC_SUN8I=y
# CONFIG_MACH_SUN4I is not set
# CONFIG_MACH_SUN5I is not set
# CONFIG_PINCTRL_GR8 is not set

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff