]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/macintosh/Kconfig
[POWERPC] Simplify the code defining the 64-bit CPU features
[net-next-2.6.git] / drivers / macintosh / Kconfig
CommitLineData
1da177e4
LT
1
2menu "Macintosh device drivers"
3 depends on PPC || MAC
4
5config ADB
6 bool "Apple Desktop Bus (ADB) support"
64c74de7 7 depends on MAC || (PPC_PMAC && PPC32)
1da177e4
LT
8 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
70c3967d
JB
81config ADB_PMU_LED
82 bool "Support for the Power/iBook front LED"
83 depends on ADB_PMU
84 select LEDS_CLASS
85 help
86 Support the front LED on Power/iBooks as a generic LED that can
87 be triggered by any of the supported triggers. To get the
88 behaviour of the old CONFIG_BLK_DEV_IDE_PMAC_BLINK, select this
89 and the ide-disk LED trigger and configure appropriately through
90 sysfs.
91
1da177e4
LT
92config PMAC_SMU
93 bool "Support for SMU based PowerMacs"
94 depends on PPC_PMAC64
95 help
96 This option adds support for the newer G5 iMacs and PowerMacs based
97 on the "SMU" system control chip which replaces the old PMU.
98 If you don't know, say Y.
99
1da177e4
LT
100config PMAC_APM_EMU
101 tristate "APM emulation"
8c870933
BH
102 depends on PPC_PMAC && PPC32 && PM
103
104config PMAC_MEDIABAY
105 bool "Support PowerBook hotswap media bay"
106 depends on PPC_PMAC && PPC32
107 help
108 This option adds support for older PowerBook's hotswap media bay
109 that can contains batteries, floppy drives, or IDE devices. PCI
110 devices are not fully supported in the bay as I never had one to
111 try with
1da177e4 112
1da177e4
LT
113config PMAC_BACKLIGHT
114 bool "Backlight control for LCD screens"
897874fa 115 depends on ADB_PMU && (BROKEN || !PPC64)
1da177e4 116 help
5474c120
MH
117 Say Y here to enable Macintosh specific extensions of the generic
118 backlight code. With this enabled, the brightness keys on older
119 PowerBooks will be enabled so you can change the screen brightness.
120 Newer models should use an userspace daemon like pbbuttonsd.
121
122config 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.
1da177e4 129
1da177e4
LT
130config ADB_MACIO
131 bool "Include MacIO (CHRP) ADB driver"
132 depends on ADB && PPC_CHRP && !PPC_PMAC64
133 help
134 Say Y here to include direct support for the ADB controller in the
135 Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra
136 also includes a MESH II SCSI controller, DBDMA controller, VIA chip,
137 OpenPIC controller and two RS422/Geoports.)
138
139config INPUT_ADBHID
140 bool "Support for ADB input devices (keyboard, mice, ...)"
141 depends on ADB && INPUT=y
142 help
143 Say Y here if you want to have ADB (Apple Desktop Bus) HID devices
144 such as keyboards, mice, joysticks, trackpads or graphic tablets
145 handled by the input layer. If you say Y here, make sure to say Y to
146 the corresponding drivers "Keyboard support" (CONFIG_INPUT_KEYBDEV),
147 "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and "Event interface
148 support" (CONFIG_INPUT_EVDEV) as well.
149
150 If unsure, say Y.
151
152config MAC_EMUMOUSEBTN
153 bool "Support for mouse button 2+3 emulation"
154 depends on INPUT_ADBHID
155 help
156 This provides generic support for emulating the 2nd and 3rd mouse
157 button with keypresses. If you say Y here, the emulation is still
158 disabled by default. The emulation is controlled by these sysctl
159 entries:
160 /proc/sys/dev/mac_hid/mouse_button_emulation
161 /proc/sys/dev/mac_hid/mouse_button2_keycode
162 /proc/sys/dev/mac_hid/mouse_button3_keycode
163
164 If you have an Apple machine with a 1-button mouse, say Y here.
165
166config THERM_WINDTUNNEL
167 tristate "Support for thermal management on Windtunnel G4s"
a28d3af2 168 depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
1da177e4
LT
169 help
170 This driver provides some thermostat and fan control for the desktop
171 G4 "Windtunnel"
172
173config THERM_ADT746X
174 tristate "Support for thermal mgmnt on laptops with ADT 746x chipset"
a28d3af2 175 depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64
1da177e4
LT
176 help
177 This driver provides some thermostat and fan control for the
178 iBook G4, and the ATI based aluminium PowerBooks, allowing slighlty
179 better fan behaviour by default, and some manual control.
180
181config THERM_PM72
182 tristate "Support for thermal management on PowerMac G5"
a28d3af2 183 depends on I2C && I2C_POWERMAC && PPC_PMAC64
1da177e4
LT
184 help
185 This driver provides thermostat and fan control for the desktop
186 G5 machines.
187
75722d39
BH
188config WINDFARM
189 tristate "New PowerMac thermal control infrastructure"
6f36d17a 190 depends on PPC
75722d39
BH
191
192config WINDFARM_PM81
193 tristate "Support for thermal management on iMac G5"
194 depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
a28d3af2 195 select I2C_POWERMAC
75722d39
BH
196 help
197 This driver provides thermal control for the iMacG5
198
199config WINDFARM_PM91
200 tristate "Support for thermal management on PowerMac9,1"
201 depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU
a28d3af2 202 select I2C_POWERMAC
75722d39
BH
203 help
204 This driver provides thermal control for the PowerMac9,1
205 which is the recent (SMU based) single CPU desktop G5
206
ac171c46
BH
207config WINDFARM_PM112
208 tristate "Support for thermal management on PowerMac11,2"
209 depends on WINDFARM && I2C && PMAC_SMU
e5ea0a9f 210 select I2C_POWERMAC
ac171c46
BH
211 help
212 This driver provides thermal control for the PowerMac11,2
213 which are the recent dual and quad G5 machines using the
214 970MP dual-core processor.
75722d39 215
1da177e4
LT
216config ANSLCD
217 tristate "Support for ANS LCD display"
218 depends on ADB_CUDA && PPC_PMAC
219
220endmenu