700-oxnas-dwmac.patch 1.0 KB

1234567891011121314151617181920212223242526272829
  1. --- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
  2. +++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
  3. @@ -69,6 +69,16 @@ config DWMAC_MESON
  4. the stmmac device driver. This driver is used for Meson6 and
  5. Meson8 SoCs.
  6. +config DWMAC_OXNAS
  7. + tristate "Oxnas gmac support"
  8. + default ARCH_OXNAS
  9. + depends on OF && ARCH_OXNAS
  10. + help
  11. + Support for Ethernet controller on Oxnas SoCs.
  12. +
  13. + This selects the Oxford OX82x SoC glue layer support for
  14. + the stmmac device driver.
  15. +
  16. config DWMAC_ROCKCHIP
  17. tristate "Rockchip dwmac support"
  18. default ARCH_ROCKCHIP
  19. --- a/drivers/net/ethernet/stmicro/stmmac/Makefile
  20. +++ b/drivers/net/ethernet/stmicro/stmmac/Makefile
  21. @@ -9,6 +9,7 @@ obj-$(CONFIG_STMMAC_PLATFORM) += stmmac-
  22. obj-$(CONFIG_DWMAC_IPQ806X) += dwmac-ipq806x.o
  23. obj-$(CONFIG_DWMAC_LPC18XX) += dwmac-lpc18xx.o
  24. obj-$(CONFIG_DWMAC_MESON) += dwmac-meson.o
  25. +obj-$(CONFIG_DWMAC_OXNAS) += dwmac-oxnas.o
  26. obj-$(CONFIG_DWMAC_ROCKCHIP) += dwmac-rk.o
  27. obj-$(CONFIG_DWMAC_SOCFPGA) += dwmac-socfpga.o
  28. obj-$(CONFIG_DWMAC_STI) += dwmac-sti.o