Kconfig 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. menuconfig MACINTOSH_DRIVERS
  2. bool "Macintosh device drivers"
  3. depends on PPC || MAC || X86
  4. default y if (PPC_PMAC || MAC)
  5. ---help---
  6. Say Y here to get to see options for devices used with Macintosh
  7. computers. This option alone does not add any kernel code.
  8. If you say N, all options in this submenu will be skipped and disabled.
  9. if MACINTOSH_DRIVERS
  10. config ADB
  11. bool "Apple Desktop Bus (ADB) support"
  12. depends on MAC || (PPC_PMAC && PPC32)
  13. help
  14. Apple Desktop Bus (ADB) support is for support of devices which
  15. are connected to an ADB port. ADB devices tend to have 4 pins.
  16. If you have an Apple Macintosh prior to the iMac, an iBook or
  17. PowerBook, or a "Blue and White G3", you probably want to say Y
  18. here. Otherwise say N.
  19. config ADB_MACII
  20. bool "Include Mac II ADB driver"
  21. depends on ADB && MAC
  22. help
  23. Say Y here if want your kernel to support Macintosh systems that use
  24. the Mac II style ADB. This includes the II, IIx, IIcx, SE/30, IIci,
  25. Quadra 610, Quadra 650, Quadra 700, Quadra 800, Centris 610 and
  26. Centris 650.
  27. config ADB_MACIISI
  28. bool "Include Mac IIsi ADB driver"
  29. depends on ADB && MAC && BROKEN
  30. help
  31. Say Y here if want your kernel to support Macintosh systems that use
  32. the Mac IIsi style ADB. This includes the IIsi, IIvi, IIvx, Classic
  33. II, LC, LC II, LC III, Performa 460, and the Performa 600.
  34. config ADB_IOP
  35. bool "Include IOP (IIfx/Quadra 9x0) ADB driver"
  36. depends on ADB && MAC
  37. help
  38. The I/O Processor (IOP) is an Apple custom IC designed to provide
  39. intelligent support for I/O controllers. It is described at
  40. <http://www.angelfire.com/ca2/dev68k/iopdesc.html> to enable direct
  41. support for it, say 'Y' here.
  42. config ADB_PMU68K
  43. bool "Include PMU (Powerbook) ADB driver"
  44. depends on ADB && MAC
  45. help
  46. Say Y here if want your kernel to support the m68k based Powerbooks.
  47. This includes the PowerBook 140, PowerBook 145, PowerBook 150,
  48. PowerBook 160, PowerBook 165, PowerBook 165c, PowerBook 170,
  49. PowerBook 180, PowerBook, 180c, PowerBook 190cs, PowerBook 520,
  50. PowerBook Duo 210, PowerBook Duo 230, PowerBook Duo 250,
  51. PowerBook Duo 270c, PowerBook Duo 280 and PowerBook Duo 280c.
  52. # we want to change this to something like CONFIG_SYSCTRL_CUDA/PMU
  53. config ADB_CUDA
  54. bool "Support for CUDA based Macs and PowerMacs"
  55. depends on (ADB || PPC_PMAC) && !PPC_PMAC64
  56. help
  57. This provides support for CUDA based Macintosh and Power Macintosh
  58. systems. This includes many m68k based Macs (Color Classic, Mac TV,
  59. Performa 475, Performa 520, Performa 550, Performa 575,
  60. Performa 588, Quadra 605, Quadra 630, Quadra/Centris 660AV, and
  61. Quadra 840AV), most OldWorld PowerMacs, the first generation iMacs,
  62. the Blue&White G3 and the "Yikes" G4 (PCI Graphics). All later
  63. models should use CONFIG_ADB_PMU instead. It is safe to say Y here
  64. even if your machine doesn't have a CUDA.
  65. If unsure say Y.
  66. config ADB_PMU
  67. bool "Support for PMU based PowerMacs"
  68. depends on PPC_PMAC
  69. help
  70. On PowerBooks, iBooks, and recent iMacs and Power Macintoshes, the
  71. PMU is an embedded microprocessor whose primary function is to
  72. control system power, and battery charging on the portable models.
  73. The PMU also controls the ADB (Apple Desktop Bus) which connects to
  74. the keyboard and mouse on some machines, as well as the non-volatile
  75. RAM and the RTC (real time clock) chip. Say Y to enable support for
  76. this device; you should do so if your machine is one of those
  77. mentioned above.
  78. config ADB_PMU_LED
  79. bool "Support for the Power/iBook front LED"
  80. depends on ADB_PMU
  81. select NEW_LEDS
  82. select LEDS_CLASS
  83. help
  84. Support the front LED on Power/iBooks as a generic LED that can
  85. be triggered by any of the supported triggers. To get the
  86. behaviour of the old CONFIG_BLK_DEV_IDE_PMAC_BLINK, select this
  87. and the ide-disk LED trigger and configure appropriately through
  88. sysfs.
  89. config ADB_PMU_LED_IDE
  90. bool "Use front LED as IDE LED by default"
  91. depends on ADB_PMU_LED
  92. depends on LEDS_CLASS
  93. depends on IDE_GD_ATA
  94. select LEDS_TRIGGERS
  95. select LEDS_TRIGGER_IDE_DISK
  96. help
  97. This option makes the front LED default to the IDE trigger
  98. so that it blinks on IDE activity.
  99. config PMAC_SMU
  100. bool "Support for SMU based PowerMacs"
  101. depends on PPC_PMAC64
  102. help
  103. This option adds support for the newer G5 iMacs and PowerMacs based
  104. on the "SMU" system control chip which replaces the old PMU.
  105. If you don't know, say Y.
  106. config PMAC_APM_EMU
  107. tristate "APM emulation"
  108. select APM_EMULATION
  109. depends on ADB_PMU && PM && PPC32
  110. config PMAC_MEDIABAY
  111. bool "Support PowerBook hotswap media bay"
  112. depends on PPC_PMAC && PPC32 && BLOCK
  113. help
  114. This option adds support for older PowerBook's hotswap media bay
  115. that can contains batteries, floppy drives, or IDE devices. PCI
  116. devices are not fully supported in the bay as I never had one to
  117. try with
  118. config PMAC_BACKLIGHT
  119. bool "Backlight control for LCD screens"
  120. depends on ADB_PMU && FB = y && (BROKEN || !PPC64)
  121. select FB_BACKLIGHT
  122. help
  123. Say Y here to enable Macintosh specific extensions of the generic
  124. backlight code. With this enabled, the brightness keys on older
  125. PowerBooks will be enabled so you can change the screen brightness.
  126. Newer models should use a userspace daemon like pbbuttonsd.
  127. config PMAC_BACKLIGHT_LEGACY
  128. bool "Provide legacy ioctl's on /dev/pmu for the backlight"
  129. depends on PMAC_BACKLIGHT && (BROKEN || !PPC64)
  130. help
  131. Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for
  132. programs which use this old interface. New and updated programs
  133. should use the backlight classes in sysfs.
  134. config ADB_MACIO
  135. bool "Include MacIO (CHRP) ADB driver"
  136. depends on ADB && PPC_CHRP && !PPC_PMAC64
  137. help
  138. Say Y here to include direct support for the ADB controller in the
  139. Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra
  140. also includes a MESH II SCSI controller, DBDMA controller, VIA chip,
  141. OpenPIC controller and two RS422/Geoports.)
  142. config INPUT_ADBHID
  143. bool "Support for ADB input devices (keyboard, mice, ...)"
  144. depends on ADB && INPUT=y
  145. help
  146. Say Y here if you want to have ADB (Apple Desktop Bus) HID devices
  147. such as keyboards, mice, joysticks, trackpads or graphic tablets
  148. handled by the input layer. If you say Y here, make sure to say Y to
  149. the corresponding drivers "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and
  150. "Event interface support" (CONFIG_INPUT_EVDEV) as well.
  151. If unsure, say Y.
  152. config MAC_EMUMOUSEBTN
  153. tristate "Support for mouse button 2+3 emulation"
  154. depends on SYSCTL && INPUT
  155. help
  156. This provides generic support for emulating the 2nd and 3rd mouse
  157. button with keypresses. If you say Y here, the emulation is still
  158. disabled by default. The emulation is controlled by these sysctl
  159. entries:
  160. /proc/sys/dev/mac_hid/mouse_button_emulation
  161. /proc/sys/dev/mac_hid/mouse_button2_keycode
  162. /proc/sys/dev/mac_hid/mouse_button3_keycode
  163. If you have an Apple machine with a 1-button mouse, say Y here.
  164. To compile this driver as a module, choose M here: the
  165. module will be called mac_hid.
  166. config THERM_WINDTUNNEL
  167. tristate "Support for thermal management on Windtunnel G4s"
  168. depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
  169. help
  170. This driver provides some thermostat and fan control for the desktop
  171. G4 "Windtunnel"
  172. config THERM_ADT746X
  173. tristate "Support for thermal mgmnt on laptops with ADT 746x chipset"
  174. depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
  175. help
  176. This driver provides some thermostat and fan control for the
  177. iBook G4, and the ATI based aluminium PowerBooks, allowing slightly
  178. better fan behaviour by default, and some manual control.
  179. config WINDFARM
  180. tristate "New PowerMac thermal control infrastructure"
  181. depends on PPC
  182. config WINDFARM_PM81
  183. tristate "Support for thermal management on iMac G5"
  184. depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
  185. select I2C_POWERMAC
  186. help
  187. This driver provides thermal control for the iMacG5
  188. config WINDFARM_PM72
  189. tristate "Support for thermal management on PowerMac G5 (AGP)"
  190. depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && ADB_PMU
  191. select I2C_POWERMAC
  192. help
  193. This driver provides thermal control for the PowerMac G5
  194. "AGP" variants (PowerMac 7,2 and 7,3)
  195. config WINDFARM_RM31
  196. tristate "Support for thermal management on Xserve G5"
  197. depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && ADB_PMU
  198. select I2C_POWERMAC
  199. help
  200. This driver provides thermal control for the Xserve G5
  201. (RackMac3,1)
  202. config WINDFARM_PM91
  203. tristate "Support for thermal management on PowerMac9,1"
  204. depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
  205. select I2C_POWERMAC
  206. help
  207. This driver provides thermal control for the PowerMac9,1
  208. which is the recent (SMU based) single CPU desktop G5
  209. config WINDFARM_PM112
  210. tristate "Support for thermal management on PowerMac11,2"
  211. depends on WINDFARM && I2C && PMAC_SMU
  212. select I2C_POWERMAC
  213. help
  214. This driver provides thermal control for the PowerMac11,2
  215. which are the recent dual and quad G5 machines using the
  216. 970MP dual-core processor.
  217. config WINDFARM_PM121
  218. tristate "Support for thermal management on PowerMac12,1"
  219. depends on WINDFARM && I2C && PMAC_SMU
  220. select I2C_POWERMAC
  221. help
  222. This driver provides thermal control for the PowerMac12,1
  223. which is the iMac G5 (iSight).
  224. config ANSLCD
  225. tristate "Support for ANS LCD display"
  226. depends on ADB_CUDA && PPC_PMAC
  227. config PMAC_RACKMETER
  228. tristate "Support for Apple XServe front panel LEDs"
  229. depends on PPC_PMAC
  230. help
  231. This driver provides some support to control the front panel
  232. blue LEDs "vu-meter" of the XServer macs.
  233. config SENSORS_AMS
  234. tristate "Apple Motion Sensor driver"
  235. depends on PPC_PMAC && !PPC64 && INPUT && ((ADB_PMU && I2C = y) || (ADB_PMU && !I2C) || I2C)
  236. select INPUT_POLLDEV
  237. help
  238. Support for the motion sensor included in PowerBooks. Includes
  239. implementations for PMU and I2C.
  240. This driver can also be built as a module. If so, the module
  241. will be called ams.
  242. config SENSORS_AMS_PMU
  243. bool "PMU variant"
  244. depends on SENSORS_AMS && ADB_PMU
  245. default y
  246. help
  247. PMU variant of motion sensor, found in late 2005 PowerBooks.
  248. config SENSORS_AMS_I2C
  249. bool "I2C variant"
  250. depends on SENSORS_AMS && I2C
  251. default y
  252. help
  253. I2C variant of motion sensor, found in early 2005 PowerBooks and
  254. iBooks.
  255. endif # MACINTOSH_DRIVERS