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:
parent
a8f63a0717
commit
ed43a4d4ac
7 changed files with 13682 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
3497
target/linux/sunxi/patches-4.9/0050-stmmac-form-4-10.patch
Normal file
3497
target/linux/sunxi/patches-4.9/0050-stmmac-form-4-10.patch
Normal file
File diff suppressed because it is too large
Load diff
2305
target/linux/sunxi/patches-4.9/0051-stmmac-form-4-11.patch
Normal file
2305
target/linux/sunxi/patches-4.9/0051-stmmac-form-4-11.patch
Normal file
File diff suppressed because it is too large
Load diff
5952
target/linux/sunxi/patches-4.9/0052-stmmac-form-4-12.patch
Normal file
5952
target/linux/sunxi/patches-4.9/0052-stmmac-form-4-12.patch
Normal file
File diff suppressed because it is too large
Load diff
1924
target/linux/sunxi/patches-4.9/0053-stmmac-form-4-13.patch
Normal file
1924
target/linux/sunxi/patches-4.9/0053-stmmac-form-4-13.patch
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue