orinoco is only one module with kernel 2.6.30
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 14 May 2009 19:02:10 +0000 (19:02 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 14 May 2009 19:02:10 +0000 (19:02 +0000)
SVN-Revision: 15852

package/kernel/modules/wireless.mk

index 79ab723a7e58661ede7a4543f77300acfc922c6f..cca2d9e83eab63ac99d77fb880c9948cbc45ac30 100644 (file)
@@ -162,6 +162,11 @@ define KernelPackage/net-hermes
   DEPENDS:=@LINUX_2_6 @PCI_SUPPORT||PCMCIA_SUPPORT
   KCONFIG:=CONFIG_HERMES \
        CONFIG_HERMES_CACHE_FW_ON_INIT=n
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.30)),1)
+  FILES:= \
+       $(LINUX_DIR)/drivers/net/wireless/$(ORINOCO_DIR)orinoco.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,50,orinoco)
+else
 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.28)),1)
   FILES:= \
        $(LINUX_DIR)/drivers/net/wireless/$(ORINOCO_DIR)hermes.$(LINUX_KMOD_SUFFIX) \
@@ -174,6 +179,7 @@ else
        $(LINUX_DIR)/drivers/net/wireless/orinoco.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,hermes orinoco)
 endif
+endif
 endef
 
 define KernelPackage/net-hermes/description