Просмотр исходного кода

kernel: add packaging for Xeon iTCO watchdog timer

Signed-off-by: Philip Prindeville <[email protected]>
Philip Prindeville 8 лет назад
Родитель
Сommit
344fde35e3
2 измененных файлов с 18 добавлено и 1 удалено
  1. 17 0
      package/kernel/linux/modules/other.mk
  2. 1 1
      target/linux/x86/64/config-default

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

@@ -1044,3 +1044,20 @@ define KernelPackage/w83627hf-wdt/description
 endef
 
 $(eval $(call KernelPackage,w83627hf-wdt))
+
+
+define KernelPackage/itco-wdt
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Intel iTCO Watchdog Timer
+  KCONFIG:=CONFIG_ITCO_WDT \
+           CONFIG_ITCO_VENDOR_SUPPORT=y
+  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_wdt.ko \
+         $(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/iTCO_vendor_support.ko
+  AUTOLOAD:=$(call AutoLoad,50,iTCO_vendor_support iTCO_wdt,1)
+endef
+
+define KernelPackage/itco-wdt/description
+  Kernel module for Intel iTCO Watchdog Timer
+endef
+
+$(eval $(call KernelPackage,itco-wdt))

+ 1 - 1
target/linux/x86/64/config-default

@@ -201,7 +201,7 @@ CONFIG_INTEL_IDLE=y
 # CONFIG_IOMMU_DEBUG is not set
 # CONFIG_ISCSI_IBFT_FIND is not set
 # CONFIG_ITCO_VENDOR_SUPPORT is not set
-CONFIG_ITCO_WDT=y
+# CONFIG_ITCO_WDT is not set
 CONFIG_KALLSYMS_ABSOLUTE_PERCPU=y
 # CONFIG_KVM_DEBUG_FS is not set
 CONFIG_KVM_GUEST=y