X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5c60dae018efc0685de0e7218f5f0a406ce46bad..950d12ef6960c49bf6753a4e7b3da01a0694058e:/package/kernel/modules/other.mk diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 557fc7c1c..071645984 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -7,11 +7,7 @@ OTHER_MENU:=Other modules -# XXX: added a workaround for watchdog path changes -ifeq ($(KERNEL),2.4) - WATCHDOG_DIR=char -endif -WATCHDOG_DIR?=watchdog +WATCHDOG_DIR:=watchdog define KernelPackage/bluetooth @@ -39,37 +35,6 @@ define KernelPackage/bluetooth $(call AddDepends/crc16) $(call AddDepends/hid) $(call AddDepends/rfkill) -endef - -define KernelPackage/bluetooth/2.4 -# KCONFIG:= \ -# CONFIG_BLUEZ \ -# CONFIG_BLUEZ_L2CAP \ -# CONFIG_BLUEZ_SCO \ -# CONFIG_BLUEZ_RFCOMM \ -# CONFIG_BLUEZ_BNEP \ -# CONFIG_BLUEZ_HCIUART \ -# CONFIG_BLUEZ_HCIUSB - FILES:= \ - $(LINUX_DIR)/net/bluetooth/bluez.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/net/bluetooth/sco.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/net/bluetooth/bnep/bnep.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/bluetooth/hci_uart.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/bluetooth/hci_usb.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb) -endef - -define KernelPackage/bluetooth/2.6 -# KCONFIG:= \ -# CONFIG_BT \ -# CONFIG_BT_L2CAP \ -# CONFIG_BT_SCO \ -# CONFIG_BT_RFCOMM \ -# CONFIG_BT_BNEP \ -# CONFIG_BT_HCIUSB \ -# CONFIG_BT_HCIUART FILES:= \ $(LINUX_DIR)/net/bluetooth/bluetooth.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/net/bluetooth/l2cap.$(LINUX_KMOD_SUFFIX) \ @@ -153,7 +118,6 @@ $(eval $(call KernelPackage,crc16)) define KernelPackage/eeprom-93cx6 SUBMENU:=$(OTHER_MENU) TITLE:=EEPROM 93CX6 support - DEPENDS:=@LINUX_2_6 KCONFIG:=CONFIG_EEPROM_93CX6 FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6) @@ -245,6 +209,20 @@ endef $(eval $(call KernelPackage,gpio-scx200)) +define KernelPackage/gpio-nxp-74hc164 + SUBMENU:=$(OTHER_MENU) + TITLE:=NXP 74HC164 GPIO expander support + DEPENDS:=@TARGET_brcm63xx + KCONFIG:=CONFIG_GPIO_NXP_74HC164 + FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164) +endef + +define KernelPackage/gpio-nxp-74hc164/description + Kernel module for NXP 74HC164 GPIO expander +endef + +$(eval $(call KernelPackage,gpio-nxp-74hc164)) define KernelPackage/hid SUBMENU:=$(OTHER_MENU) @@ -267,11 +245,10 @@ $(eval $(call KernelPackage,hid)) define KernelPackage/input-core SUBMENU:=$(OTHER_MENU) TITLE:=Input device core - DEPENDS:=@LINUX_2_6 KCONFIG:=CONFIG_INPUT + $(call SetDepends/input) FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,19,input-core) - $(call SetDepends/input) endef define KernelPackage/input-core/description @@ -352,7 +329,6 @@ $(eval $(call KernelPackage,input-joydev)) define KernelPackage/input-polldev SUBMENU:=$(OTHER_MENU) TITLE:=Polled Input device support - DEPENDS:=@LINUX_2_6 KCONFIG:=CONFIG_INPUT_POLLDEV FILES:=$(LINUX_DIR)/drivers/input/input-polldev.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,20,input-polldev) @@ -495,7 +471,7 @@ $(eval $(call KernelPackage,ledtrig-netdev)) define KernelPackage/lp SUBMENU:=$(OTHER_MENU) TITLE:=Parallel port and line printer support - DEPENDS:=@LINUX_2_4 + DEPENDS:=@BROKEN KCONFIG:= \ CONFIG_PARPORT \ CONFIG_PRINTER \ @@ -507,26 +483,12 @@ define KernelPackage/lp AUTOLOAD:=$(call AutoLoad,50,parport lp) endef -define KernelPackage/lp/2.4 - FILES:= \ - $(LINUX_DIR)/drivers/parport/parport.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/parport/parport_*.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/char/lp.$(LINUX_KMOD_SUFFIX) \ - $(LINUX_DIR)/drivers/char/ppdev.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,50, \ - parport \ - parport_splink \ - lp \ - ) -endef - $(eval $(call KernelPackage,lp)) define KernelPackage/mmc SUBMENU:=$(OTHER_MENU) TITLE:=MMC/SD Card Support - DEPENDS:=@LINUX_2_6 KCONFIG:= \ CONFIG_MMC \ CONFIG_MMC_BLOCK \ @@ -612,7 +574,7 @@ $(eval $(call KernelPackage,softdog)) define KernelPackage/ssb SUBMENU:=$(OTHER_MENU) TITLE:=Silicon Sonics Backplane glue code - DEPENDS:=@LINUX_2_6 @PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx + DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx KCONFIG:=\ CONFIG_SSB \ CONFIG_SSB_B43_PCI_BRIDGE=y \ @@ -638,7 +600,6 @@ $(eval $(call KernelPackage,ssb)) define KernelPackage/textsearch SUBMENU:=$(OTHER_MENU) TITLE:=Textsearch support is selected if needed - DEPENDS:=@LINUX_2_6 KCONFIG:= \ CONFIG_TEXTSEARCH=y \ CONFIG_TEXTSEARCH_KMP \ @@ -657,7 +618,7 @@ $(eval $(call KernelPackage,textsearch)) define KernelPackage/wdt-geode SUBMENU:=$(OTHER_MENU) TITLE:=Geode/LX Watchdog timer - DEPENDS:=@TARGET_x86 @LINUX_2_6 + DEPENDS:=@TARGET_x86 KCONFIG:=CONFIG_GEODE_WDT FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,50,geodewdt)