ath9k: merge a few bugfixes
[openwrt.git] / package / kernel / modules / pcmcia.mk
index c7cc8f8..468a62f 100644 (file)
@@ -16,24 +16,6 @@ define KernelPackage/pcmcia-core
        CONFIG_CARDBUS \
        CONFIG_PCCARD \
        PCMCIA_DEBUG=n
-endef
-
-define KernelPackage/pcmcia-core/2.4
-#  KCONFIG:= \
-#      CONFIG_PCMCIA \
-#      CONFIG_CARDBUS
-  FILES:= \
-       $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
-       $(LINUX_DIR)/drivers/pcmcia/ds.ko \
-       $(LINUX_DIR)/drivers/pcmcia/yenta_socket.ko
-  AUTOLOAD:=$(call AutoLoad,25,pcmcia_core ds yenta_socket)
-endef
-
-define KernelPackage/pcmcia-core/2.6
-#  KCONFIG:= \
-#      CONFIG_PCCARD \
-#      CONFIG_PCMCIA \
-#      PCMCIA_DEBUG=n
   FILES:= \
        $(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
        $(LINUX_DIR)/drivers/pcmcia/pcmcia.ko
@@ -78,19 +60,14 @@ define KernelPackage/pcmcia-serial
   KCONFIG:= \
        CONFIG_PCMCIA_SERIAL_CS \
        CONFIG_SERIAL_8250_CS
+  ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.38)),1)
+    FILES:=$(LINUX_DIR)/drivers/tty/serial/serial_cs.ko
+  else
+    FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.ko
+  endif
   AUTOLOAD:=$(call AutoLoad,45,serial_cs)
 endef
 
-define KernelPackage/pcmcia-serial/2.4
-#  KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
-  FILES:=$(LINUX_DIR)/drivers/char/pcmcia/serial_cs.ko
-endef
-
-define KernelPackage/pcmcia-serial/2.6
-#  KCONFIG:=CONFIG_SERIAL_8250_CS
-  FILES:=$(LINUX_DIR)/drivers/serial/serial_cs.ko
-endef
-
 define KernelPackage/pcmcia-serial/description
  Kernel support for PCMCIA/CardBus serial devices
 endef
This page took 0.023733 seconds and 4 git commands to generate.