other.mk 19 KB

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