other.mk 19 KB

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