Root/target/linux/x86/modules.mk

1#
2# Copyright (C) 2006-2012 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8define KernelPackage/cs5535
9  SUBMENU:=$(BLOCK_MENU)
10  TITLE:=NSC/AMD CS5535 chipset support
11  DEPENDS:=@TARGET_x86
12  KCONFIG:=CONFIG_BLK_DEV_CS5535
13  FILES=$(LINUX_DIR)/drivers/ide/cs5535.ko
14  AUTOLOAD:=$(call AutoLoad,30,cs5535,1)
15  $(call AddDepends/ide)
16endef
17
18define KernelPackage/cs5535/description
19  Kernel module for the NSC/AMD CS5535 companion chip
20endef
21
22$(eval $(call KernelPackage,cs5535))
23
24
25define KernelPackage/cs5536
26  SUBMENU:=$(BLOCK_MENU)
27  TITLE:=AMD CS5536 chipset support
28  DEPENDS:=@TARGET_x86
29  KCONFIG:=CONFIG_BLK_DEV_CS5536
30  FILES=$(LINUX_DIR)/drivers/ide/cs5536.ko
31  AUTOLOAD:=$(call AutoLoad,30,cs5536,1)
32  $(call AddDepends/ide)
33endef
34
35define KernelPackage/cs5536/description
36  Kernel module for the AMD CS5536 Geode LX companion chip
37endef
38
39$(eval $(call KernelPackage,cs5536))
40
41
42define KernelPackage/pata-cs5535
43  SUBMENU:=$(BLOCK_MENU)
44  TITLE:=CS5535 PATA support
45  DEPENDS:=@TARGET_x86 @PCI_SUPPORT
46  KCONFIG:=CONFIG_PATA_CS5535
47  FILES=$(LINUX_DIR)/drivers/ata/pata_cs5535.ko
48  AUTOLOAD:=$(call AutoLoad,30,pata_cs5535,1)
49  $(call AddDepends/ata)
50endef
51
52define KernelPackage/pata-cs5535/description
53  Kernel module for the NSC/AMD CS5535 companion chip
54endef
55
56$(eval $(call KernelPackage,pata-cs5535))
57
58
59define KernelPackage/pata-cs5536
60  SUBMENU:=$(BLOCK_MENU)
61  TITLE:=CS5536 PATA support
62  DEPENDS:=@TARGET_x86 @PCI_SUPPORT
63  KCONFIG:=CONFIG_PATA_CS5536
64  FILES=$(LINUX_DIR)/drivers/ata/pata_cs5536.ko
65  AUTOLOAD:=$(call AutoLoad,30,pata_cs5536,1)
66  $(call AddDepends/ata)
67endef
68
69define KernelPackage/pata-cs5536/description
70  Kernel module for the AMD CS5536 Geode LX companion chip
71endef
72
73$(eval $(call KernelPackage,pata-cs5536))
74
75
76define KernelPackage/cpu-msr
77  SUBMENU:=$(OTHER_MENU)
78  TITLE:=x86 CPU MSR support
79  DEPENDS:=@TARGET_x86
80  KCONFIG:=CONFIG_X86_MSR
81  FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.ko
82  AUTOLOAD:=$(call AutoLoad,20,msr)
83endef
84
85define KernelPackage/cpu-msr/description
86 Kernel module for Model Specific Registers support in x86 CPUs
87endef
88
89$(eval $(call KernelPackage,cpu-msr))
90
91define KernelPackage/gpio-cs5535-new
92  SUBMENU:=$(OTHER_MENU)
93  TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
94  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
95  KCONFIG:=CONFIG_GPIO_CS5535
96  FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cs5535.ko
97  AUTOLOAD:=$(call AutoLoad,50,gpio-cs5535)
98endef
99
100define KernelPackage/gpio-cs5535-new/description
101 This package contains the new AMD CS5535/CS5536 GPIO driver
102endef
103
104$(eval $(call KernelPackage,gpio-cs5535-new))
105
106define KernelPackage/gpio-nsc
107  SUBMENU:=$(OTHER_MENU)
108  TITLE:=Natsemi GPIO support
109  DEPENDS:=@TARGET_x86
110  KCONFIG:=CONFIG_NSC_GPIO
111  FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
112  AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
113endef
114
115define KernelPackage/gpio-nsc/description
116 Kernel module for Natsemi GPIO
117endef
118
119$(eval $(call KernelPackage,gpio-nsc))
120
121
122define KernelPackage/gpio-pc8736x
123  SUBMENU:=$(OTHER_MENU)
124  TITLE:=PC8736x GPIO support
125  DEPENDS:=@TARGET_x86
126  KCONFIG:=CONFIG_PC8736x_GPIO
127  FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
128  AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
129endef
130
131define KernelPackage/gpio-pc8736x/description
132 Kernel module for PC8736x GPIO
133endef
134
135$(eval $(call KernelPackage,gpio-pc8736x))
136
137
138define KernelPackage/gpio-scx200
139  SUBMENU:=$(OTHER_MENU)
140  TITLE:=Natsemi SCX200 GPIO support
141  DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
142  KCONFIG:=CONFIG_SCx200_GPIO
143  FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
144  AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
145endef
146
147define KernelPackage/gpio-scx200/description
148 Kernel module for SCX200 GPIO
149endef
150
151$(eval $(call KernelPackage,gpio-scx200))
152
153define KernelPackage/wdt-geode
154  SUBMENU:=$(OTHER_MENU)
155  TITLE:=Geode/LX Watchdog timer
156  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
157  KCONFIG:=CONFIG_GEODE_WDT
158  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
159  AUTOLOAD:=$(call AutoLoad,50,geodewdt)
160endef
161
162define KernelPackage/wdt-geode/description
163  Kernel module for Geode watchdog timer.
164endef
165
166$(eval $(call KernelPackage,wdt-geode))
167
168
169define KernelPackage/cs5535-clockevt
170  SUBMENU:=$(OTHER_MENU)
171  TITLE:=CS5535/CS5536 high-res timer (MFGPT) events
172  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
173  KCONFIG:=CONFIG_CS5535_CLOCK_EVENT_SRC
174  FILES:=$(LINUX_DIR)/drivers/clocksource/cs5535-clockevt.ko
175  AUTOLOAD:=$(call AutoLoad,50,cs5535-clockevt)
176endef
177
178define KernelPackage/cs5535-clockevt/description
179  Kernel module for CS5535/6 high-res clock event source
180endef
181
182$(eval $(call KernelPackage,cs5535-clockevt))
183
184
185define KernelPackage/cs5535-mfgpt
186  SUBMENU:=$(OTHER_MENU)
187  TITLE:=CS5535/6 Multifunction General Purpose Timer
188  DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
189  KCONFIG:=CONFIG_CS5535_MFGPT
190  FILES:=$(LINUX_DIR)/drivers/misc/cs5535-mfgpt.ko
191  AUTOLOAD:=$(call AutoLoad,45,cs5535-mfgpt)
192endef
193
194define KernelPackage/cs5535-mfgpt/description
195  Kernel module for CS5535/6 multifunction general purpose timer.
196endef
197
198$(eval $(call KernelPackage,cs5535-mfgpt))
199
200
201define KernelPackage/cs5535-mfd
202  SUBMENU:=$(OTHER_MENU)
203  TITLE:=CS5535/6 Multifunction General Purpose Driver
204  DEPENDS:=@TARGET_x86
205  KCONFIG:=CONFIG_MFD_CS5535
206  FILES:= \
207      $(LINUX_DIR)/drivers/mfd/mfd-core.ko \
208      $(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
209  AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
210endef
211
212define KernelPackage/cs5535-mfd/description
213  Core driver for CS5535/CS5536 MFD functions.
214endef
215
216$(eval $(call KernelPackage,cs5535-mfd))
217
218define KernelPackage/wdt-sc520
219  SUBMENU:=$(OTHER_MENU)
220  TITLE:=Natsemi SC520 Watchdog support
221  DEPENDS:=@TARGET_x86
222  KCONFIG:=CONFIG_SC520_WDT
223  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
224  AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
225endef
226
227define KernelPackage/wdt-sc520/description
228  Kernel module for SC520 Watchdog
229endef
230
231$(eval $(call KernelPackage,wdt-sc520))
232
233
234define KernelPackage/wdt-scx200
235  SUBMENU:=$(OTHER_MENU)
236  TITLE:=Natsemi SCX200 Watchdog support
237  DEPENDS:=@TARGET_x86
238  KCONFIG:=CONFIG_SCx200_WDT
239  FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
240  AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
241endef
242
243define KernelPackage/wdt-scx200/description
244 Kernel module for SCX200 Watchdog
245endef
246
247$(eval $(call KernelPackage,wdt-scx200))
248
249I2C_SCX200_MODULES:=\
250  CONFIG_SCx200_I2C:drivers/i2c/busses/scx200_i2c
251
252define KernelPackage/i2c-scx200
253  $(call i2c_defaults,$(I2C_SCX200_MODULES),59)
254  TITLE:=Geode SCx200 I2C using GPIO pins
255  DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-algo-bit
256  KCONFIG+= \
257    CONFIG_SCx200_I2C_SCL=12 \
258    CONFIG_SCx200_I2C_SDA=13
259endef
260
261define KernelPackage/i2c-scx200/description
262 Kernel module for I2C using GPIO pins on the Geode SCx200 processors.
263endef
264
265$(eval $(call KernelPackage,i2c-scx200))
266
267
268I2C_SCX200_ACB_MODULES:=\
269  CONFIG_SCx200_ACB:drivers/i2c/busses/scx200_acb
270
271define KernelPackage/i2c-scx200-acb
272  $(call i2c_defaults,$(I2C_SCX200_ACB_MODULES),59)
273  TITLE:=Geode SCx200 ACCESS.bus support
274  DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-algo-bit
275endef
276
277define KernelPackage/i2c-scx200-acb/description
278 Kernel module for I2C using the ACCESS.bus controllers on the Geode SCx200
279 and SC1100 processors and the CS5535 and CS5536 Geode companion devices.
280endef
281
282$(eval $(call KernelPackage,i2c-scx200-acb))
283
284
285define KernelPackage/leds-wrap
286  SUBMENU:=$(LEDS_MENU)
287  TITLE:=PCengines WRAP LED support
288  DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
289  KCONFIG:=CONFIG_LEDS_WRAP
290  FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko
291  AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
292endef
293
294define KernelPackage/leds-wrap/description
295 Kernel module for PCengines WRAP LEDs
296endef
297
298$(eval $(call KernelPackage,leds-wrap))
299
300
301define KernelPackage/leds-net48xx
302  SUBMENU:=$(LEDS_MENU)
303  TITLE:=Soekris Net48xx LED support
304  DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
305  KCONFIG:=CONFIG_LEDS_NET48XX
306  FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko
307  AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
308endef
309
310define KernelPackage/leds-net48xx/description
311 Kernel module for Soekris Net48xx LEDs
312endef
313
314$(eval $(call KernelPackage,leds-net48xx))
315

Archive Download this file



interactive