Kconfig 8.6 KB

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