Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | |
| 2 | menu "Macintosh device drivers" |
| 3 | depends on PPC || MAC |
| 4 | |
| 5 | config ADB |
| 6 | bool "Apple Desktop Bus (ADB) support" |
Olaf Hering | 64c74de | 2005-07-27 11:44:16 -0700 | [diff] [blame] | 7 | depends on MAC || (PPC_PMAC && PPC32) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
| 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 | |
| 24 | config 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 | |
| 32 | config 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 | |
| 41 | config 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 |
| 53 | config 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 | |
| 68 | config 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 | |
| 81 | config 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 89 | config PMAC_APM_EMU |
| 90 | tristate "APM emulation" |
Benjamin Herrenschmidt | 8c87093 | 2005-06-27 14:36:34 -0700 | [diff] [blame] | 91 | depends on PPC_PMAC && PPC32 && PM |
| 92 | |
| 93 | config PMAC_MEDIABAY |
| 94 | bool "Support PowerBook hotswap media bay" |
| 95 | depends on PPC_PMAC && PPC32 |
| 96 | help |
| 97 | This option adds support for older PowerBook's hotswap media bay |
| 98 | that can contains batteries, floppy drives, or IDE devices. PCI |
| 99 | devices are not fully supported in the bay as I never had one to |
| 100 | try with |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 101 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 102 | config PMAC_BACKLIGHT |
| 103 | bool "Backlight control for LCD screens" |
Al Viro | 897874f | 2005-08-23 22:45:26 +0100 | [diff] [blame] | 104 | depends on ADB_PMU && (BROKEN || !PPC64) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 105 | help |
Michael Hanselmann | 5474c12 | 2006-06-25 05:47:08 -0700 | [diff] [blame] | 106 | Say Y here to enable Macintosh specific extensions of the generic |
| 107 | backlight code. With this enabled, the brightness keys on older |
| 108 | PowerBooks will be enabled so you can change the screen brightness. |
| 109 | Newer models should use an userspace daemon like pbbuttonsd. |
| 110 | |
| 111 | config PMAC_BACKLIGHT_LEGACY |
| 112 | bool "Provide legacy ioctl's on /dev/pmu for the backlight" |
| 113 | depends on PMAC_BACKLIGHT && (BROKEN || !PPC64) |
| 114 | help |
| 115 | Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for |
| 116 | programs which use this old interface. New and updated programs |
| 117 | should use the backlight classes in sysfs. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 118 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 119 | config ADB_MACIO |
| 120 | bool "Include MacIO (CHRP) ADB driver" |
| 121 | depends on ADB && PPC_CHRP && !PPC_PMAC64 |
| 122 | help |
| 123 | Say Y here to include direct support for the ADB controller in the |
| 124 | Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra |
| 125 | also includes a MESH II SCSI controller, DBDMA controller, VIA chip, |
| 126 | OpenPIC controller and two RS422/Geoports.) |
| 127 | |
| 128 | config INPUT_ADBHID |
| 129 | bool "Support for ADB input devices (keyboard, mice, ...)" |
| 130 | depends on ADB && INPUT=y |
| 131 | help |
| 132 | Say Y here if you want to have ADB (Apple Desktop Bus) HID devices |
| 133 | such as keyboards, mice, joysticks, trackpads or graphic tablets |
| 134 | handled by the input layer. If you say Y here, make sure to say Y to |
| 135 | the corresponding drivers "Keyboard support" (CONFIG_INPUT_KEYBDEV), |
| 136 | "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and "Event interface |
| 137 | support" (CONFIG_INPUT_EVDEV) as well. |
| 138 | |
| 139 | If unsure, say Y. |
| 140 | |
| 141 | config MAC_EMUMOUSEBTN |
| 142 | bool "Support for mouse button 2+3 emulation" |
| 143 | depends on INPUT_ADBHID |
| 144 | help |
| 145 | This provides generic support for emulating the 2nd and 3rd mouse |
| 146 | button with keypresses. If you say Y here, the emulation is still |
| 147 | disabled by default. The emulation is controlled by these sysctl |
| 148 | entries: |
| 149 | /proc/sys/dev/mac_hid/mouse_button_emulation |
| 150 | /proc/sys/dev/mac_hid/mouse_button2_keycode |
| 151 | /proc/sys/dev/mac_hid/mouse_button3_keycode |
| 152 | |
| 153 | If you have an Apple machine with a 1-button mouse, say Y here. |
| 154 | |
| 155 | config THERM_WINDTUNNEL |
| 156 | tristate "Support for thermal management on Windtunnel G4s" |
Benjamin Herrenschmidt | a28d3af | 2006-01-07 11:35:26 +1100 | [diff] [blame] | 157 | depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 158 | help |
| 159 | This driver provides some thermostat and fan control for the desktop |
| 160 | G4 "Windtunnel" |
| 161 | |
| 162 | config THERM_ADT746X |
| 163 | tristate "Support for thermal mgmnt on laptops with ADT 746x chipset" |
Benjamin Herrenschmidt | a28d3af | 2006-01-07 11:35:26 +1100 | [diff] [blame] | 164 | depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 165 | help |
| 166 | This driver provides some thermostat and fan control for the |
| 167 | iBook G4, and the ATI based aluminium PowerBooks, allowing slighlty |
| 168 | better fan behaviour by default, and some manual control. |
| 169 | |
| 170 | config THERM_PM72 |
| 171 | tristate "Support for thermal management on PowerMac G5" |
Benjamin Herrenschmidt | a28d3af | 2006-01-07 11:35:26 +1100 | [diff] [blame] | 172 | depends on I2C && I2C_POWERMAC && PPC_PMAC64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 173 | help |
| 174 | This driver provides thermostat and fan control for the desktop |
| 175 | G5 machines. |
| 176 | |
Benjamin Herrenschmidt | 75722d3 | 2005-11-07 16:08:17 +1100 | [diff] [blame] | 177 | config WINDFARM |
| 178 | tristate "New PowerMac thermal control infrastructure" |
Al Viro | 6f36d17 | 2006-06-23 02:05:03 -0700 | [diff] [blame] | 179 | depends on PPC |
Benjamin Herrenschmidt | 75722d3 | 2005-11-07 16:08:17 +1100 | [diff] [blame] | 180 | |
| 181 | config WINDFARM_PM81 |
| 182 | tristate "Support for thermal management on iMac G5" |
| 183 | depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU |
Benjamin Herrenschmidt | a28d3af | 2006-01-07 11:35:26 +1100 | [diff] [blame] | 184 | select I2C_POWERMAC |
Benjamin Herrenschmidt | 75722d3 | 2005-11-07 16:08:17 +1100 | [diff] [blame] | 185 | help |
| 186 | This driver provides thermal control for the iMacG5 |
| 187 | |
| 188 | config WINDFARM_PM91 |
| 189 | tristate "Support for thermal management on PowerMac9,1" |
| 190 | depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU |
Benjamin Herrenschmidt | a28d3af | 2006-01-07 11:35:26 +1100 | [diff] [blame] | 191 | select I2C_POWERMAC |
Benjamin Herrenschmidt | 75722d3 | 2005-11-07 16:08:17 +1100 | [diff] [blame] | 192 | help |
| 193 | This driver provides thermal control for the PowerMac9,1 |
| 194 | which is the recent (SMU based) single CPU desktop G5 |
| 195 | |
Benjamin Herrenschmidt | ac171c4 | 2006-02-08 16:42:51 +1100 | [diff] [blame] | 196 | config WINDFARM_PM112 |
| 197 | tristate "Support for thermal management on PowerMac11,2" |
| 198 | depends on WINDFARM && I2C && PMAC_SMU |
Linus Torvalds | e5ea0a9 | 2006-02-08 07:51:17 -0800 | [diff] [blame] | 199 | select I2C_POWERMAC |
Benjamin Herrenschmidt | ac171c4 | 2006-02-08 16:42:51 +1100 | [diff] [blame] | 200 | help |
| 201 | This driver provides thermal control for the PowerMac11,2 |
| 202 | which are the recent dual and quad G5 machines using the |
| 203 | 970MP dual-core processor. |
Benjamin Herrenschmidt | 75722d3 | 2005-11-07 16:08:17 +1100 | [diff] [blame] | 204 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 205 | config ANSLCD |
| 206 | tristate "Support for ANS LCD display" |
| 207 | depends on ADB_CUDA && PPC_PMAC |
| 208 | |
| 209 | endmenu |