0035-NET-MIPS-add-ralink-SoC-ethernet-driver.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From c55d6cf3e2c593bf7d228c6532ec9bd8da82e09d Mon Sep 17 00:00:00 2001
  2. From: John Crispin <blogic@openwrt.org>
  3. Date: Mon, 22 Apr 2013 23:20:03 +0200
  4. Subject: [PATCH 35/57] NET: MIPS: add ralink SoC ethernet driver
  5. Add support for Ralink FE and ESW.
  6. Signed-off-by: John Crispin <blogic@openwrt.org>
  7. ---
  8. --- a/arch/mips/ralink/rt305x.c
  9. +++ b/arch/mips/ralink/rt305x.c
  10. @@ -199,6 +199,7 @@ void __init ralink_clk_init(void)
  11. }
  12. ralink_clk_add("cpu", cpu_rate);
  13. + ralink_clk_add("sys", sys_rate);
  14. ralink_clk_add("10000b00.spi", sys_rate);
  15. ralink_clk_add("10000100.timer", wdt_rate);
  16. ralink_clk_add("10000120.watchdog", wdt_rate);
  17. --- a/drivers/net/ethernet/Kconfig
  18. +++ b/drivers/net/ethernet/Kconfig
  19. @@ -152,6 +152,7 @@ source "drivers/net/ethernet/packetengin
  20. source "drivers/net/ethernet/pasemi/Kconfig"
  21. source "drivers/net/ethernet/qlogic/Kconfig"
  22. source "drivers/net/ethernet/qualcomm/Kconfig"
  23. +source "drivers/net/ethernet/ralink/Kconfig"
  24. source "drivers/net/ethernet/realtek/Kconfig"
  25. source "drivers/net/ethernet/renesas/Kconfig"
  26. source "drivers/net/ethernet/rdc/Kconfig"
  27. --- a/drivers/net/ethernet/Makefile
  28. +++ b/drivers/net/ethernet/Makefile
  29. @@ -62,6 +62,7 @@ obj-$(CONFIG_NET_PACKET_ENGINE) += packe
  30. obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
  31. obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
  32. obj-$(CONFIG_NET_VENDOR_QUALCOMM) += qualcomm/
  33. +obj-$(CONFIG_NET_RALINK) += ralink/
  34. obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
  35. obj-$(CONFIG_SH_ETH) += renesas/
  36. obj-$(CONFIG_NET_VENDOR_RDC) += rdc/