From 22b527ab0a1dc129659102cdc2ff5c664d113222 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 10 Dec 2012 21:05:06 +0000 Subject: package/kernel: package kmod-input-matrixkmap This is required by some keyboard drivers in 3.6+ Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34614 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 607b065e5..ed72f521e 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -297,6 +297,21 @@ endef $(eval $(call KernelPackage,input-polldev)) +define KernelPackage/input-matrixkmap + SUBMENU:=$(OTHER_MENU) + TITLE:=Input matrix devices support + KCONFIG:=CONFIG_INPUT_MATRIXKMAP + DEPENDS:=@LINUX_3_6||@LINUX_3_7 + FILES:=$(LINUX_DIR)/drivers/input/matrix-keymap.ko + AUTOLOAD:=$(call AutoLoad,20,matrix-keymap) + $(call AddDepends/input) +endef + +define KernelPackage/input-matrix/description + Kernel module support for input matrix devices +endef + +$(eval $(call KernelPackage,input-matrixkmap)) define KernelPackage/lp SUBMENU:=$(OTHER_MENU) -- cgit v1.2.3 From a0acd43cbf34682b18b03d038e2b0a12660a3788 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 3 Jan 2013 18:39:50 +0000 Subject: kernel: move regmap bloat out of the kernel image if it is only being used in modules git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34999 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index ed72f521e..2374d191a 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -698,12 +698,15 @@ $(eval $(call KernelPackage,acpi-button)) define KernelPackage/regmap SUBMENU:=$(OTHER_MENU) TITLE:=Generic register map support + DEPENDS:=+kmod-lib-lzo KCONFIG:=CONFIG_REGMAP=y \ CONFIG_REGMAP_SPI \ CONFIG_REGMAP_I2C - FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \ - $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko - AUTOLOAD:=$(call AutoLoad,10,regmap-i2c regmap-spi) + FILES:= \ + $(LINUX_DIR)/drivers/base/regmap/regmap.ko \ + $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \ + $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko + AUTOLOAD:=$(call AutoLoad,10,regmap regmap-i2c regmap-spi) endef define KernelPackage/regmap/description -- cgit v1.2.3 From 6408679755dc3f52868384567d51bd9ae0d63389 Mon Sep 17 00:00:00 2001 From: blogic Date: Sat, 5 Jan 2013 00:20:05 +0000 Subject: [kernel] fix regmap debloat patch git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35015 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 2374d191a..1c8a3dcfe 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -698,15 +698,16 @@ $(eval $(call KernelPackage,acpi-button)) define KernelPackage/regmap SUBMENU:=$(OTHER_MENU) TITLE:=Generic register map support - DEPENDS:=+kmod-lib-lzo - KCONFIG:=CONFIG_REGMAP=y \ + DEPENDS:=+kmod-lib-lzo +kmod-i2c-core + KCONFIG:=CONFIG_REGMAP \ CONFIG_REGMAP_SPI \ - CONFIG_REGMAP_I2C + CONFIG_REGMAP_I2C \ + CONFIG_SPI=y FILES:= \ - $(LINUX_DIR)/drivers/base/regmap/regmap.ko \ + $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \ $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \ $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko - AUTOLOAD:=$(call AutoLoad,10,regmap regmap-i2c regmap-spi) + AUTOLOAD:=$(call AutoLoad,10,regmap-core regmap-i2c regmap-spi) endef define KernelPackage/regmap/description -- cgit v1.2.3 From c79cbf06cc04cdafff50c2a15945207854eb6cc9 Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 6 Jan 2013 15:09:43 +0000 Subject: kernel: add a module for the isl1208 rtc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35022 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 1c8a3dcfe..ddaef8d90 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -539,6 +539,23 @@ endef $(eval $(call KernelPackage,pwm-gpio)) +define KernelPackage/rtc-isl1208 + SUBMENU:=$(OTHER_MENU) + TITLE:=Intersil ISL1208 RTC support + $(call AddDepends/rtc) + DEPENDS+=+kmod-i2c-core + KCONFIG:=CONFIG_RTC_DRV_ISL1208 + FILES:=$(LINUX_DIR)/drivers/rtc/rtc-isl1208.ko + AUTOLOAD:=$(call AutoLoad,60,rtc-isl1208) +endef + +define KernelPackage/rtc-isl1208/description + Kernel module for Intersil ISL1208 RTC. +endef + +$(eval $(call KernelPackage,rtc-isl1208)) + + define KernelPackage/rtc-marvell SUBMENU:=$(OTHER_MENU) TITLE:=Marvell SoC built-in RTC support -- cgit v1.2.3 From 38cc3e47f517a509152186069c45d20f52e90835 Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 6 Jan 2013 16:21:29 +0000 Subject: zram: add package to use compressed ram disk for swap The busybox size is increased by 3.2KByte uncompressed on bcm47xx with this commit. This zram-swap automatically creates a zram device, a swap partition on it and make the kernel swap pages to it. Thank you Bastian Bittorf for idea and the script. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35025 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index ddaef8d90..5d3e00a87 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -747,3 +747,24 @@ define KernelPackage/ikconfig/description endef $(eval $(call KernelPackage,ikconfig)) + + +define KernelPackage/zram + SUBMENU:=$(OTHER_MENU) + TITLE:=ZRAM + DEPENDS:=@!LINUX_3_3 +kmod-lib-lzo + KCONFIG:= \ + CONFIG_ZSMALLOC \ + CONFIG_ZRAM \ + CONFIG_ZRAM_DEBUG=n + FILES:= \ + $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko \ + $(LINUX_DIR)/drivers/staging/zram/zram.ko + AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram) +endef + +define KernelPackage/zram/description + Compressed RAM block device support +endef + +$(eval $(call KernelPackage,zram)) -- cgit v1.2.3 From 405727e10bd1bcb72aaf709e47a6d3d30cce3100 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 8 Jan 2013 22:20:21 +0000 Subject: kernel: adjust orion/kirkwood packages to also build for mvebu target Armada XP/370 boards share these hardware blocks with Orion and Kirkwood SoCs. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35059 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 5d3e00a87..d4983a324 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -479,14 +479,14 @@ $(eval $(call KernelPackage,wdt-omap)) define KernelPackage/wdt-orion SUBMENU:=$(OTHER_MENU) TITLE:=Marvell Orion Watchdog timer - DEPENDS:=@TARGET_orion||@TARGET_kirkwood + DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu KCONFIG:=CONFIG_ORION_WATCHDOG FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko AUTOLOAD:=$(call AutoLoad,50,orion_wdt) endef define KernelPackage/wdt-orion/description - Kernel module for Marvell orion watchdog timer. + Kernel module for Marvell Orion, Kirkwood and Armada XP/370 watchdog timer. endef $(eval $(call KernelPackage,wdt-orion)) -- cgit v1.2.3 From dde7a4e799f3fce63428d08ef8fbf196c1f34105 Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 8 Jan 2013 22:20:30 +0000 Subject: kernel: add kmod-mvsdio MMC host controller for Marvell targets Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35061 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index d4983a324..08b3a61a0 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -768,3 +768,19 @@ define KernelPackage/zram/description endef $(eval $(call KernelPackage,zram)) + + +define KernelPackage/mvsdio + SUBMENU:=$(OTHER_MENU) + TITLE:=Marvell SDIO support + DEPENDS:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu +kmod-mmc + KCONFIG:=CONFIG_MMC_MVSDIO + FILES:=$(LINUX_DIR)/drivers/mmc/host/mvsdio.ko + AUTOLOAD:=$(call AutoLoad,91,mvsdio) +endef + +define KernelPacakge/mvsdio/description + Kernel support for the Marvell SDIO controller +endef + +$(eval $(call KernelPackage,mvsdio)) -- cgit v1.2.3 From 6704940b8e5f343f444f3a15bd7ddae79d5d834c Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 14 Jan 2013 18:18:03 +0000 Subject: package/kernel: move input modules into a separate submenu Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35161 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 184 +--------------------------------------- 1 file changed, 1 insertion(+), 183 deletions(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 08b3a61a0..28a24a028 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -146,173 +146,6 @@ endef $(eval $(call KernelPackage,gpio-nxp-74hc164)) -define KernelPackage/hid - SUBMENU:=$(OTHER_MENU) - TITLE:=HID Devices - KCONFIG:=CONFIG_HID - FILES:=$(LINUX_DIR)/drivers/hid/hid.ko - AUTOLOAD:=$(call AutoLoad,61,hid) - $(call AddDepends/input,+kmod-input-evdev) -endef - -define KernelPackage/hid/description - Kernel modules for HID devices -endef - -$(eval $(call KernelPackage,hid)) - - -define KernelPackage/input-core - SUBMENU:=$(OTHER_MENU) - TITLE:=Input device core - KCONFIG:=CONFIG_INPUT - FILES:=$(LINUX_DIR)/drivers/input/input-core.ko - AUTOLOAD:=$(call AutoLoad,19,input-core) -endef - -define KernelPackage/input-core/description - Kernel modules for support of input device -endef - -$(eval $(call KernelPackage,input-core)) - - -define KernelPackage/input-evdev - SUBMENU:=$(OTHER_MENU) - TITLE:=Input event device - KCONFIG:=CONFIG_INPUT_EVDEV - FILES:=$(LINUX_DIR)/drivers/input/evdev.ko - AUTOLOAD:=$(call AutoLoad,60,evdev) - $(call AddDepends/input) -endef - -define KernelPackage/input-evdev/description - Kernel modules for support of input device events -endef - -$(eval $(call KernelPackage,input-evdev)) - - -define KernelPackage/input-gpio-buttons - SUBMENU:=$(OTHER_MENU) - TITLE:=Polled GPIO buttons input device - DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev - KCONFIG:= \ - CONFIG_INPUT_GPIO_BUTTONS \ - CONFIG_INPUT_MISC=y - FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko - AUTOLOAD:=$(call AutoLoad,62,gpio_buttons) -endef - -define KernelPackage/input-gpio-buttons/description - Kernel module for support polled GPIO buttons input device -endef - -$(eval $(call KernelPackage,input-gpio-buttons)) - - -define KernelPackage/input-gpio-keys - SUBMENU:=$(OTHER_MENU) - TITLE:=GPIO key support - DEPENDS:= @GPIO_SUPPORT - KCONFIG:= \ - CONFIG_KEYBOARD_GPIO \ - CONFIG_INPUT_KEYBOARD=y - FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko - AUTOLOAD:=$(call AutoLoad,60,gpio_keys) - $(call AddDepends/input) -endef - -define KernelPackage/input-gpio-keys/description - This driver implements support for buttons connected - to GPIO pins of various CPUs (and some other chips). -endef - -$(eval $(call KernelPackage,input-gpio-keys)) - - -define KernelPackage/input-gpio-keys-polled - SUBMENU:=$(OTHER_MENU) - TITLE:=Polled GPIO key support - DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev - KCONFIG:= \ - CONFIG_KEYBOARD_GPIO_POLLED \ - CONFIG_INPUT_KEYBOARD=y - FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko - AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled) - $(call AddDepends/input) -endef - -define KernelPackage/input-gpio-keys-polled/description - Kernel module for support polled GPIO keys input device -endef - -$(eval $(call KernelPackage,input-gpio-keys-polled)) - - -define KernelPackage/input-gpio-encoder - SUBMENU:=$(OTHER_MENU) - TITLE:=GPIO rotay encoder - KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER - FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko - AUTOLOAD:=$(call AutoLoad,62,rotary_encoder) - $(call AddDepends/input,@GPIO_SUPPORT) -endef - -define KernelPackage/gpio-encoder/description - Kernel module to use rotary encoders connected to GPIO pins -endef - -$(eval $(call KernelPackage,input-gpio-encoder)) - - -define KernelPackage/input-joydev - SUBMENU:=$(OTHER_MENU) - TITLE:=Joystick device support - KCONFIG:=CONFIG_INPUT_JOYDEV - FILES:=$(LINUX_DIR)/drivers/input/joydev.ko - AUTOLOAD:=$(call AutoLoad,62,joydev) - $(call AddDepends/input) -endef - -define KernelPackage/input-joydev/description - Kernel module for joystick support -endef - -$(eval $(call KernelPackage,input-joydev)) - - -define KernelPackage/input-polldev - SUBMENU:=$(OTHER_MENU) - TITLE:=Polled Input device support - KCONFIG:=CONFIG_INPUT_POLLDEV - FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko - AUTOLOAD:=$(call AutoLoad,20,input-polldev) - $(call AddDepends/input) -endef - -define KernelPackage/input-polldev/description - Kernel module for support of polled input devices -endef - -$(eval $(call KernelPackage,input-polldev)) - -define KernelPackage/input-matrixkmap - SUBMENU:=$(OTHER_MENU) - TITLE:=Input matrix devices support - KCONFIG:=CONFIG_INPUT_MATRIXKMAP - DEPENDS:=@LINUX_3_6||@LINUX_3_7 - FILES:=$(LINUX_DIR)/drivers/input/matrix-keymap.ko - AUTOLOAD:=$(call AutoLoad,20,matrix-keymap) - $(call AddDepends/input) -endef - -define KernelPackage/input-matrix/description - Kernel module support for input matrix devices -endef - -$(eval $(call KernelPackage,input-matrixkmap)) - define KernelPackage/lp SUBMENU:=$(OTHER_MENU) TITLE:=Parallel port and line printer support @@ -697,21 +530,6 @@ endef $(eval $(call KernelPackage,serial-8250)) -define KernelPackage/acpi-button - SUBMENU:=$(OTHER_MENU) - TITLE:=ACPI Button Support - DEPENDS:=@(TARGET_x86_generic||TARGET_x86_kvm_guest||TARGET_x86_xen_domu) +kmod-input-evdev - KCONFIG:=CONFIG_ACPI_BUTTON - FILES:=$(LINUX_DIR)/drivers/acpi/button.ko - AUTOLOAD:=$(call AutoLoad,06,button) -endef - -define KernelPackage/acpi-button/description - Kernel module for ACPI Button support -endef - -$(eval $(call KernelPackage,acpi-button)) - define KernelPackage/regmap SUBMENU:=$(OTHER_MENU) TITLE:=Generic register map support @@ -759,7 +577,7 @@ define KernelPackage/zram CONFIG_ZRAM_DEBUG=n FILES:= \ $(LINUX_DIR)/drivers/staging/zsmalloc/zsmalloc.ko \ - $(LINUX_DIR)/drivers/staging/zram/zram.ko + $(LINUX_DIR)/drivers/staging/zram/zram.ko AUTOLOAD:=$(call AutoLoad,20,zsmalloc zram) endef -- cgit v1.2.3 From 788431808eafa5fdfd98b0166f1e430a12602e1f Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 15 Jan 2013 19:55:26 +0000 Subject: kernel: allow building kmod-rtc-marvell for mvebu target Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35177 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 28a24a028..486565a11 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -393,7 +393,7 @@ define KernelPackage/rtc-marvell SUBMENU:=$(OTHER_MENU) TITLE:=Marvell SoC built-in RTC support $(call AddDepends/rtc) - DEPENDS+=@TARGET_kirkwood||TARGET_orion + DEPENDS+=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu KCONFIG:=CONFIG_RTC_DRV_MV FILES:=$(LINUX_DIR)/drivers/rtc/rtc-mv.ko AUTOLOAD:=$(call AutoLoad,60,rtc-mv) -- cgit v1.2.3 From b027f9c9fe01dfab37bca0c04748232ac9875932 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 17 Jan 2013 09:08:09 +0000 Subject: kernel: 8250.ko is called 8250_core.ko on linux 3.7+, fixes package/kernel build error in snapshot builds git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35190 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 486565a11..a96b6997d 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -520,7 +520,7 @@ define KernelPackage/serial-8250 CONFIG_SERIAL_8250_SHARE_IRQ=y \ CONFIG_SERIAL_8250_DETECT_IRQ=n \ CONFIG_SERIAL_8250_RSA=n - FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250.ko + FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),_core).ko endef define KernelPackage/serial-8250/description -- cgit v1.2.3 From 288f6b0a2445a33e696a15fe05a97f062a4209be Mon Sep 17 00:00:00 2001 From: hauke Date: Sun, 27 Jan 2013 21:18:52 +0000 Subject: kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35336 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index a96b6997d..f63d6705d 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -602,3 +602,37 @@ define KernelPacakge/mvsdio/description endef $(eval $(call KernelPackage,mvsdio)) + + +define KernelPackage/pps + SUBMENU:=$(OTHER_MENU) + TITLE:=PPS support + KCONFIG:=CONFIG_PPS + FILES:=$(LINUX_DIR)/drivers/pps/pps_core.ko + AUTOLOAD:=$(call AutoLoad,20,pps_core) +endef + +define KernelPacakge/pps/description + PPS (Pulse Per Second) is a special pulse provided by some GPS + antennae. Userland can use it to get a high-precision time + reference. +endef + +$(eval $(call KernelPackage,pps)) + + +define KernelPackage/ptp + SUBMENU:=$(OTHER_MENU) + TITLE:=PTP clock support + DEPENDS:=+kmod-pps + KCONFIG:=CONFIG_PTP_1588_CLOCK + FILES:=$(LINUX_DIR)/drivers/ptp/ptp.ko + AUTOLOAD:=$(call AutoLoad,25,ptp) +endef + +define KernelPacakge/ptp/description + The IEEE 1588 standard defines a method to precisely + synchronize distributed clocks over Ethernet networks. +endef + +$(eval $(call KernelPackage,ptp)) -- cgit v1.2.3 From 53922c83ba6c72d9a2652f06a2286bec9529d15b Mon Sep 17 00:00:00 2001 From: juhosg Date: Wed, 20 Feb 2013 19:14:20 +0000 Subject: 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 Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35706 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index f63d6705d..13a0ec4af 100644 --- a/package/kernel/modules/other.mk +++ b/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)) -- cgit v1.2.3 From a5c389fc6a652fee384f5b1eb00f3ab62dab768d Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 17 Mar 2013 19:45:42 +0000 Subject: kernel: load regmap modules after kmod-lib-lzo Otherwise regmap-core will not be able to lookup the lzo exported symbols. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36069 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 13a0ec4af..f9937bee4 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -542,7 +542,7 @@ define KernelPackage/regmap $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \ $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \ $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko - AUTOLOAD:=$(call AutoLoad,10,regmap-core regmap-i2c regmap-spi) + AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-spi) endef define KernelPackage/regmap/description -- cgit v1.2.3 From 1e5056402d2eb0a240f6bad540b73621929df84c Mon Sep 17 00:00:00 2001 From: blogic Date: Wed, 3 Apr 2013 10:00:36 +0000 Subject: [kernel] add pcf857x kernel module Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36180 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index f9937bee4..d1c21572d 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -146,6 +146,21 @@ endef $(eval $(call KernelPackage,gpio-nxp-74hc164)) +define KernelPackage/gpio-pcf857x + SUBMENU:=$(OTHER_MENU) + DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core + TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders + KCONFIG:=CONFIG_GPIO_PCF857X + FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko + AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x) +endef + +define KernelPackage/gpio-pcf857x/description + Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders +endef + +$(eval $(call KernelPackage,gpio-pcf857x)) + define KernelPackage/lp SUBMENU:=$(OTHER_MENU) TITLE:=Parallel port and line printer support -- cgit v1.2.3 From f6f4ed7912db2281caaea8593c050d6a365883b9 Mon Sep 17 00:00:00 2001 From: jogo Date: Tue, 23 Apr 2013 09:21:55 +0000 Subject: kernel: add kmod-mcp23s08 package Package up the Microchip MCP23S08 I/O expander driver. Needed on the CalAmp LMU5000 board. Signed-off-by: Adam Porter [jogo@openwrt.org: fix subject] Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36393 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index d1c21572d..f282014a3 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -132,6 +132,22 @@ endef $(eval $(call KernelPackage,gpio-dev)) +define KernelPackage/gpio-mcp23s08 + SUBMENU:=$(OTHER_MENU) + TITLE:=Microchip MCP23xxx I/O expander + DEPENDS:=@GPIO_SUPPORT + KCONFIG:=CONFIG_GPIO_MCP23S08 + FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko + AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08) +endef + +define KernelPackage/gpio-mcp23s08/description + Kernel module for Microchip MCP23xxx SPI/I2C I/O expander +endef + +$(eval $(call KernelPackage,gpio-mcp23s08)) + + define KernelPackage/gpio-nxp-74hc164 SUBMENU:=$(OTHER_MENU) TITLE:=NXP 74HC164 GPIO expander support -- cgit v1.2.3 From 8c9642e945c54e21f0a0522bc76ada78d6017eb8 Mon Sep 17 00:00:00 2001 From: jogo Date: Sun, 19 May 2013 18:36:09 +0000 Subject: kernel: adapt module paths for 3.10-rc1 Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36662 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/other.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/modules/other.mk') diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index f282014a3..aa16c142e 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -551,7 +551,7 @@ define KernelPackage/serial-8250 CONFIG_SERIAL_8250_SHARE_IRQ=y \ CONFIG_SERIAL_8250_DETECT_IRQ=n \ CONFIG_SERIAL_8250_RSA=n - FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),_core).ko + FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250$(if $(call kernel_patchver_ge,3.7),$(if $(call kernel_patchver_le,3.9),_core)).ko endef define KernelPackage/serial-8250/description -- cgit v1.2.3