blob: 8a7117a08cf09a44b712eff882ab175150ecd537 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001
2menu "Macintosh device drivers"
3 depends on PPC || MAC
4
5config ADB
6 bool "Apple Desktop Bus (ADB) support"
7 depends on MAC || PPC_PMAC
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
81config PMAC_SMU
82 bool "Support for SMU based PowerMacs"
83 depends on PPC_PMAC64
84 help
85 This option adds support for the newer G5 iMacs and PowerMacs based
86 on the "SMU" system control chip which replaces the old PMU.
87 If you don't know, say Y.
88
89config PMAC_PBOOK
90 bool "Power management support for PowerBooks"
91 depends on ADB_PMU
92 ---help---
93 This provides support for putting a PowerBook to sleep; it also
94 enables media bay support. Power management works on the
95 PB2400/3400/3500, Wallstreet, Lombard, and Bronze PowerBook G3 and
96 the Titanium Powerbook G4, as well as the iBooks. You should get
97 the power management daemon, pmud, to make it work and you must have
98 the /dev/pmu device (see the pmud README).
99
100 Get pmud from <ftp://ftp.samba.org/pub/ppclinux/pmud/>.
101
102 If you have a PowerBook, you should say Y here.
103
104 You may also want to compile the dma sound driver as a module and
105 have it autoloaded. The act of removing the module shuts down the
106 sound hardware for more power savings.
107
108config PM
109 bool
110 depends on PPC_PMAC && ADB_PMU && PMAC_PBOOK
111 default y
112
113config PMAC_APM_EMU
114 tristate "APM emulation"
115 depends on PMAC_PBOOK
116
117# made a separate option since backlight may end up beeing used
118# on non-powerbook machines (but only on PMU based ones AFAIK)
119config PMAC_BACKLIGHT
120 bool "Backlight control for LCD screens"
121 depends on ADB_PMU
122 help
123 Say Y here to build in code to manage the LCD backlight on a
124 Macintosh PowerBook. With this code, the backlight will be turned
125 on and off appropriately on power-management and lid-open/lid-closed
126 events; also, the PowerBook button device will be enabled so you can
127 change the screen brightness.
128
129config MAC_SERIAL
130 tristate "Support for PowerMac serial ports (OBSOLETE DRIVER)"
131 depends on PPC_PMAC && BROKEN
132 help
133 This driver is obsolete. Use CONFIG_SERIAL_PMACZILOG in
134 "Character devices --> Serial drivers --> PowerMac z85c30" option.
135
136config ADB_MACIO
137 bool "Include MacIO (CHRP) ADB driver"
138 depends on ADB && PPC_CHRP && !PPC_PMAC64
139 help
140 Say Y here to include direct support for the ADB controller in the
141 Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra
142 also includes a MESH II SCSI controller, DBDMA controller, VIA chip,
143 OpenPIC controller and two RS422/Geoports.)
144
145config INPUT_ADBHID
146 bool "Support for ADB input devices (keyboard, mice, ...)"
147 depends on ADB && INPUT=y
148 help
149 Say Y here if you want to have ADB (Apple Desktop Bus) HID devices
150 such as keyboards, mice, joysticks, trackpads or graphic tablets
151 handled by the input layer. If you say Y here, make sure to say Y to
152 the corresponding drivers "Keyboard support" (CONFIG_INPUT_KEYBDEV),
153 "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and "Event interface
154 support" (CONFIG_INPUT_EVDEV) as well.
155
156 If unsure, say Y.
157
158config MAC_EMUMOUSEBTN
159 bool "Support for mouse button 2+3 emulation"
160 depends on INPUT_ADBHID
161 help
162 This provides generic support for emulating the 2nd and 3rd mouse
163 button with keypresses. If you say Y here, the emulation is still
164 disabled by default. The emulation is controlled by these sysctl
165 entries:
166 /proc/sys/dev/mac_hid/mouse_button_emulation
167 /proc/sys/dev/mac_hid/mouse_button2_keycode
168 /proc/sys/dev/mac_hid/mouse_button3_keycode
169
170 If you have an Apple machine with a 1-button mouse, say Y here.
171
172config THERM_WINDTUNNEL
173 tristate "Support for thermal management on Windtunnel G4s"
174 depends on I2C && I2C_KEYWEST && PPC_PMAC && !PPC_PMAC64
175 help
176 This driver provides some thermostat and fan control for the desktop
177 G4 "Windtunnel"
178
179config THERM_ADT746X
180 tristate "Support for thermal mgmnt on laptops with ADT 746x chipset"
181 depends on I2C && I2C_KEYWEST && PPC_PMAC && !PPC_PMAC64
182 help
183 This driver provides some thermostat and fan control for the
184 iBook G4, and the ATI based aluminium PowerBooks, allowing slighlty
185 better fan behaviour by default, and some manual control.
186
187config THERM_PM72
188 tristate "Support for thermal management on PowerMac G5"
189 depends on I2C && I2C_KEYWEST && PPC_PMAC64
190 help
191 This driver provides thermostat and fan control for the desktop
192 G5 machines.
193
194config ANSLCD
195 tristate "Support for ANS LCD display"
196 depends on ADB_CUDA && PPC_PMAC
197
198endmenu