Kconfig 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  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
  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. select LEDS_TRIGGERS
  93. select LEDS_TRIGGER_IDE_DISK
  94. help
  95. This option makes the front LED default to the IDE trigger
  96. so that it blinks on IDE activity.
  97. config PMAC_SMU
  98. bool "Support for SMU based PowerMacs"
  99. depends on PPC_PMAC64
  100. help
  101. This option adds support for the newer G5 iMacs and PowerMacs based
  102. on the "SMU" system control chip which replaces the old PMU.
  103. If you don't know, say Y.
  104. config PMAC_APM_EMU
  105. tristate "APM emulation"
  106. select APM_EMULATION
  107. depends on ADB_PMU && PM && PPC32
  108. config PMAC_MEDIABAY
  109. bool "Support PowerBook hotswap media bay"
  110. depends on PPC_PMAC && PPC32
  111. help
  112. This option adds support for older PowerBook's hotswap media bay
  113. that can contains batteries, floppy drives, or IDE devices. PCI
  114. devices are not fully supported in the bay as I never had one to
  115. try with
  116. config PMAC_BACKLIGHT
  117. bool "Backlight control for LCD screens"
  118. depends on ADB_PMU && FB = y && (BROKEN || !PPC64)
  119. select FB_BACKLIGHT
  120. help
  121. Say Y here to enable Macintosh specific extensions of the generic
  122. backlight code. With this enabled, the brightness keys on older
  123. PowerBooks will be enabled so you can change the screen brightness.
  124. Newer models should use an userspace daemon like pbbuttonsd.
  125. config PMAC_BACKLIGHT_LEGACY
  126. bool "Provide legacy ioctl's on /dev/pmu for the backlight"
  127. depends on PMAC_BACKLIGHT && (BROKEN || !PPC64)
  128. help
  129. Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for
  130. programs which use this old interface. New and updated programs
  131. should use the backlight classes in sysfs.
  132. config ADB_MACIO
  133. bool "Include MacIO (CHRP) ADB driver"
  134. depends on ADB && PPC_CHRP && !PPC_PMAC64
  135. help
  136. Say Y here to include direct support for the ADB controller in the
  137. Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra
  138. also includes a MESH II SCSI controller, DBDMA controller, VIA chip,
  139. OpenPIC controller and two RS422/Geoports.)
  140. config INPUT_ADBHID
  141. bool "Support for ADB input devices (keyboard, mice, ...)"
  142. depends on ADB && INPUT=y
  143. help
  144. Say Y here if you want to have ADB (Apple Desktop Bus) HID devices
  145. such as keyboards, mice, joysticks, trackpads or graphic tablets
  146. handled by the input layer. If you say Y here, make sure to say Y to
  147. the corresponding drivers "Keyboard support" (CONFIG_INPUT_KEYBDEV),
  148. "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and "Event interface
  149. support" (CONFIG_INPUT_EVDEV) as well.
  150. If unsure, say Y.
  151. config MAC_EMUMOUSEBTN
  152. bool "Support for mouse button 2+3 emulation"
  153. select INPUT
  154. help
  155. This provides generic support for emulating the 2nd and 3rd mouse
  156. button with keypresses. If you say Y here, the emulation is still
  157. disabled by default. The emulation is controlled by these sysctl
  158. entries:
  159. /proc/sys/dev/mac_hid/mouse_button_emulation
  160. /proc/sys/dev/mac_hid/mouse_button2_keycode
  161. /proc/sys/dev/mac_hid/mouse_button3_keycode
  162. If you have an Apple machine with a 1-button mouse, say Y here.
  163. config THERM_WINDTUNNEL
  164. tristate "Support for thermal management on Windtunnel G4s"
  165. depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
  166. help
  167. This driver provides some thermostat and fan control for the desktop
  168. G4 "Windtunnel"
  169. config THERM_ADT746X
  170. tristate "Support for thermal mgmnt on laptops with ADT 746x chipset"
  171. depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
  172. help
  173. This driver provides some thermostat and fan control for the
  174. iBook G4, and the ATI based aluminium PowerBooks, allowing slightly
  175. better fan behaviour by default, and some manual control.
  176. config THERM_PM72
  177. tristate "Support for thermal management on PowerMac G5"
  178. depends on I2C && I2C_POWERMAC && PPC_PMAC64
  179. help
  180. This driver provides thermostat and fan control for the desktop
  181. G5 machines.
  182. config WINDFARM
  183. tristate "New PowerMac thermal control infrastructure"
  184. depends on PPC
  185. config WINDFARM_PM81
  186. tristate "Support for thermal management on iMac G5"
  187. depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
  188. select I2C_POWERMAC
  189. help
  190. This driver provides thermal control for the iMacG5
  191. config WINDFARM_PM91
  192. tristate "Support for thermal management on PowerMac9,1"
  193. depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
  194. select I2C_POWERMAC
  195. help
  196. This driver provides thermal control for the PowerMac9,1
  197. which is the recent (SMU based) single CPU desktop G5
  198. config WINDFARM_PM112
  199. tristate "Support for thermal management on PowerMac11,2"
  200. depends on WINDFARM && I2C && PMAC_SMU
  201. select I2C_POWERMAC
  202. help
  203. This driver provides thermal control for the PowerMac11,2
  204. which are the recent dual and quad G5 machines using the
  205. 970MP dual-core processor.
  206. config WINDFARM_PM121
  207. tristate "Support for thermal management on PowerMac12,1"
  208. depends on WINDFARM && I2C && PMAC_SMU
  209. select I2C_POWERMAC
  210. help
  211. This driver provides thermal control for the PowerMac12,1
  212. which is the iMac G5 (iSight).
  213. config ANSLCD
  214. tristate "Support for ANS LCD display"
  215. depends on ADB_CUDA && PPC_PMAC
  216. config PMAC_RACKMETER
  217. tristate "Support for Apple XServe front panel LEDs"
  218. depends on PPC_PMAC
  219. help
  220. This driver provides some support to control the front panel
  221. blue LEDs "vu-meter" of the XServer macs.
  222. endif # MACINTOSH_DRIVERS