Kconfig 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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. help
  113. Say Y here to enable Macintosh specific extensions of the generic
  114. backlight code. With this enabled, the brightness keys on older
  115. PowerBooks will be enabled so you can change the screen brightness.
  116. Newer models should use an userspace daemon like pbbuttonsd.
  117. config PMAC_BACKLIGHT_LEGACY
  118. bool "Provide legacy ioctl's on /dev/pmu for the backlight"
  119. depends on PMAC_BACKLIGHT && (BROKEN || !PPC64)
  120. help
  121. Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for
  122. programs which use this old interface. New and updated programs
  123. should use the backlight classes in sysfs.
  124. config ADB_MACIO
  125. bool "Include MacIO (CHRP) ADB driver"
  126. depends on ADB && PPC_CHRP && !PPC_PMAC64
  127. help
  128. Say Y here to include direct support for the ADB controller in the
  129. Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra
  130. also includes a MESH II SCSI controller, DBDMA controller, VIA chip,
  131. OpenPIC controller and two RS422/Geoports.)
  132. config INPUT_ADBHID
  133. bool "Support for ADB input devices (keyboard, mice, ...)"
  134. depends on ADB && INPUT=y
  135. help
  136. Say Y here if you want to have ADB (Apple Desktop Bus) HID devices
  137. such as keyboards, mice, joysticks, trackpads or graphic tablets
  138. handled by the input layer. If you say Y here, make sure to say Y to
  139. the corresponding drivers "Keyboard support" (CONFIG_INPUT_KEYBDEV),
  140. "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and "Event interface
  141. support" (CONFIG_INPUT_EVDEV) as well.
  142. If unsure, say Y.
  143. config MAC_EMUMOUSEBTN
  144. bool "Support for mouse button 2+3 emulation"
  145. depends on INPUT_ADBHID
  146. help
  147. This provides generic support for emulating the 2nd and 3rd mouse
  148. button with keypresses. If you say Y here, the emulation is still
  149. disabled by default. The emulation is controlled by these sysctl
  150. entries:
  151. /proc/sys/dev/mac_hid/mouse_button_emulation
  152. /proc/sys/dev/mac_hid/mouse_button2_keycode
  153. /proc/sys/dev/mac_hid/mouse_button3_keycode
  154. If you have an Apple machine with a 1-button mouse, say Y here.
  155. config THERM_WINDTUNNEL
  156. tristate "Support for thermal management on Windtunnel G4s"
  157. depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
  158. help
  159. This driver provides some thermostat and fan control for the desktop
  160. G4 "Windtunnel"
  161. config THERM_ADT746X
  162. tristate "Support for thermal mgmnt on laptops with ADT 746x chipset"
  163. depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
  164. help
  165. This driver provides some thermostat and fan control for the
  166. iBook G4, and the ATI based aluminium PowerBooks, allowing slightly
  167. better fan behaviour by default, and some manual control.
  168. config THERM_PM72
  169. tristate "Support for thermal management on PowerMac G5"
  170. depends on I2C && I2C_POWERMAC && PPC_PMAC64
  171. help
  172. This driver provides thermostat and fan control for the desktop
  173. G5 machines.
  174. config WINDFARM
  175. tristate "New PowerMac thermal control infrastructure"
  176. depends on PPC
  177. config WINDFARM_PM81
  178. tristate "Support for thermal management on iMac G5"
  179. depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
  180. select I2C_POWERMAC
  181. help
  182. This driver provides thermal control for the iMacG5
  183. config WINDFARM_PM91
  184. tristate "Support for thermal management on PowerMac9,1"
  185. depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
  186. select I2C_POWERMAC
  187. help
  188. This driver provides thermal control for the PowerMac9,1
  189. which is the recent (SMU based) single CPU desktop G5
  190. config WINDFARM_PM112
  191. tristate "Support for thermal management on PowerMac11,2"
  192. depends on WINDFARM && I2C && PMAC_SMU
  193. select I2C_POWERMAC
  194. help
  195. This driver provides thermal control for the PowerMac11,2
  196. which are the recent dual and quad G5 machines using the
  197. 970MP dual-core processor.
  198. config ANSLCD
  199. tristate "Support for ANS LCD display"
  200. depends on ADB_CUDA && PPC_PMAC
  201. endmenu