1
0

0001-add-support-for-futro.patch 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. From 7c749b9250367d6eb4c1d0b978cecc13c1a5e919 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Karsten=20B=C3=B6ddeker?= <freifunk@kb-light.de>
  3. Date: Thu, 15 Oct 2015 16:35:06 +0200
  4. Subject: [PATCH] add support for futro
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Karsten Böddeker <freifunk@kb-light.de>
  9. ---
  10. patches/openwrt/1000-Add-support-for-futro.patch | 50 ++++++++++++++++++++++++
  11. targets/x86-generic/profiles.mk | 4 +-
  12. 2 files changed, 53 insertions(+), 1 deletion(-)
  13. create mode 100644 patches/openwrt/1000-Add-support-for-futro.patch
  14. diff --git a/patches/openwrt/1000-Add-support-for-futro.patch b/patches/openwrt/1000-Add-support-for-futro.patch
  15. new file mode 100644
  16. index 0000000..9efa901
  17. --- /dev/null
  18. +++ b/patches/openwrt/1000-Add-support-for-futro.patch
  19. @@ -0,0 +1,50 @@
  20. +From: Karsten Böddeker <freifunk@kb-light.de>
  21. +Date: Thu, 15 Oct 2015 14:40:53 +0200
  22. +Subject: Add support for futro
  23. +
  24. +diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
  25. +index 96c899a..0c531ca 100644
  26. +--- a/package/kernel/linux/modules/usb.mk
  27. ++++ b/package/kernel/linux/modules/usb.mk
  28. +@@ -1439,3 +1439,32 @@ define KernelPackage/usb3/description
  29. + endef
  30. +
  31. + $(eval $(call KernelPackage,usb3))
  32. ++
  33. ++define KernelPackage/usb-net-rtl8150
  34. ++ TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
  35. ++ KCONFIG:=CONFIG_USB_RTL8150
  36. ++ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/rtl8150.ko
  37. ++ AUTOLOAD:=$(call AutoProbe,rtl8150)
  38. ++ $(call AddDepends/usb-net)
  39. ++endef
  40. ++
  41. ++define KernelPackage/usb-net-rtl8150/description
  42. ++ Kernel module for USB-to-Ethernet Realtek 8150 convertors
  43. ++endef
  44. ++
  45. ++$(eval $(call KernelPackage,usb-net-rtl8150))
  46. ++
  47. ++
  48. ++define KernelPackage/usb-net-rtl8152
  49. ++ TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
  50. ++ KCONFIG:=CONFIG_USB_RTL8152
  51. ++ FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/r8152.ko
  52. ++ AUTOLOAD:=$(call AutoProbe,r8152)
  53. ++ $(call AddDepends/usb-net)
  54. ++endef
  55. ++
  56. ++define KernelPackage/usb-net-rtl8152/description
  57. ++ Kernel module for USB-to-Ethernet Realtek 8152 USB2.0/3.0 convertors
  58. ++endef
  59. ++
  60. ++$(eval $(call KernelPackage,usb-net-rtl8152))
  61. +diff --git a/target/linux/x86/generic/config-3.10 b/target/linux/x86/generic/config-3.10
  62. +index 2babaab..12d1c7f 100644
  63. +--- a/target/linux/x86/generic/config-3.10
  64. ++++ b/target/linux/x86/generic/config-3.10
  65. +@@ -201,3 +201,4 @@ CONFIG_VT_CONSOLE=y
  66. + CONFIG_X86_PM_TIMER=y
  67. + # CONFIG_XO15_EBOOK is not set
  68. + # CONFIG_ZISOFS is not set
  69. ++CONFIG_PATA_ATIIXP=y
  70. diff --git a/targets/x86-generic/profiles.mk b/targets/x86-generic/profiles.mk
  71. index b6551a7..a8a068d 100644
  72. --- a/targets/x86-generic/profiles.mk
  73. +++ b/targets/x86-generic/profiles.mk
  74. @@ -1,4 +1,6 @@
  75. -X86_GENERIC_NETWORK_MODULES := kmod-3c59x kmod-e100 kmod-e1000 kmod-e1000e kmod-natsemi kmod-ne2k-pci kmod-pcnet32 kmod-8139too kmod-r8169 kmod-sis900 kmod-tg3 kmod-via-rhine kmod-via-velocity
  76. +X86_GENERIC_NETWORK_MODULES := kmod-3c59x kmod-e100 kmod-e1000 kmod-e1000e kmod-natsemi kmod-ne2k-pci kmod-pcnet32 kmod-8139too kmod-r8169 kmod-sis900 kmod-tg3 kmod-via-rhine kmod-via-velocity \
  77. + kmod-usb-core kmod-usb2 kmod-usb-hid kmod-usb-net kmod-usb-net-asix kmod-usb-net-rtl8150 kmod-usb-net-rtl8152
  78. +
  79. $(eval $(call GluonProfile,GENERIC,$(X86_GENERIC_NETWORK_MODULES)))
  80. --
  81. 2.1.4