2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 PCMCIA_MENU
:=PCMCIA support
10 define KernelPackage
/pcmcia-core
11 SUBMENU
:=$(PCMCIA_MENU
)
12 TITLE
:=PCMCIA
/CardBus support
13 DEPENDS
:=@PCMCIA_SUPPORT
21 define KernelPackage
/pcmcia-core
/2.4
26 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
27 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
) \
28 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
29 AUTOLOAD
:=$(call AutoLoad
,25,pcmcia_core ds yenta_socket
)
32 define KernelPackage
/pcmcia-core
/2.6
38 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
39 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
)
40 AUTOLOAD
:=$(call AutoLoad
,25,pcmcia_core pcmcia
)
43 define KernelPackage
/pcmcia-core
/description
44 Kernel support for PCMCIA
/CardBus controllers
47 $(eval
$(call KernelPackage
,pcmcia-core
))
50 define KernelPackage
/pcmcia-yenta
51 SUBMENU
:=$(PCMCIA_MENU
)
52 TITLE
:=yenta socket driver
53 DEPENDS
:=kmod-pcmcia-core
55 CONFIG_PCCARD_NONSTATIC \
58 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
59 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
60 AUTOLOAD
:=$(call AutoLoad
,41,rsrc_nonstatic yenta_socket
)
63 $(eval
$(call KernelPackage
,pcmcia-yenta
))
66 define KernelPackage
/pcmcia-serial
67 SUBMENU
:=$(PCMCIA_MENU
)
68 TITLE
:=Serial devices support
69 DEPENDS
:=kmod-pcmcia-core
71 CONFIG_PCMCIA_SERIAL_CS \
73 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
76 define KernelPackage
/pcmcia-serial
/2.4
77 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
78 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
81 define KernelPackage
/pcmcia-serial
/2.6
82 # KCONFIG:=CONFIG_SERIAL_8250_CS
83 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
86 define KernelPackage
/pcmcia-serial
/description
87 Kernel support for PCMCIA
/CardBus serial devices
90 $(eval
$(call KernelPackage
,pcmcia-serial
))