aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/pcmcia.mk
blob: 11c2106cb045228fed468894becda24070a71cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

PCMCIA_MENU:=PCMCIA support

define KernelPackage/pcmcia-core
  SUBMENU:=$(PCMCIA_MENU)
  TITLE:=PCMCIA/CardBus support
  DEPENDS:=@PCMCIA_SUPPORT
  KCONFIG:= \
	CONFIG_PCMCIA \
	CONFIG_PCMCIA_LOAD_CIS=y \
	CONFIG_CARDBUS \
	CONFIG_PCCARD \
	PCMCIA_DEBUG=n
  FILES:= \
	$(LINUX_DIR)/drivers/pcmcia/pcmcia_core.ko \
	$(LINUX_DIR)/drivers/pcmcia/pcmcia.ko
  AUTOLOAD:=$(call AutoLoad,25,pcmcia_core pcmcia)
endef

define KernelPackage/pcmcia-core/description
 Kernel support for PCMCIA/CardBus controllers
endef

$(eval $(call KernelPackage,pcmcia-core))


define AddDepends/pcmcia
  SUBMENU:=$(PCMCIA_MENU)
  DEPENDS+=kmod-pcmcia-core $(1)
endef


define KernelPackage/pcmcia-rsrc
  TITLE:=PCMCIA resource support
  KCONFIG:=CONFIG_PCCARD_NONSTATIC=y
  FILES:=$(LINUX_DIR)/drivers/pcmcia/pcmcia_rsrc.ko
  AUTOLOAD:=$(call AutoLoad,26,pcmcia_rsrc)
  $(call AddDepends/pcmcia)
endef

define KernelPackage/pcmcia-rsrc/description
 Kernel support for PCMCIA resource allocation
endef

$(eval $(call KernelPackage,pcmcia-rsrc))


define KernelPackage/pcmcia-yenta
  TITLE:=yenta socket driver
  KCONFIG:=CONFIG_YENTA
  FILES:=$(LINUX_DIR)/drivers/pcmcia/yenta_socket.ko
  AUTOLOAD:=$(call AutoLoad,41,yenta_socket)
  DEPENDS:=+kmod-pcmcia-rsrc
  $(call AddDepends/pcmcia)
endef

$(eval $(call KernelPackage,pcmcia-yenta))


define KernelPackage/pcmcia-serial
  TITLE:=Serial devices support
  KCONFIG:= \
	CONFIG_PCMCIA_SERIAL_CS \
	CONFIG_SERIAL_8250_CS
  FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/serial_cs.ko
  AUTOLOAD:=$(call AutoLoad,45,serial_cs)
  DEPENDS:=+kmod-serial-8250
  $(call AddDepends/pcmcia)
endef

define KernelPackage/pcmcia-serial/description
 Kernel support for PCMCIA/CardBus serial devices
endef

$(eval $(call KernelPackage,pcmcia-serial))


define KernelPackage/pcmcia-pd6729
  TITLE:=Cirrus PD6729 compatible bridge support
  KCONFIG:=CONFIG_PD6729
  FILES:=$(LINUX_DIR)/drivers/pcmcia/pd6729.ko
  AUTOLOAD:=$(call AutoLoad,41,pd6729)
  DEPENDS:=+kmod-pcmcia-rsrc
  $(call AddDepends/pcmcia)
endef

define KernelPackage/pcmcia-pd6729/description
 Kernel support for the Cirrus PD6729 PCI-to-PCMCIA bridge
endef

$(eval $(call KernelPackage,pcmcia-pd6729))


define KernelPackage/pcmcia-nozomi
  TITLE:=Option Fusion+ card
  KCONFIG:=CONFIG_NOZOMI
  FILES:=$(LINUX_DIR)/drivers/tty/nozomi.ko
  AUTOLOAD:=$(call AutoLoad,60,nozomi)
  DEPENDS:=+kmod-pcmcia-rsrc
  $(call AddDepends/pcmcia)
endef

define KernelPackage/pcmcia-nozomi/description
 Kernel support for Option Fusion+ card
endef

$(eval $(call KernelPackage,pcmcia-nozomi))