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
20 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.ko \
21 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.ko
22 AUTOLOAD
:=$(call AutoLoad
,25,pcmcia_core pcmcia
)
25 define KernelPackage
/pcmcia-core
/description
26 Kernel support for PCMCIA
/CardBus controllers
29 $(eval
$(call KernelPackage
,pcmcia-core
))
31 define KernelPackage
/pcmcia-rsrc
32 SUBMENU
:=$(PCMCIA_MENU
)
33 TITLE
:=PCMCIA resource support
34 DEPENDS
:=kmod-pcmcia-core
35 KCONFIG
:=CONFIG_PCCARD_NONSTATIC
=y
36 FILES
:=$(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_rsrc.ko
37 AUTOLOAD
:=$(call AutoLoad
,26,pcmcia_rsrc
)
40 define KernelPackage
/pcmcia-rsrc
/description
41 Kernel support for PCMCIA resource allocation
44 $(eval
$(call KernelPackage
,pcmcia-rsrc
))
47 define KernelPackage
/pcmcia-yenta
48 SUBMENU
:=$(PCMCIA_MENU
)
49 TITLE
:=yenta socket driver
50 DEPENDS
:=kmod-pcmcia-rsrc
52 FILES
:=$(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.ko
53 AUTOLOAD
:=$(call AutoLoad
,41,pcmcia_rsrc yenta_socket
)
56 $(eval
$(call KernelPackage
,pcmcia-yenta
))
59 define KernelPackage
/pcmcia-serial
60 SUBMENU
:=$(PCMCIA_MENU
)
61 TITLE
:=Serial devices support
62 DEPENDS
:=kmod-pcmcia-core
+kmod-serial-8250
64 CONFIG_PCMCIA_SERIAL_CS \
66 FILES
:=$(LINUX_DIR
)/drivers
/tty
/serial
/8250/serial_cs.ko
67 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
70 define KernelPackage
/pcmcia-serial
/description
71 Kernel support for PCMCIA
/CardBus serial devices
74 $(eval
$(call KernelPackage
,pcmcia-serial
))