X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=package%2Fkernel%2Flinux%2Fmodules%2Fother.mk;h=960d6fd80fba83449a8203f2b4c87f003f4177c1;hb=2a38e94dec5cc5d586140af2fc9a4271d96865f5;hp=387090aec3aa5685518c552c01734b8c8a8595db;hpb=2d40512fc212bb5af0d18cf1cd34ec56bb325fec;p=openwrt.git diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 387090aec3..960d6fd80f 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -247,7 +247,7 @@ define KernelPackage/rfkill FILES:= \ $(LINUX_DIR)/net/rfkill/rfkill.ko AUTOLOAD:=$(call AutoLoad,20,rfkill) - $(call SetDepends/rfkill) + $(call SetDepends/rfkill,+kmod-input-core) endef define KernelPackage/rfkill/description @@ -640,7 +640,7 @@ define KernelPackage/pps TITLE:=PPS support KCONFIG:=CONFIG_PPS FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko - AUTOLOAD:=$(call AutoLoad,20,pps_core) + AUTOLOAD:=$(call AutoLoad,17,pps_core,1) endef define KernelPacakge/pps/description @@ -658,7 +658,7 @@ define KernelPackage/ptp DEPENDS:=+kmod-pps KCONFIG:=CONFIG_PTP_1588_CLOCK FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko - AUTOLOAD:=$(call AutoLoad,25,ptp) + AUTOLOAD:=$(call AutoLoad,18,ptp,1) endef define KernelPacakge/ptp/description @@ -684,3 +684,17 @@ define KernelPacakge/ptp-gianfar/description endef $(eval $(call KernelPackage,ptp-gianfar)) + +define KernelPackage/random-core + SUBMENU:=$(OTHER_MENU) + TITLE:=Hardware Random Number Generator Core support + KCONFIG:=CONFIG_HW_RANDOM + FILES:=$(LINUX_DIR)/drivers/char/hw_random/rng-core.ko + AUTOLOAD:=$(call AutoLoad,10,rng-core) +endef + +define KernelPackage/random-core/description + Kernel module for the HW random number generator core infrastructure +endef + +$(eval $(call KernelPackage,random-core))