other.mk 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778
  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. KCONFIG:=CONFIG_HID
  202. FILES:=$(LINUX_DIR)/drivers/hid/hid.ko
  203. AUTOLOAD:=$(call AutoLoad,61,hid)
  204. $(call SetDepends/hid)
  205. $(call AddDepends/input,+kmod-input-evdev)
  206. endef
  207. define KernelPackage/hid/description
  208. Kernel modules for HID devices
  209. endef
  210. $(eval $(call KernelPackage,hid))
  211. define KernelPackage/input-core
  212. SUBMENU:=$(OTHER_MENU)
  213. TITLE:=Input device core
  214. KCONFIG:=CONFIG_INPUT
  215. $(call SetDepends/input)
  216. FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
  217. AUTOLOAD:=$(call AutoLoad,19,input-core)
  218. endef
  219. define KernelPackage/input-core/description
  220. Kernel modules for support of input device
  221. endef
  222. $(eval $(call KernelPackage,input-core))
  223. define KernelPackage/input-evdev
  224. SUBMENU:=$(OTHER_MENU)
  225. TITLE:=Input event device
  226. KCONFIG:=CONFIG_INPUT_EVDEV
  227. FILES:=$(LINUX_DIR)/drivers/input/evdev.ko
  228. AUTOLOAD:=$(call AutoLoad,60,evdev)
  229. $(call AddDepends/input)
  230. endef
  231. define KernelPackage/input-evdev/description
  232. Kernel modules for support of input device events
  233. endef
  234. $(eval $(call KernelPackage,input-evdev))
  235. define KernelPackage/input-gpio-buttons
  236. SUBMENU:=$(OTHER_MENU)
  237. TITLE:=Polled GPIO buttons input device
  238. DEPENDS:=@GPIO_SUPPORT +kmod-input-polldev
  239. KCONFIG:= \
  240. CONFIG_INPUT_GPIO_BUTTONS \
  241. CONFIG_INPUT_MISC=y
  242. FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
  243. AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
  244. endef
  245. define KernelPackage/input-gpio-buttons/description
  246. Kernel module for support polled GPIO buttons input device
  247. endef
  248. $(eval $(call KernelPackage,input-gpio-buttons))
  249. define KernelPackage/input-gpio-keys
  250. SUBMENU:=$(OTHER_MENU)
  251. TITLE:=GPIO key support
  252. DEPENDS:= @GPIO_SUPPORT
  253. KCONFIG:= \
  254. CONFIG_KEYBOARD_GPIO \
  255. CONFIG_INPUT_KEYBOARD=y
  256. FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys.ko
  257. AUTOLOAD:=$(call AutoLoad,60,gpio_keys)
  258. $(call AddDepends/input)
  259. endef
  260. define KernelPackage/input-gpio-keys/description
  261. This driver implements support for buttons connected
  262. to GPIO pins of various CPUs (and some other chips).
  263. endef
  264. $(eval $(call KernelPackage,input-gpio-keys))
  265. define KernelPackage/input-gpio-keys-polled
  266. SUBMENU:=$(OTHER_MENU)
  267. TITLE:=Polled GPIO key support
  268. 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
  269. KCONFIG:= \
  270. CONFIG_KEYBOARD_GPIO_POLLED \
  271. CONFIG_INPUT_KEYBOARD=y
  272. FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
  273. AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled)
  274. $(call AddDepends/input)
  275. endef
  276. define KernelPackage/input-gpio-keys-polled/description
  277. Kernel module for support polled GPIO keys input device
  278. endef
  279. $(eval $(call KernelPackage,input-gpio-keys-polled))
  280. define KernelPackage/input-gpio-encoder
  281. SUBMENU:=$(OTHER_MENU)
  282. TITLE:=GPIO rotay encoder
  283. KCONFIG:=CONFIG_INPUT_GPIO_ROTARY_ENCODER
  284. FILES:=$(LINUX_DIR)/drivers/input/misc/rotary_encoder.ko
  285. AUTOLOAD:=$(call AutoLoad,62,rotary_encoder)
  286. $(call AddDepends/input,@GPIO_SUPPORT)
  287. endef
  288. define KernelPackage/gpio-encoder/description
  289. Kernel module to use rotary encoders connected to GPIO pins
  290. endef
  291. $(eval $(call KernelPackage,input-gpio-encoder))
  292. define KernelPackage/input-joydev
  293. SUBMENU:=$(OTHER_MENU)
  294. TITLE:=Joystick device support
  295. KCONFIG:=CONFIG_INPUT_JOYDEV
  296. FILES:=$(LINUX_DIR)/drivers/input/joydev.ko
  297. AUTOLOAD:=$(call AutoLoad,62,joydev)
  298. $(call AddDepends/input)
  299. endef
  300. define KernelPackage/input-joydev/description
  301. Kernel module for joystick support
  302. endef
  303. $(eval $(call KernelPackage,input-joydev))
  304. define KernelPackage/input-polldev
  305. SUBMENU:=$(OTHER_MENU)
  306. TITLE:=Polled Input device support
  307. KCONFIG:=CONFIG_INPUT_POLLDEV
  308. FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
  309. AUTOLOAD:=$(call AutoLoad,20,input-polldev)
  310. $(call AddDepends/input)
  311. endef
  312. define KernelPackage/input-polldev/description
  313. Kernel module for support of polled input devices
  314. endef
  315. $(eval $(call KernelPackage,input-polldev))
  316. define KernelPackage/lp
  317. SUBMENU:=$(OTHER_MENU)
  318. TITLE:=Parallel port and line printer support
  319. DEPENDS:=@BROKEN
  320. KCONFIG:= \
  321. CONFIG_PARPORT \
  322. CONFIG_PRINTER \
  323. CONFIG_PPDEV
  324. FILES:= \
  325. $(LINUX_DIR)/drivers/parport/parport.ko \
  326. $(LINUX_DIR)/drivers/char/lp.ko \
  327. $(LINUX_DIR)/drivers/char/ppdev.ko
  328. AUTOLOAD:=$(call AutoLoad,50,parport lp)
  329. endef
  330. $(eval $(call KernelPackage,lp))
  331. define KernelPackage/mmc
  332. SUBMENU:=$(OTHER_MENU)
  333. TITLE:=MMC/SD Card Support
  334. KCONFIG:= \
  335. CONFIG_MMC \
  336. CONFIG_MMC_BLOCK \
  337. CONFIG_MMC_DEBUG=n \
  338. CONFIG_MMC_UNSAFE_RESUME=n \
  339. CONFIG_MMC_BLOCK_BOUNCE=y \
  340. CONFIG_MMC_SDHCI=n \
  341. CONFIG_MMC_TIFM_SD=n \
  342. CONFIG_MMC_WBSD=n \
  343. CONFIG_SDIO_UART=n
  344. FILES:= \
  345. $(LINUX_DIR)/drivers/mmc/core/mmc_core.ko \
  346. $(LINUX_DIR)/drivers/mmc/card/mmc_block.ko
  347. AUTOLOAD:=$(call AutoLoad,90,mmc_core mmc_block,1)
  348. endef
  349. define KernelPackage/mmc/description
  350. Kernel support for MMC/SD cards
  351. endef
  352. $(eval $(call KernelPackage,mmc))
  353. define KernelPackage/mmc-atmelmci
  354. SUBMENU:=$(OTHER_MENU)
  355. TITLE:=Amtel MMC Support
  356. DEPENDS:=@TARGET_avr32 +kmod-mmc
  357. KCONFIG:=CONFIG_MMC_ATMELMCI
  358. FILES:=$(LINUX_DIR)/drivers/mmc/host/atmel-mci.ko
  359. AUTOLOAD:=$(call AutoLoad,90,atmel-mci)
  360. endef
  361. define KernelPackage/mmc-atmelmci/description
  362. Kernel support for Atmel Multimedia Card Interface.
  363. endef
  364. $(eval $(call KernelPackage,mmc-atmelmci,1))
  365. define KernelPackage/oprofile
  366. SUBMENU:=$(OTHER_MENU)
  367. TITLE:=OProfile profiling support
  368. KCONFIG:=CONFIG_OPROFILE
  369. FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
  370. DEPENDS:=@KERNEL_PROFILING
  371. endef
  372. define KernelPackage/oprofile/description
  373. Kernel module for support for oprofile system profiling.
  374. endef
  375. $(eval $(call KernelPackage,oprofile))
  376. define KernelPackage/rfkill
  377. SUBMENU:=$(OTHER_MENU)
  378. TITLE:=RF switch subsystem support
  379. KCONFIG:= \
  380. CONFIG_RFKILL \
  381. CONFIG_RFKILL_INPUT=y \
  382. CONFIG_RFKILL_LEDS=y
  383. ifeq ($(CONFIG_LINUX_2_6_30),)
  384. FILES:= \
  385. $(LINUX_DIR)/net/rfkill/rfkill.ko
  386. AUTOLOAD:=$(call AutoLoad,20,rfkill)
  387. else
  388. FILES:= \
  389. $(LINUX_DIR)/net/rfkill/rfkill.ko \
  390. $(LINUX_DIR)/net/rfkill/rfkill-input.ko
  391. AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
  392. endif
  393. $(call SetDepends/rfkill)
  394. endef
  395. define KernelPackage/rfkill/description
  396. Say Y here if you want to have control over RF switches
  397. found on many WiFi and Bluetooth cards.
  398. endef
  399. $(eval $(call KernelPackage,rfkill))
  400. define KernelPackage/softdog
  401. SUBMENU:=$(OTHER_MENU)
  402. TITLE:=Software watchdog driver
  403. KCONFIG:=CONFIG_SOFT_WATCHDOG
  404. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/softdog.ko
  405. AUTOLOAD:=$(call AutoLoad,50,softdog)
  406. endef
  407. define KernelPackage/softdog/description
  408. Software watchdog driver
  409. endef
  410. $(eval $(call KernelPackage,softdog))
  411. define KernelPackage/ssb
  412. SUBMENU:=$(OTHER_MENU)
  413. TITLE:=Silicon Sonics Backplane glue code
  414. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx @!TARGET_brcm63xx
  415. KCONFIG:=\
  416. CONFIG_SSB \
  417. CONFIG_SSB_B43_PCI_BRIDGE=y \
  418. CONFIG_SSB_DRIVER_MIPS=n \
  419. CONFIG_SSB_DRIVER_PCICORE=y \
  420. CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y \
  421. CONFIG_SSB_PCIHOST=y \
  422. CONFIG_SSB_PCIHOST_POSSIBLE=y \
  423. CONFIG_SSB_POSSIBLE=y \
  424. CONFIG_SSB_SPROM=y \
  425. CONFIG_SSB_SILENT=y
  426. FILES:=$(LINUX_DIR)/drivers/ssb/ssb.ko
  427. AUTOLOAD:=$(call AutoLoad,29,ssb)
  428. endef
  429. define KernelPackage/ssb/description
  430. Silicon Sonics Backplane glue code.
  431. endef
  432. $(eval $(call KernelPackage,ssb))
  433. define KernelPackage/bcma
  434. SUBMENU:=$(OTHER_MENU)
  435. TITLE:=BCMA support
  436. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx
  437. KCONFIG:=\
  438. CONFIG_BCMA \
  439. CONFIG_BCMA_POSSIBLE=y \
  440. CONFIG_BCMA_BLOCKIO=y \
  441. CONFIG_BCMA_HOST_PCI_POSSIBLE=y \
  442. CONFIG_BCMA_HOST_PCI=y \
  443. CONFIG_BCMA_DRIVER_PCI_HOSTMODE=n \
  444. CONFIG_BCMA_DEBUG=n
  445. FILES:=$(LINUX_DIR)/drivers/bcma/bcma.ko
  446. AUTOLOAD:=$(call AutoLoad,29,bcma)
  447. endef
  448. define KernelPackage/bcma/description
  449. Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
  450. endef
  451. $(eval $(call KernelPackage,bcma))
  452. define KernelPackage/wdt-geode
  453. SUBMENU:=$(OTHER_MENU)
  454. TITLE:=Geode/LX Watchdog timer
  455. DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
  456. KCONFIG:=CONFIG_GEODE_WDT
  457. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
  458. AUTOLOAD:=$(call AutoLoad,50,geodewdt)
  459. endef
  460. define KernelPackage/wdt-geode/description
  461. Kernel module for Geode watchdog timer.
  462. endef
  463. $(eval $(call KernelPackage,wdt-geode))
  464. define KernelPackage/cs5535-clockevt
  465. SUBMENU:=$(OTHER_MENU)
  466. TITLE:=CS5535/CS5536 high-res timer (MFGPT) events
  467. DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
  468. KCONFIG:=CONFIG_CS5535_CLOCK_EVENT_SRC
  469. FILES:=$(LINUX_DIR)/drivers/clocksource/cs5535-clockevt.ko
  470. AUTOLOAD:=$(call AutoLoad,50,cs5535-clockevt)
  471. endef
  472. define KernelPackage/cs5535-clockevt/description
  473. Kernel module for CS5535/6 high-res clock event source
  474. endef
  475. $(eval $(call KernelPackage,cs5535-clockevt))
  476. define KernelPackage/cs5535-mfgpt
  477. SUBMENU:=$(OTHER_MENU)
  478. TITLE:=CS5535/6 Multifunction General Purpose Timer
  479. DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
  480. KCONFIG:=CONFIG_CS5535_MFGPT
  481. FILES:=$(LINUX_DIR)/drivers/misc/cs5535-mfgpt.ko
  482. AUTOLOAD:=$(call AutoLoad,45,cs5535-mfgpt)
  483. endef
  484. define KernelPackage/cs5535-mfgpt/description
  485. Kernel module for CS5535/6 multifunction general purpose timer.
  486. endef
  487. $(eval $(call KernelPackage,cs5535-mfgpt))
  488. define KernelPackage/cs5535-mfd
  489. SUBMENU:=$(OTHER_MENU)
  490. TITLE:=CS5535/6 Multifunction General Purpose Driver
  491. DEPENDS:=@TARGET_x86
  492. KCONFIG:=CONFIG_MFD_CS5535
  493. FILES:= \
  494. $(LINUX_DIR)/drivers/mfd/mfd-core.ko \
  495. $(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
  496. AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
  497. endef
  498. define KernelPackage/cs5535-mfd/description
  499. Core driver for CS5535/CS5536 MFD functions.
  500. endef
  501. $(eval $(call KernelPackage,cs5535-mfd))
  502. define KernelPackage/wdt-omap
  503. SUBMENU:=$(OTHER_MENU)
  504. TITLE:=OMAP Watchdog timer
  505. DEPENDS:=@(TARGET_omap24xx||TARGET_omap35xx)
  506. KCONFIG:=CONFIG_OMAP_WATCHDOG
  507. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/omap_wdt.ko
  508. AUTOLOAD:=$(call AutoLoad,50,omap_wdt.ko)
  509. endef
  510. define KernelPackage/wdt-omap/description
  511. Kernel module for TI omap watchdog timer.
  512. endef
  513. $(eval $(call KernelPackage,wdt-omap))
  514. define KernelPackage/wdt-orion
  515. SUBMENU:=$(OTHER_MENU)
  516. TITLE:=Marvell Orion Watchdog timer
  517. DEPENDS:=@TARGET_orion
  518. KCONFIG:=CONFIG_ORION_WATCHDOG
  519. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/orion_wdt.ko
  520. AUTOLOAD:=$(call AutoLoad,50,orion_wdt)
  521. endef
  522. define KernelPackage/wdt-orion/description
  523. Kernel module for Marvell orion watchdog timer.
  524. endef
  525. $(eval $(call KernelPackage,wdt-orion))
  526. define KernelPackage/wdt-sc520
  527. SUBMENU:=$(OTHER_MENU)
  528. TITLE:=Natsemi SC520 Watchdog support
  529. DEPENDS:=@TARGET_x86
  530. KCONFIG:=CONFIG_SC520_WDT
  531. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
  532. AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
  533. endef
  534. define KernelPackage/wdt-sc520/description
  535. Kernel module for SC520 Watchdog
  536. endef
  537. $(eval $(call KernelPackage,wdt-sc520))
  538. define KernelPackage/wdt-scx200
  539. SUBMENU:=$(OTHER_MENU)
  540. TITLE:=Natsemi SCX200 Watchdog support
  541. DEPENDS:=@TARGET_x86
  542. KCONFIG:=CONFIG_SCx200_WDT
  543. FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
  544. AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
  545. endef
  546. define KernelPackage/wdt-scx200/description
  547. Kernel module for SCX200 Watchdog
  548. endef
  549. $(eval $(call KernelPackage,wdt-scx200))
  550. define KernelPackage/pwm
  551. SUBMENU:=$(OTHER_MENU)
  552. TITLE:=PWM generic API
  553. KCONFIG:=CONFIG_GENERIC_PWM
  554. FILES:=$(LINUX_DIR)/drivers/pwm/pwm.ko
  555. AUTOLOAD:=$(call AutoLoad,50,pwm)
  556. endef
  557. define KernelPackage/pwm/description
  558. Kernel module that implement a generic PWM API
  559. endef
  560. $(eval $(call KernelPackage,pwm))
  561. define KernelPackage/pwm-gpio
  562. SUBMENU:=$(OTHER_MENU)
  563. TITLE:=PWM over GPIO
  564. DEPENDS:=+kmod-pwm
  565. KCONFIG:=CONFIG_GPIO_PWM
  566. FILES:=$(LINUX_DIR)/drivers/pwm/gpio-pwm.ko
  567. AUTOLOAD:=$(call AutoLoad,51,gpio-pwm)
  568. endef
  569. define KernelPackage/pwm-gpio/description
  570. Kernel module to models a single-channel PWM device using a timer and a GPIO pin
  571. endef
  572. $(eval $(call KernelPackage,pwm-gpio))
  573. define KernelPackage/rtc-core
  574. SUBMENU:=$(OTHER_MENU)
  575. DEPENDS:=@LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39||BROKEN
  576. TITLE:=Real Time Clock class support
  577. KCONFIG:=CONFIG_RTC_CLASS
  578. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko
  579. AUTOLOAD:=$(call AutoLoad,29,rtc-core)
  580. endef
  581. define KernelPackage/rtc-core/description
  582. Generic RTC class support.
  583. endef
  584. $(eval $(call KernelPackage,rtc-core))
  585. define KernelPackage/rtc-pcf8563
  586. SUBMENU:=$(OTHER_MENU)
  587. TITLE:=Philips PCF8563/Epson RTC8564 RTC support
  588. DEPENDS:=+kmod-rtc-core
  589. KCONFIG:=CONFIG_RTC_DRV_PCF8563
  590. FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
  591. AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
  592. endef
  593. define KernelPackage/rtc-pcf8563/description
  594. Kernel module for Philips PCF8563 RTC chip.
  595. The Epson RTC8564 should work as well.
  596. endef
  597. $(eval $(call KernelPackage,rtc-pcf8563))
  598. define KernelPackage/n810bm
  599. SUBMENU:=$(OTHER_MENU)
  600. TITLE:=Nokia N810 battery management driver
  601. DEPENDS:=@TARGET_omap24xx
  602. KCONFIG:=CONFIG_N810BM
  603. FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.ko
  604. AUTOLOAD:=$(call AutoLoad,01,n810bm)
  605. endef
  606. define KernelPackage/n810bm/description
  607. Nokia N810 battery management driver.
  608. Controls battery power management and battery charging.
  609. endef
  610. $(eval $(call KernelPackage,n810bm))