blob: 1a86387e23be2ebd541ad6fef1fbdff2949896fa [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001
2menu "Macintosh device drivers"
Soeren Sonnenburg45941d02007-02-08 14:20:38 -08003 depends on PPC || MAC || X86
Linus Torvalds1da177e2005-04-16 15:20:36 -07004
5config ADB
6 bool "Apple Desktop Bus (ADB) support"
Olaf Hering64c74de2005-07-27 11:44:16 -07007 depends on MAC || (PPC_PMAC && PPC32)
Linus Torvalds1da177e2005-04-16 15:20:36 -07008 help
9 Apple Desktop Bus (ADB) support is for support of devices which
10 are connected to an ADB port. ADB devices tend to have 4 pins.
11 If you have an Apple Macintosh prior to the iMac, an iBook or
12 PowerBook, or a "Blue and White G3", you probably want to say Y
13 here. Otherwise say N.
14
15config 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
24config ADB_MACIISI
25 bool "Include Mac IIsi ADB driver"
26 depends on ADB && MAC
27 help
28 Say Y here if want your kernel to support Macintosh systems that use
29 the Mac IIsi style ADB. This includes the IIsi, IIvi, IIvx, Classic
30 II, LC, LC II, LC III, Performa 460, and the Performa 600.
31
32config ADB_IOP
33 bool "Include IOP (IIfx/Quadra 9x0) ADB driver"
34 depends on ADB && MAC
35 help
36 The I/O Processor (IOP) is an Apple custom IC designed to provide
37 intelligent support for I/O controllers. It is described at
38 <http://www.angelfire.com/ca2/dev68k/iopdesc.html> to enable direct
39 support for it, say 'Y' here.
40
41config ADB_PMU68K
42 bool "Include PMU (Powerbook) ADB driver"
43 depends on ADB && MAC
44 help
45 Say Y here if want your kernel to support the m68k based Powerbooks.
46 This includes the PowerBook 140, PowerBook 145, PowerBook 150,
47 PowerBook 160, PowerBook 165, PowerBook 165c, PowerBook 170,
48 PowerBook 180, PowerBook, 180c, PowerBook 190cs, PowerBook 520,
49 PowerBook Duo 210, PowerBook Duo 230, PowerBook Duo 250,
50 PowerBook Duo 270c, PowerBook Duo 280 and PowerBook Duo 280c.
51
52# we want to change this to something like CONFIG_SYSCTRL_CUDA/PMU
53config 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
66 If unsure say Y.
67
68config ADB_PMU
69 bool "Support for PMU based PowerMacs"
70 depends on PPC_PMAC
71 help
72 On PowerBooks, iBooks, and recent iMacs and Power Macintoshes, the
73 PMU is an embedded microprocessor whose primary function is to
74 control system power, and battery charging on the portable models.
75 The PMU also controls the ADB (Apple Desktop Bus) which connects to
76 the keyboard and mouse on some machines, as well as the non-volatile
77 RAM and the RTC (real time clock) chip. Say Y to enable support for
78 this device; you should do so if your machine is one of those
79 mentioned above.
80
Johannes Berg70c39672006-06-21 12:11:16 +020081config ADB_PMU_LED
82 bool "Support for the Power/iBook front LED"
83 depends on ADB_PMU
Paul Mackerras649e8572006-06-28 13:57:16 +100084 select NEW_LEDS
Johannes Berg70c39672006-06-21 12:11:16 +020085 select LEDS_CLASS
86 help
87 Support the front LED on Power/iBooks as a generic LED that can
88 be triggered by any of the supported triggers. To get the
89 behaviour of the old CONFIG_BLK_DEV_IDE_PMAC_BLINK, select this
90 and the ide-disk LED trigger and configure appropriately through
91 sysfs.
92
Johannes Bergd1a8df92006-07-03 14:28:14 +020093config ADB_PMU_LED_IDE
94 bool "Use front LED as IDE LED by default"
95 depends on ADB_PMU_LED
96 select LEDS_TRIGGERS
97 select LEDS_TRIGGER_IDE_DISK
98 help
99 This option makes the front LED default to the IDE trigger
100 so that it blinks on IDE activity.
101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102config PMAC_SMU
103 bool "Support for SMU based PowerMacs"
104 depends on PPC_PMAC64
105 help
106 This option adds support for the newer G5 iMacs and PowerMacs based
107 on the "SMU" system control chip which replaces the old PMU.
108 If you don't know, say Y.
109
Linus Torvalds1da177e2005-04-16 15:20:36 -0700110config PMAC_APM_EMU
111 tristate "APM emulation"
Danny van Dyk4c962b52006-07-11 22:25:28 +0100112 depends on PPC_PMAC && PPC32 && PM && ADB_PMU
Benjamin Herrenschmidt8c870932005-06-27 14:36:34 -0700113
114config PMAC_MEDIABAY
115 bool "Support PowerBook hotswap media bay"
116 depends on PPC_PMAC && PPC32
117 help
118 This option adds support for older PowerBook's hotswap media bay
119 that can contains batteries, floppy drives, or IDE devices. PCI
120 devices are not fully supported in the bay as I never had one to
121 try with
Linus Torvalds1da177e2005-04-16 15:20:36 -0700122
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123config PMAC_BACKLIGHT
124 bool "Backlight control for LCD screens"
Michael Hanselmanne01af032006-07-10 04:44:45 -0700125 depends on ADB_PMU && FB = y && (BROKEN || !PPC64)
126 select FB_BACKLIGHT
Linus Torvalds1da177e2005-04-16 15:20:36 -0700127 help
Michael Hanselmann5474c122006-06-25 05:47:08 -0700128 Say Y here to enable Macintosh specific extensions of the generic
129 backlight code. With this enabled, the brightness keys on older
130 PowerBooks will be enabled so you can change the screen brightness.
131 Newer models should use an userspace daemon like pbbuttonsd.
132
133config PMAC_BACKLIGHT_LEGACY
134 bool "Provide legacy ioctl's on /dev/pmu for the backlight"
135 depends on PMAC_BACKLIGHT && (BROKEN || !PPC64)
136 help
137 Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for
138 programs which use this old interface. New and updated programs
139 should use the backlight classes in sysfs.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700140
Linus Torvalds1da177e2005-04-16 15:20:36 -0700141config ADB_MACIO
142 bool "Include MacIO (CHRP) ADB driver"
143 depends on ADB && PPC_CHRP && !PPC_PMAC64
144 help
145 Say Y here to include direct support for the ADB controller in the
146 Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra
147 also includes a MESH II SCSI controller, DBDMA controller, VIA chip,
148 OpenPIC controller and two RS422/Geoports.)
149
150config INPUT_ADBHID
151 bool "Support for ADB input devices (keyboard, mice, ...)"
152 depends on ADB && INPUT=y
153 help
154 Say Y here if you want to have ADB (Apple Desktop Bus) HID devices
155 such as keyboards, mice, joysticks, trackpads or graphic tablets
156 handled by the input layer. If you say Y here, make sure to say Y to
157 the corresponding drivers "Keyboard support" (CONFIG_INPUT_KEYBDEV),
158 "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and "Event interface
159 support" (CONFIG_INPUT_EVDEV) as well.
160
161 If unsure, say Y.
162
163config MAC_EMUMOUSEBTN
164 bool "Support for mouse button 2+3 emulation"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165 help
166 This provides generic support for emulating the 2nd and 3rd mouse
167 button with keypresses. If you say Y here, the emulation is still
168 disabled by default. The emulation is controlled by these sysctl
169 entries:
170 /proc/sys/dev/mac_hid/mouse_button_emulation
171 /proc/sys/dev/mac_hid/mouse_button2_keycode
172 /proc/sys/dev/mac_hid/mouse_button3_keycode
173
174 If you have an Apple machine with a 1-button mouse, say Y here.
175
176config THERM_WINDTUNNEL
177 tristate "Support for thermal management on Windtunnel G4s"
Benjamin Herrenschmidta28d3af2006-01-07 11:35:26 +1100178 depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
Linus Torvalds1da177e2005-04-16 15:20:36 -0700179 help
180 This driver provides some thermostat and fan control for the desktop
181 G4 "Windtunnel"
182
183config THERM_ADT746X
184 tristate "Support for thermal mgmnt on laptops with ADT 746x chipset"
Benjamin Herrenschmidta28d3af2006-01-07 11:35:26 +1100185 depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
Linus Torvalds1da177e2005-04-16 15:20:36 -0700186 help
187 This driver provides some thermostat and fan control for the
Matt LaPlante09509602006-10-03 22:31:37 +0200188 iBook G4, and the ATI based aluminium PowerBooks, allowing slightly
Linus Torvalds1da177e2005-04-16 15:20:36 -0700189 better fan behaviour by default, and some manual control.
190
191config THERM_PM72
192 tristate "Support for thermal management on PowerMac G5"
Benjamin Herrenschmidta28d3af2006-01-07 11:35:26 +1100193 depends on I2C && I2C_POWERMAC && PPC_PMAC64
Linus Torvalds1da177e2005-04-16 15:20:36 -0700194 help
195 This driver provides thermostat and fan control for the desktop
196 G5 machines.
197
Benjamin Herrenschmidt75722d32005-11-07 16:08:17 +1100198config WINDFARM
199 tristate "New PowerMac thermal control infrastructure"
Al Viro6f36d172006-06-23 02:05:03 -0700200 depends on PPC
Benjamin Herrenschmidt75722d32005-11-07 16:08:17 +1100201
202config WINDFARM_PM81
203 tristate "Support for thermal management on iMac G5"
204 depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
Benjamin Herrenschmidta28d3af2006-01-07 11:35:26 +1100205 select I2C_POWERMAC
Benjamin Herrenschmidt75722d32005-11-07 16:08:17 +1100206 help
207 This driver provides thermal control for the iMacG5
208
209config WINDFARM_PM91
210 tristate "Support for thermal management on PowerMac9,1"
211 depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
Benjamin Herrenschmidta28d3af2006-01-07 11:35:26 +1100212 select I2C_POWERMAC
Benjamin Herrenschmidt75722d32005-11-07 16:08:17 +1100213 help
214 This driver provides thermal control for the PowerMac9,1
215 which is the recent (SMU based) single CPU desktop G5
216
Benjamin Herrenschmidtac171c42006-02-08 16:42:51 +1100217config WINDFARM_PM112
218 tristate "Support for thermal management on PowerMac11,2"
219 depends on WINDFARM && I2C && PMAC_SMU
Linus Torvaldse5ea0a92006-02-08 07:51:17 -0800220 select I2C_POWERMAC
Benjamin Herrenschmidtac171c42006-02-08 16:42:51 +1100221 help
222 This driver provides thermal control for the PowerMac11,2
223 which are the recent dual and quad G5 machines using the
224 970MP dual-core processor.
Benjamin Herrenschmidt75722d32005-11-07 16:08:17 +1100225
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226config ANSLCD
227 tristate "Support for ANS LCD display"
228 depends on ADB_CUDA && PPC_PMAC
229
Benjamin Herrenschmidt3e00a5a2006-11-16 14:03:33 +1100230config PMAC_RACKMETER
231 tristate "Support for Apple XServe front panel LEDs"
232 depends on PPC_PMAC
233 help
234 This driver procides some support to control the front panel
235 blue LEDs "vu-meter" of the XServer macs.
236
Linus Torvalds1da177e2005-04-16 15:20:36 -0700237endmenu