Kconfig 8.3 KB

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