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>
master
Hauke Mehrtens 7 years ago
parent a8f63a0717
commit ed43a4d4ac
  1. 2
      target/linux/sunxi/config-4.9
  2. 1
      target/linux/sunxi/cortexa53/config-default
  3. 1
      target/linux/sunxi/cortexa7/config-default
  4. 3497
      target/linux/sunxi/patches-4.9/0050-stmmac-form-4-10.patch
  5. 2305
      target/linux/sunxi/patches-4.9/0051-stmmac-form-4-11.patch
  6. 5952
      target/linux/sunxi/patches-4.9/0052-stmmac-form-4-12.patch
  7. 1924
      target/linux/sunxi/patches-4.9/0053-stmmac-form-4-13.patch

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

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

@ -1,3 +1,4 @@
CONFIG_DWMAC_SUN8I=y
# CONFIG_MACH_SUN4I is not set # CONFIG_MACH_SUN4I is not set
# CONFIG_MACH_SUN5I is not set # CONFIG_MACH_SUN5I is not set
# CONFIG_PINCTRL_GR8 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
Loading…
Cancel
Save