other.mk 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779
  1. #
  2. # Copyright (C) 2006-2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. OTHER_MENU:=Other modules
  8. WATCHDOG_DIR:=watchdog
  9. define KernelPackage/bluetooth
  10. SUBMENU:=$(OTHER_MENU)
  11. TITLE:=Bluetooth support
  12. DEPENDS:=@USB_SUPPORT +kmod-usb-core
  13. KCONFIG:= \
  14. CONFIG_BLUEZ \
  15. CONFIG_BLUEZ_L2CAP \
  16. CONFIG_BLUEZ_SCO \
  17. CONFIG_BLUEZ_RFCOMM \
  18. CONFIG_BLUEZ_BNEP \
  19. CONFIG_BLUEZ_HCIUART \
  20. CONFIG_BLUEZ_HCIUSB \
  21. CONFIG_BLUEZ_HIDP \
  22. CONFIG_BT \
  23. CONFIG_BT_L2CAP \
  24. CONFIG_BT_SCO \
  25. CONFIG_BT_RFCOMM \
  26. CONFIG_BT_BNEP \
  27. CONFIG_BT_HCIBTUSB \
  28. CONFIG_BT_HCIUSB \
  29. CONFIG_BT_HCIUART \
  30. CONFIG_BT_HCIUART_H4 \
  31. CONFIG_BT_HIDP \
  32. CONFIG_HID_SUPPORT=y
  33. $(call AddDepends/crc16)
  34. $(call AddDepends/hid)
  35. $(call AddDepends/rfkill)
  36. FILES:= \
  37. $(LINUX_DIR)/net/bluetooth/bluetooth.ko \
  38. $(LINUX_DIR)/net/bluetooth/rfcomm/rfcomm.ko \
  39. $(LINUX_DIR)/net/bluetooth/bnep/bnep.ko \
  40. $(LINUX_DIR)/net/bluetooth/hidp/hidp.ko \
  41. $(LINUX_DIR)/drivers/bluetooth/hci_uart.ko \
  42. $(LINUX_DIR)/drivers/bluetooth/btusb.ko
  43. ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.39)),1)
  44. AUTOLOAD:=$(call AutoLoad,90,bluetooth rfcomm bnep hidp hci_uart btusb)
  45. else
  46. FILES+= \
  47. $(LINUX_DIR)/net/bluetooth/l2cap.ko \
  48. $(LINUX_DIR)/net/bluetooth/sco.ko
  49. AUTOLOAD:=$(call AutoLoad,90,bluetooth l2cap sco rfcomm bnep hidp hci_uart btusb)
  50. endif
  51. endef
  52. define KernelPackage/bluetooth/description
  53. Kernel support for Bluetooth devices
  54. endef
  55. $(eval $(call KernelPackage,bluetooth))
  56. define KernelPackage/bluetooth-hci-h4p
  57. SUBMENU:=$(OTHER_MENU)
  58. TITLE:=HCI driver with H4 Nokia extensions
  59. DEPENDS:=@TARGET_omap24xx +kmod-bluetooth
  60. KCONFIG:=CONFIG_BT_HCIH4P
  61. FILES:=$(LINUX_DIR)/drivers/bluetooth/hci_h4p/hci_h4p.ko
  62. AUTOLOAD:=$(call AutoLoad,91,hci_h4p)
  63. endef
  64. define KernelPackage/bluetooth-hci-h4p/description
  65. HCI driver with H4 Nokia extensions
  66. endef
  67. $(eval $(call KernelPackage,bluetooth-hci-h4p))
  68. define KernelPackage/cpu-msr
  69. SUBMENU:=$(OTHER_MENU)
  70. TITLE:=x86 CPU MSR support
  71. DEPENDS:=@TARGET_x86
  72. KCONFIG:=CONFIG_X86_MSR
  73. FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.ko
  74. AUTOLOAD:=$(call AutoLoad,20,msr)
  75. endef
  76. define KernelPackage/cpu-msr/description
  77. Kernel module for Model Specific Registers support in x86 CPUs
  78. endef
  79. $(eval $(call KernelPackage,cpu-msr))
  80. define KernelPackage/eeprom-93cx6
  81. SUBMENU:=$(OTHER_MENU)
  82. TITLE:=EEPROM 93CX6 support
  83. KCONFIG:=CONFIG_EEPROM_93CX6
  84. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/eeprom_93cx6.ko
  85. AUTOLOAD:=$(call AutoLoad,20,eeprom_93cx6)
  86. endef
  87. define KernelPackage/eeprom-93cx6/description
  88. Kernel module for EEPROM 93CX6 support
  89. endef
  90. $(eval $(call KernelPackage,eeprom-93cx6))
  91. define KernelPackage/eeprom-at24
  92. SUBMENU:=$(OTHER_MENU)
  93. TITLE:=EEPROM AT24 support
  94. KCONFIG:=CONFIG_EEPROM_AT24
  95. DEPENDS:=+kmod-i2c-core
  96. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko
  97. AUTOLOAD:=$(call AutoLoad,60,at24)
  98. endef
  99. define KernelPackage/eeprom-at24/description
  100. Kernel module for most I2C EEPROMs
  101. endef
  102. $(eval $(call KernelPackage,eeprom-at24))
  103. define KernelPackage/eeprom-at25
  104. SUBMENU:=$(OTHER_MENU)
  105. TITLE:=EEPROM AT25 support
  106. KCONFIG:=CONFIG_EEPROM_AT25
  107. FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at25.ko
  108. AUTOLOAD:=$(call AutoLoad,61,at25)
  109. endef
  110. define KernelPackage/eeprom-at25/description
  111. Kernel module for most SPI EEPROMs
  112. endef
  113. $(eval $(call KernelPackage,eeprom-at25))
  114. define KernelPackage/gpio-cs5535
  115. SUBMENU:=$(OTHER_MENU)
  116. TITLE:=AMD CS5535/CS5536 GPIO driver
  117. DEPENDS:=@TARGET_x86 @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37
  118. KCONFIG:=CONFIG_CS5535_GPIO
  119. FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko
  120. AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio)
  121. endef
  122. define KernelPackage/gpio-cs5535/description
  123. This package contains the AMD CS5535/CS5536 GPIO driver
  124. endef
  125. $(eval $(call KernelPackage,gpio-cs5535))
  126. define KernelPackage/gpio-cs5535-new
  127. SUBMENU:=$(OTHER_MENU)
  128. TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
  129. DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32)
  130. KCONFIG:=CONFIG_GPIO_CS5535
  131. FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko
  132. AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio)
  133. endef
  134. define KernelPackage/gpio-cs5535-new/description
  135. This package contains the new AMD CS5535/CS5536 GPIO driver
  136. endef
  137. $(eval $(call KernelPackage,gpio-cs5535-new))
  138. define KernelPackage/gpio-dev
  139. SUBMENU:=$(OTHER_MENU)
  140. TITLE:=Generic GPIO char device support
  141. DEPENDS:=@GPIO_SUPPORT
  142. KCONFIG:=CONFIG_GPIO_DEVICE
  143. FILES:=$(LINUX_DIR)/drivers/char/gpio_dev.ko
  144. AUTOLOAD:=$(call AutoLoad,40,gpio_dev)
  145. endef
  146. define KernelPackage/gpio-dev/description
  147. Kernel module to allows control of GPIO pins using a character device.
  148. endef
  149. $(eval $(call KernelPackage,gpio-dev))
  150. define KernelPackage/gpio-nsc
  151. SUBMENU:=$(OTHER_MENU)
  152. TITLE:=Natsemi GPIO support
  153. DEPENDS:=@TARGET_x86
  154. KCONFIG:=CONFIG_NSC_GPIO
  155. FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
  156. AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
  157. endef
  158. define KernelPackage/gpio-nsc/description
  159. Kernel module for Natsemi GPIO
  160. endef
  161. $(eval $(call KernelPackage,gpio-nsc))
  162. define KernelPackage/gpio-pc8736x
  163. SUBMENU:=$(OTHER_MENU)
  164. TITLE:=PC8736x GPIO support
  165. DEPENDS:=@TARGET_x86
  166. KCONFIG:=CONFIG_PC8736x_GPIO
  167. FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
  168. AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
  169. endef
  170. define KernelPackage/gpio-pc8736x/description
  171. Kernel module for PC8736x GPIO
  172. endef
  173. $(eval $(call KernelPackage,gpio-pc8736x))
  174. define KernelPackage/gpio-scx200
  175. SUBMENU:=$(OTHER_MENU)
  176. TITLE:=Natsemi SCX200 GPIO support
  177. DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
  178. KCONFIG:=CONFIG_SCx200_GPIO
  179. FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
  180. AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
  181. endef
  182. define KernelPackage/gpio-scx200/description
  183. Kernel module for SCX200 GPIO
  184. endef
  185. $(eval $(call KernelPackage,gpio-scx200))
  186. define KernelPackage/gpio-nxp-74hc164
  187. SUBMENU:=$(OTHER_MENU)
  188. TITLE:=NXP 74HC164 GPIO expander support
  189. DEPENDS:=@TARGET_brcm63xx
  190. KCONFIG:=CONFIG_GPIO_NXP_74HC164
  191. FILES:=$(LINUX_DIR)/drivers/gpio/nxp_74hc164.ko
  192. AUTOLOAD:=$(call AutoLoad,99,nxp_74hc164)
  193. endef
  194. define KernelPackage/gpio-nxp-74hc164/description
  195. Kernel module for NXP 74HC164 GPIO expander
  196. endef
  197. $(eval $(call KernelPackage,gpio-nxp-74hc164))
  198. define KernelPackage/hid
  199. SUBMENU:=$(OTHER_MENU)
  200. TITLE:=HID Devices
  201. DEPENDS:=+kmod-input-evdev
  202. KCONFIG:=CONFIG_HID
  203. FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
  204. AUTOLOAD:=$(call AutoLoad,61,hid)
  205. $(call SetDepends/hid)
  206. $(call AddDepends/input)
  207. endef
  208. define KernelPackage/hid/description
  209. Kernel modules for HID devices
  210. endef
  211. $(eval $(call KernelPackage,hid))
  212. define KernelPackage/input-core
  213. SUBMENU:=$(OTHER_MENU)
  214. TITLE:=Input device core
  215. KCONFIG:=CONFIG_INPUT
  216. $(call SetDepends/input)
  217. FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
  218. AUTOLOAD:=$(call AutoLoad,19,input-core)
  219. endef
  220. define KernelPackage/input-core/description
  221. Kernel modules for support of input device
  222. endef
  223. $(eval $(call KernelPackage,input-core))
  224. define KernelPackage/input-evdev
  225. SUBMENU:=$(OTHER_MENU)
  226. TITLE:=Input event device
  227. KCONFIG:=CONFIG_INPUT_EVDEV
  228. FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
  229. AUTOLOAD:=$(call AutoLoad,60,evdev)
  230. $(call AddDepends/input)
  231. endef
  232. define KernelPackage/input-evdev/description
  233. Kernel modules for support of input device events
  234. endef
  235. $(eval $(call KernelPackage,input-evdev))
  236. define KernelPackage/input-gpio-buttons
  237. SUBMENU:=$(OTHER_MENU)
  238. TITLE:=Polled GPIO buttons input device
  239. DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
  240. KCONFIG:= \
  241. CONFIG_INPUT_GPIO_BUTTONS \
  242. CONFIG_INPUT_MISC=y
  243. FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
  244. AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
  245. endef
  246. define KernelPackage/input-gpio-buttons/description
  247. Kernel module for support polled GPIO buttons input device
  248. endef
  249. $(eval $(call KernelPackage,input-gpio-buttons))
  250. define KernelPackage/input-gpio-keys
  251. SUBMENU:=$(OTHER_MENU)
  252. TITLE:=GPIO key support
  253. DEPENDS:= @GPIO_SUPPORT
  254. KCONFIG:= \
  255. CONFIG_KEYBOARD_GPIO \
  256. CONFIG_INPUT_KEYBOARD=y
  257. FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
  258. AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
  259. $(call AddDepends/input)
  260. endef
  261. define KernelPackage/input-gpio-keys/description
  262. This driver implements support for buttons connected
  263. to GPIO pins of various CPUs (and some other chips).
  264. endef
  265. $(eval $(call KernelPackage,input-gpio-keys))
  266. define KernelPackage/input-gpio-keys-polled
  267. SUBMENU:=$(OTHER_MENU)
  268. TITLE:=Polled GPIO key support
  269. DEPENDS:=@GPIO_SUPPORT @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_34||LINUX_2_6_35||LINUX_2_6_36) +kmod-input-polldev
  270. KCONFIG:= \
  271. CONFIG_KEYBOARD_GPIO_POLLED \
  272. CONFIG_INPUT_KEYBOARD=y
  273. FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
  274. AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled)
  275. $(call AddDepends/input)
  276. endef
  277. define KernelPackage/input-gpio-keys-polled/description
  278. Kernel module for support polled GPIO keys input device
  279. endef
  280. $(eval $(call KernelPackage,input-gpio-keys-polled))
  281. define KernelPackage/input-gpio-encoder
  282. SUBMENU:=$(OTHER_MENU)
  283. TITLE:=GPIO rotay encoder
  284. KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
  285. FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
  286. AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
  287. $(call AddDepends/input,@GPIO_SUPPORT)
  288. endef
  289. define KernelPackage/gpio-encoder/description
  290. Kernel module to use rotary encoders connected to GPIO pins
  291. endef
  292. $(eval $(call KernelPackage,input-gpio-encoder))
  293. define KernelPackage/input-joydev
  294. SUBMENU:=$(OTHER_MENU)
  295. TITLE:=Joystick device support
  296. KCONFIG:=CONFIG_INPUT_JOYDEV
  297. FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
  298. AUTOLOAD:=$(call AutoLoad,62,joydev)
  299. $(call AddDepends/input)
  300. endef
  301. define KernelPackage/input-joydev/description
  302. Kernel module for joystick support
  303. endef
  304. $(eval $(call KernelPackage,input-joydev))
  305. define KernelPackage/input-polldev
  306. SUBMENU:=$(OTHER_MENU)
  307. TITLE:=Polled Input device support
  308. KCONFIG:=CONFIG_INPUT_POLLDEV
  309. FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
  310. AUTOLOAD:=$(call AutoLoad,20,input-polldev)
  311. $(call AddDepends/input)
  312. endef
  313. define KernelPackage/input-polldev/description
  314. Kernel module for support of polled input devices
  315. endef
  316. $(eval $(call KernelPackage,input-polldev))
  317. define KernelPackage/lp
  318. SUBMENU:=$(OTHER_MENU)
  319. TITLE:=Parallel port and line printer support
  320. DEPENDS:=@BROKEN
  321. KCONFIG:= \
  322. CONFIG_PARPORT \
  323. CONFIG_PRINTER \
  324. CONFIG_PPDEV
  325. FILES:= \
  326. $(LINUX_DIR)/drivers/parport/parport.ko \
  327. $(LINUX_DIR)/drivers/char/lp.ko \
  328. $(LINUX_DIR)/drivers/char/ppdev.ko
  329. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  330. endef
  331. $(eval $(call KernelPackage,lp))
  332. define KernelPackage/mmc
  333. SUBMENU:=$(OTHER_MENU)
  334. TITLE:=MMC/SD Card Support
  335. KCONFIG:= \
  336. CONFIG_MMC \
  337. CONFIG_MMC_BLOCK \
  338. CONFIG_MMC_DEBUG=n \
  339. CONFIG_MMC_UNSAFE_RESUME=n \
  340. CONFIG_MMC_BLOCK_BOUNCE=y \
  341. CONFIG_MMC_SDHCI=n \
  342. CONFIG_MMC_TIFM_SD=n \
  343. CONFIG_MMC_WBSD=n \
  344. CONFIG_SDIO_UART=n
  345. FILES:= \
  346. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  347. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  348. AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
  349. endef
  350. define KernelPackage/mmc/description
  351. Kernel support for MMC/SD cards
  352. endef
  353. $(eval $(call KernelPackage,mmc))
  354. define KernelPackage/mmc-atmelmci
  355. SUBMENU:=$(OTHER_MENU)
  356. TITLE:=Amtel MMC Support
  357. DEPENDS:=@TARGET_avr32 +kmod-mmc
  358. KCONFIG:=CONFIG_MMC_ATMELMCI
  359. FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
  360. AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
  361. endef
  362. define KernelPackage/mmc-atmelmci/description
  363. Kernel support for Atmel Multimedia Card Interface.
  364. endef
  365. $(eval $(call KernelPackage,mmc-atmelmci,1))
  366. define KernelPackage/oprofile
  367. SUBMENU:=$(OTHER_MENU)
  368. TITLE:=OProfile profiling support
  369. KCONFIG:=CONFIG_OPROFILE
  370. FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
  371. DEPENDS:=@KERNEL_PROFILING
  372. endef
  373. define KernelPackage/oprofile/description
  374. Kernel module for support for oprofile system profiling.
  375. endef
  376. $(eval $(call KernelPackage,oprofile))
  377. define KernelPackage/rfkill
  378. SUBMENU:=$(OTHER_MENU)
  379. TITLE:=RF switch subsystem support
  380. KCONFIG:= \
  381. CONFIG_RFKILL \
  382. CONFIG_RFKILL_INPUT=y \
  383. CONFIG_RFKILL_LEDS=y
  384. ifeq ($(CONFIG_LINUX_2_6_30),)
  385. FILES:= \
  386. $(LINUX_DIR)/net/rfkill/rfkill.ko
  387. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  388. else
  389. FILES:= \
  390. $(LINUX_DIR)/net/rfkill/rfkill.ko \
  391. $(LINUX_DIR)/net/rfkill/rfkill-input.ko
  392. AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
  393. endif
  394. $(call SetDepends/rfkill)
  395. endef
  396. define KernelPackage/rfkill/description
  397. Say Y here if you want to have control over RF switches
  398. found on many WiFi and Bluetooth cards.
  399. endef
  400. $(eval $(call KernelPackage,rfkill))
  401. define KernelPackage/softdog
  402. SUBMENU:=$(OTHER_MENU)
  403. TITLE:=Software watchdog driver
  404. KCONFIG:=CONFIG_SOFT_WATCHDOG
  405. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  406. AUTOLOAD:=$(call AutoLoad,50,softdog)
  407. endef
  408. define KernelPackage/softdog/description
  409. Software watchdog driver
  410. endef
  411. $(eval $(call KernelPackage,softdog))
  412. define KernelPackage/ssb
  413. SUBMENU:=$(OTHER_MENU)
  414. TITLE:=Silicon Sonics Backplane glue code
  415. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  416. KCONFIG:=\
  417. CONFIG_SSB \
  418. CONFIG_SSB_B43_PCI_BRIDGE=y \
  419. CONFIG_SSB_DRIVER_MIPS=n \
  420. CONFIG_SSB_DRIVER_PCICORE=y \
  421. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  422. CONFIG_SSB_PCIHOST=y \
  423. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  424. CONFIG_SSB_POSSIBLE=y \
  425. CONFIG_SSB_SPROM=y \
  426. CONFIG_SSB_SILENT=y
  427. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  428. AUTOLOAD:=$(call AutoLoad,29,ssb)
  429. endef
  430. define KernelPackage/ssb/description
  431. Silicon Sonics Backplane glue code.
  432. endef
  433. $(eval $(call KernelPackage,ssb))
  434. define KernelPackage/bcma
  435. SUBMENU:=$(OTHER_MENU)
  436. TITLE:=BCMA support
  437. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
  438. KCONFIG:=\
  439. CONFIG_BCMA \
  440. CONFIG_BCMA_POSSIBLE=y \
  441. CONFIG_BCMA_BLOCKIO=y \
  442. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  443. CONFIG_BCMA_HOST_PCI=y \
  444. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  445. CONFIG_BCMA_DEBUG=n
  446. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  447. AUTOLOAD:=$(call AutoLoad,29,bcma)
  448. endef
  449. define KernelPackage/bcma/description
  450. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
  451. endef
  452. $(eval $(call KernelPackage,bcma))
  453. define KernelPackage/wdt-geode
  454. SUBMENU:=$(OTHER_MENU)
  455. TITLE:=Geode/LX Watchdog timer
  456. DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
  457. KCONFIG:=CONFIG_GEODE_WDT
  458. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
  459. AUTOLOAD:=$(call AutoLoad,50,geodewdt)
  460. endef
  461. define KernelPackage/wdt-geode/description
  462. Kernel module for Geode watchdog timer.
  463. endef
  464. $(eval $(call KernelPackage,wdt-geode))
  465. define KernelPackage/cs5535-clockevt
  466. SUBMENU:=$(OTHER_MENU)
  467. TITLE:=CS5535/CS5536 high-res timer (MFGPT) events
  468. DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
  469. KCONFIG:=CONFIG_CS5535_CLOCK_EVENT_SRC
  470. FILES:=$(LINUX_DIR)/drivers/clocksource/cs5535-clockevt.ko
  471. AUTOLOAD:=$(call AutoLoad,50,cs5535-clockevt)
  472. endef
  473. define KernelPackage/cs5535-clockevt/description
  474. Kernel module for CS5535/6 high-res clock event source
  475. endef
  476. $(eval $(call KernelPackage,cs5535-clockevt))
  477. define KernelPackage/cs5535-mfgpt
  478. SUBMENU:=$(OTHER_MENU)
  479. TITLE:=CS5535/6 Multifunction General Purpose Timer
  480. DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
  481. KCONFIG:=CONFIG_CS5535_MFGPT
  482. FILES:=$(LINUX_DIR)/drivers/misc/cs5535-mfgpt.ko
  483. AUTOLOAD:=$(call AutoLoad,45,cs5535-mfgpt)
  484. endef
  485. define KernelPackage/cs5535-mfgpt/description
  486. Kernel module for CS5535/6 multifunction general purpose timer.
  487. endef
  488. $(eval $(call KernelPackage,cs5535-mfgpt))
  489. define KernelPackage/cs5535-mfd
  490. SUBMENU:=$(OTHER_MENU)
  491. TITLE:=CS5535/6 Multifunction General Purpose Driver
  492. DEPENDS:=@TARGET_x86
  493. KCONFIG:=CONFIG_MFD_CS5535
  494. FILES:= \
  495. $(LINUX_DIR)/drivers/mfd/mfd-core.ko \
  496. $(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
  497. AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
  498. endef
  499. define KernelPackage/cs5535-mfd/description
  500. Core driver for CS5535/CS5536 MFD functions.
  501. endef
  502. $(eval $(call KernelPackage,cs5535-mfd))
  503. define KernelPackage/wdt-omap
  504. SUBMENU:=$(OTHER_MENU)
  505. TITLE:=OMAP Watchdog timer
  506. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  507. KCONFIG:=CONFIG_OMAP_WATCHDOG
  508. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  509. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  510. endef
  511. define KernelPackage/wdt-omap/description
  512. Kernel module for TI omap watchdog timer.
  513. endef
  514. $(eval $(call KernelPackage,wdt-omap))
  515. define KernelPackage/wdt-orion
  516. SUBMENU:=$(OTHER_MENU)
  517. TITLE:=Marvell Orion Watchdog timer
  518. DEPENDS:=@TARGET_orion
  519. KCONFIG:=CONFIG_ORION_WATCHDOG
  520. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  521. AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
  522. endef
  523. define KernelPackage/wdt-orion/description
  524. Kernel module for Marvell orion watchdog timer.
  525. endef
  526. $(eval $(call KernelPackage,wdt-orion))
  527. define KernelPackage/wdt-sc520
  528. SUBMENU:=$(OTHER_MENU)
  529. TITLE:=Natsemi SC520 Watchdog support
  530. DEPENDS:=@TARGET_x86
  531. KCONFIG:=CONFIG_SC520_WDT
  532. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
  533. AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
  534. endef
  535. define KernelPackage/wdt-sc520/description
  536. Kernel module for SC520 Watchdog
  537. endef
  538. $(eval $(call KernelPackage,wdt-sc520))
  539. define KernelPackage/wdt-scx200
  540. SUBMENU:=$(OTHER_MENU)
  541. TITLE:=Natsemi SCX200 Watchdog support
  542. DEPENDS:=@TARGET_x86
  543. KCONFIG:=CONFIG_SCx200_WDT
  544. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
  545. AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
  546. endef
  547. define KernelPackage/wdt-scx200/description
  548. Kernel module for SCX200 Watchdog
  549. endef
  550. $(eval $(call KernelPackage,wdt-scx200))
  551. define KernelPackage/pwm
  552. SUBMENU:=$(OTHER_MENU)
  553. TITLE:=PWM generic API
  554. KCONFIG:=CONFIG_GENERIC_PWM
  555. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  556. AUTOLOAD:=$(call AutoLoad,50,pwm)
  557. endef
  558. define KernelPackage/pwm/description
  559. Kernel module that implement a generic PWM API
  560. endef
  561. $(eval $(call KernelPackage,pwm))
  562. define KernelPackage/pwm-gpio
  563. SUBMENU:=$(OTHER_MENU)
  564. TITLE:=PWM over GPIO
  565. DEPENDS:=+kmod-pwm
  566. KCONFIG:=CONFIG_GPIO_PWM
  567. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  568. AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
  569. endef
  570. define KernelPackage/pwm-gpio/description
  571. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  572. endef
  573. $(eval $(call KernelPackage,pwm-gpio))
  574. define KernelPackage/rtc-core
  575. SUBMENU:=$(OTHER_MENU)
  576. DEPENDS:=@(!LINUX_3_0||BROKEN)
  577. TITLE:=Real Time Clock class support
  578. KCONFIG:=CONFIG_RTC_CLASS
  579. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko
  580. AUTOLOAD:=$(call AutoLoad,29,rtc-core)
  581. endef
  582. define KernelPackage/rtc-core/description
  583. Generic RTC class support.
  584. endef
  585. $(eval $(call KernelPackage,rtc-core))
  586. define KernelPackage/rtc-pcf8563
  587. SUBMENU:=$(OTHER_MENU)
  588. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  589. DEPENDS:=+kmod-rtc-core
  590. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  591. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  592. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
  593. endef
  594. define KernelPackage/rtc-pcf8563/description
  595. Kernel module for Philips PCF8563 RTC chip.
  596. The Epson RTC8564 should work as well.
  597. endef
  598. $(eval $(call KernelPackage,rtc-pcf8563))
  599. define KernelPackage/n810bm
  600. SUBMENU:=$(OTHER_MENU)
  601. TITLE:=Nokia N810 battery management driver
  602. DEPENDS:=@TARGET_omap24xx
  603. KCONFIG:=CONFIG_N810BM
  604. FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.ko
  605. AUTOLOAD:=$(call AutoLoad,01,n810bm)
  606. endef
  607. define KernelPackage/n810bm/description
  608. Nokia N810 battery management driver.
  609. Controls battery power management and battery charging.
  610. endef
  611. $(eval $(call KernelPackage,n810bm))