瀏覽代碼

package/kernel: add package for the Gianfar PTP driver

PTP for gianfar can be built as a module. Create a package for it.

[juhosg: remove the mp85xx specific patch]

Patchwork: http://patchwork.openwrt.org/patch/3344/
Signed-off-by: Wojciech Dubowik <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>

SVN-Revision: 35706
Gabor Juhos 13 年之前
父節點
當前提交
316706b09c
共有 1 個文件被更改,包括 17 次插入0 次删除
  1. 17 0
      package/kernel/modules/other.mk

+ 17 - 0
package/kernel/modules/other.mk

@@ -636,3 +636,20 @@ define KernelPacakge/ptp/description
 endef
 
 $(eval $(call KernelPackage,ptp))
+
+
+define KernelPackage/ptp-gianfar
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Freescale Gianfar PTP support
+  DEPENDS:=@TARGET_mpc85xx +kmod-gianfar +kmod-ptp
+  KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR
+  FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko
+  AUTOLOAD:=$(call AutoLoad,51,gianfar_ptp)
+endef
+
+define KernelPacakge/ptp-gianfar/description
+  Kernel module for IEEE 1588 support for Freescale
+  Gianfar Ethernet drivers.
+endef
+
+$(eval $(call KernelPackage,ptp-gianfar))