11da177e4SLinus Torvalds 21da177e4SLinus Torvaldsmenu "Macintosh device drivers" 31da177e4SLinus Torvalds depends on PPC || MAC 41da177e4SLinus Torvalds 51da177e4SLinus Torvaldsconfig ADB 61da177e4SLinus Torvalds bool "Apple Desktop Bus (ADB) support" 764c74de7SOlaf Hering depends on MAC || (PPC_PMAC && PPC32) 81da177e4SLinus Torvalds help 91da177e4SLinus Torvalds Apple Desktop Bus (ADB) support is for support of devices which 101da177e4SLinus Torvalds are connected to an ADB port. ADB devices tend to have 4 pins. 111da177e4SLinus Torvalds If you have an Apple Macintosh prior to the iMac, an iBook or 121da177e4SLinus Torvalds PowerBook, or a "Blue and White G3", you probably want to say Y 131da177e4SLinus Torvalds here. Otherwise say N. 141da177e4SLinus Torvalds 151da177e4SLinus Torvaldsconfig ADB_MACII 161da177e4SLinus Torvalds bool "Include Mac II ADB driver" 171da177e4SLinus Torvalds depends on ADB && MAC 181da177e4SLinus Torvalds help 191da177e4SLinus Torvalds Say Y here if want your kernel to support Macintosh systems that use 201da177e4SLinus Torvalds the Mac II style ADB. This includes the II, IIx, IIcx, SE/30, IIci, 211da177e4SLinus Torvalds Quadra 610, Quadra 650, Quadra 700, Quadra 800, Centris 610 and 221da177e4SLinus Torvalds Centris 650. 231da177e4SLinus Torvalds 241da177e4SLinus Torvaldsconfig ADB_MACIISI 251da177e4SLinus Torvalds bool "Include Mac IIsi ADB driver" 261da177e4SLinus Torvalds depends on ADB && MAC 271da177e4SLinus Torvalds help 281da177e4SLinus Torvalds Say Y here if want your kernel to support Macintosh systems that use 291da177e4SLinus Torvalds the Mac IIsi style ADB. This includes the IIsi, IIvi, IIvx, Classic 301da177e4SLinus Torvalds II, LC, LC II, LC III, Performa 460, and the Performa 600. 311da177e4SLinus Torvalds 321da177e4SLinus Torvaldsconfig ADB_IOP 331da177e4SLinus Torvalds bool "Include IOP (IIfx/Quadra 9x0) ADB driver" 341da177e4SLinus Torvalds depends on ADB && MAC 351da177e4SLinus Torvalds help 361da177e4SLinus Torvalds The I/O Processor (IOP) is an Apple custom IC designed to provide 371da177e4SLinus Torvalds intelligent support for I/O controllers. It is described at 381da177e4SLinus Torvalds <http://www.angelfire.com/ca2/dev68k/iopdesc.html> to enable direct 391da177e4SLinus Torvalds support for it, say 'Y' here. 401da177e4SLinus Torvalds 411da177e4SLinus Torvaldsconfig ADB_PMU68K 421da177e4SLinus Torvalds bool "Include PMU (Powerbook) ADB driver" 431da177e4SLinus Torvalds depends on ADB && MAC 441da177e4SLinus Torvalds help 451da177e4SLinus Torvalds Say Y here if want your kernel to support the m68k based Powerbooks. 461da177e4SLinus Torvalds This includes the PowerBook 140, PowerBook 145, PowerBook 150, 471da177e4SLinus Torvalds PowerBook 160, PowerBook 165, PowerBook 165c, PowerBook 170, 481da177e4SLinus Torvalds PowerBook 180, PowerBook, 180c, PowerBook 190cs, PowerBook 520, 491da177e4SLinus Torvalds PowerBook Duo 210, PowerBook Duo 230, PowerBook Duo 250, 501da177e4SLinus Torvalds PowerBook Duo 270c, PowerBook Duo 280 and PowerBook Duo 280c. 511da177e4SLinus Torvalds 521da177e4SLinus Torvalds# we want to change this to something like CONFIG_SYSCTRL_CUDA/PMU 531da177e4SLinus Torvaldsconfig ADB_CUDA 541da177e4SLinus Torvalds bool "Support for CUDA based Macs and PowerMacs" 551da177e4SLinus Torvalds depends on (ADB || PPC_PMAC) && !PPC_PMAC64 561da177e4SLinus Torvalds help 571da177e4SLinus Torvalds This provides support for CUDA based Macintosh and Power Macintosh 581da177e4SLinus Torvalds systems. This includes many m68k based Macs (Color Classic, Mac TV, 591da177e4SLinus Torvalds Performa 475, Performa 520, Performa 550, Performa 575, 601da177e4SLinus Torvalds Performa 588, Quadra 605, Quadra 630, Quadra/Centris 660AV, and 611da177e4SLinus Torvalds Quadra 840AV), most OldWorld PowerMacs, the first generation iMacs, 621da177e4SLinus Torvalds the Blue&White G3 and the "Yikes" G4 (PCI Graphics). All later 631da177e4SLinus Torvalds models should use CONFIG_ADB_PMU instead. It is safe to say Y here 641da177e4SLinus Torvalds even if your machine doesn't have a CUDA. 651da177e4SLinus Torvalds 661da177e4SLinus Torvalds If unsure say Y. 671da177e4SLinus Torvalds 681da177e4SLinus Torvaldsconfig ADB_PMU 691da177e4SLinus Torvalds bool "Support for PMU based PowerMacs" 701da177e4SLinus Torvalds depends on PPC_PMAC 711da177e4SLinus Torvalds help 721da177e4SLinus Torvalds On PowerBooks, iBooks, and recent iMacs and Power Macintoshes, the 731da177e4SLinus Torvalds PMU is an embedded microprocessor whose primary function is to 741da177e4SLinus Torvalds control system power, and battery charging on the portable models. 751da177e4SLinus Torvalds The PMU also controls the ADB (Apple Desktop Bus) which connects to 761da177e4SLinus Torvalds the keyboard and mouse on some machines, as well as the non-volatile 771da177e4SLinus Torvalds RAM and the RTC (real time clock) chip. Say Y to enable support for 781da177e4SLinus Torvalds this device; you should do so if your machine is one of those 791da177e4SLinus Torvalds mentioned above. 801da177e4SLinus Torvalds 8170c3967dSJohannes Bergconfig ADB_PMU_LED 8270c3967dSJohannes Berg bool "Support for the Power/iBook front LED" 8370c3967dSJohannes Berg depends on ADB_PMU 84649e8579SPaul Mackerras select NEW_LEDS 8570c3967dSJohannes Berg select LEDS_CLASS 8670c3967dSJohannes Berg help 8770c3967dSJohannes Berg Support the front LED on Power/iBooks as a generic LED that can 8870c3967dSJohannes Berg be triggered by any of the supported triggers. To get the 8970c3967dSJohannes Berg behaviour of the old CONFIG_BLK_DEV_IDE_PMAC_BLINK, select this 9070c3967dSJohannes Berg and the ide-disk LED trigger and configure appropriately through 9170c3967dSJohannes Berg sysfs. 9270c3967dSJohannes Berg 93*d1a8df91SJohannes Bergconfig ADB_PMU_LED_IDE 94*d1a8df91SJohannes Berg bool "Use front LED as IDE LED by default" 95*d1a8df91SJohannes Berg depends on ADB_PMU_LED 96*d1a8df91SJohannes Berg select LEDS_TRIGGERS 97*d1a8df91SJohannes Berg select LEDS_TRIGGER_IDE_DISK 98*d1a8df91SJohannes Berg help 99*d1a8df91SJohannes Berg This option makes the front LED default to the IDE trigger 100*d1a8df91SJohannes Berg so that it blinks on IDE activity. 101*d1a8df91SJohannes Berg 1021da177e4SLinus Torvaldsconfig PMAC_SMU 1031da177e4SLinus Torvalds bool "Support for SMU based PowerMacs" 1041da177e4SLinus Torvalds depends on PPC_PMAC64 1051da177e4SLinus Torvalds help 1061da177e4SLinus Torvalds This option adds support for the newer G5 iMacs and PowerMacs based 1071da177e4SLinus Torvalds on the "SMU" system control chip which replaces the old PMU. 1081da177e4SLinus Torvalds If you don't know, say Y. 1091da177e4SLinus Torvalds 1101da177e4SLinus Torvaldsconfig PMAC_APM_EMU 1111da177e4SLinus Torvalds tristate "APM emulation" 1128c870933SBenjamin Herrenschmidt depends on PPC_PMAC && PPC32 && PM 1138c870933SBenjamin Herrenschmidt 1148c870933SBenjamin Herrenschmidtconfig PMAC_MEDIABAY 1158c870933SBenjamin Herrenschmidt bool "Support PowerBook hotswap media bay" 1168c870933SBenjamin Herrenschmidt depends on PPC_PMAC && PPC32 1178c870933SBenjamin Herrenschmidt help 1188c870933SBenjamin Herrenschmidt This option adds support for older PowerBook's hotswap media bay 1198c870933SBenjamin Herrenschmidt that can contains batteries, floppy drives, or IDE devices. PCI 1208c870933SBenjamin Herrenschmidt devices are not fully supported in the bay as I never had one to 1218c870933SBenjamin Herrenschmidt try with 1221da177e4SLinus Torvalds 1231da177e4SLinus Torvaldsconfig PMAC_BACKLIGHT 1241da177e4SLinus Torvalds bool "Backlight control for LCD screens" 125e01af038SMichael Hanselmann depends on ADB_PMU && FB = y && (BROKEN || !PPC64) 126e01af038SMichael Hanselmann select FB_BACKLIGHT 127e01af038SMichael Hanselmann select BACKLIGHT_CLASS_DEVICE 128e01af038SMichael Hanselmann select BACKLIGHT_LCD_SUPPORT 1291da177e4SLinus Torvalds help 1305474c120SMichael Hanselmann Say Y here to enable Macintosh specific extensions of the generic 1315474c120SMichael Hanselmann backlight code. With this enabled, the brightness keys on older 1325474c120SMichael Hanselmann PowerBooks will be enabled so you can change the screen brightness. 1335474c120SMichael Hanselmann Newer models should use an userspace daemon like pbbuttonsd. 1345474c120SMichael Hanselmann 1355474c120SMichael Hanselmannconfig PMAC_BACKLIGHT_LEGACY 1365474c120SMichael Hanselmann bool "Provide legacy ioctl's on /dev/pmu for the backlight" 1375474c120SMichael Hanselmann depends on PMAC_BACKLIGHT && (BROKEN || !PPC64) 1385474c120SMichael Hanselmann help 1395474c120SMichael Hanselmann Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for 1405474c120SMichael Hanselmann programs which use this old interface. New and updated programs 1415474c120SMichael Hanselmann should use the backlight classes in sysfs. 1421da177e4SLinus Torvalds 1431da177e4SLinus Torvaldsconfig ADB_MACIO 1441da177e4SLinus Torvalds bool "Include MacIO (CHRP) ADB driver" 1451da177e4SLinus Torvalds depends on ADB && PPC_CHRP && !PPC_PMAC64 1461da177e4SLinus Torvalds help 1471da177e4SLinus Torvalds Say Y here to include direct support for the ADB controller in the 1481da177e4SLinus Torvalds Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra 1491da177e4SLinus Torvalds also includes a MESH II SCSI controller, DBDMA controller, VIA chip, 1501da177e4SLinus Torvalds OpenPIC controller and two RS422/Geoports.) 1511da177e4SLinus Torvalds 1521da177e4SLinus Torvaldsconfig INPUT_ADBHID 1531da177e4SLinus Torvalds bool "Support for ADB input devices (keyboard, mice, ...)" 1541da177e4SLinus Torvalds depends on ADB && INPUT=y 1551da177e4SLinus Torvalds help 1561da177e4SLinus Torvalds Say Y here if you want to have ADB (Apple Desktop Bus) HID devices 1571da177e4SLinus Torvalds such as keyboards, mice, joysticks, trackpads or graphic tablets 1581da177e4SLinus Torvalds handled by the input layer. If you say Y here, make sure to say Y to 1591da177e4SLinus Torvalds the corresponding drivers "Keyboard support" (CONFIG_INPUT_KEYBDEV), 1601da177e4SLinus Torvalds "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and "Event interface 1611da177e4SLinus Torvalds support" (CONFIG_INPUT_EVDEV) as well. 1621da177e4SLinus Torvalds 1631da177e4SLinus Torvalds If unsure, say Y. 1641da177e4SLinus Torvalds 1651da177e4SLinus Torvaldsconfig MAC_EMUMOUSEBTN 1661da177e4SLinus Torvalds bool "Support for mouse button 2+3 emulation" 1671da177e4SLinus Torvalds depends on INPUT_ADBHID 1681da177e4SLinus Torvalds help 1691da177e4SLinus Torvalds This provides generic support for emulating the 2nd and 3rd mouse 1701da177e4SLinus Torvalds button with keypresses. If you say Y here, the emulation is still 1711da177e4SLinus Torvalds disabled by default. The emulation is controlled by these sysctl 1721da177e4SLinus Torvalds entries: 1731da177e4SLinus Torvalds /proc/sys/dev/mac_hid/mouse_button_emulation 1741da177e4SLinus Torvalds /proc/sys/dev/mac_hid/mouse_button2_keycode 1751da177e4SLinus Torvalds /proc/sys/dev/mac_hid/mouse_button3_keycode 1761da177e4SLinus Torvalds 1771da177e4SLinus Torvalds If you have an Apple machine with a 1-button mouse, say Y here. 1781da177e4SLinus Torvalds 1791da177e4SLinus Torvaldsconfig THERM_WINDTUNNEL 1801da177e4SLinus Torvalds tristate "Support for thermal management on Windtunnel G4s" 181a28d3af2SBenjamin Herrenschmidt depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64 1821da177e4SLinus Torvalds help 1831da177e4SLinus Torvalds This driver provides some thermostat and fan control for the desktop 1841da177e4SLinus Torvalds G4 "Windtunnel" 1851da177e4SLinus Torvalds 1861da177e4SLinus Torvaldsconfig THERM_ADT746X 1871da177e4SLinus Torvalds tristate "Support for thermal mgmnt on laptops with ADT 746x chipset" 188a28d3af2SBenjamin Herrenschmidt depends on I2C && I2C_POWERMAC && PPC_PMAC && !PPC_PMAC64 1891da177e4SLinus Torvalds help 1901da177e4SLinus Torvalds This driver provides some thermostat and fan control for the 1911da177e4SLinus Torvalds iBook G4, and the ATI based aluminium PowerBooks, allowing slighlty 1921da177e4SLinus Torvalds better fan behaviour by default, and some manual control. 1931da177e4SLinus Torvalds 1941da177e4SLinus Torvaldsconfig THERM_PM72 1951da177e4SLinus Torvalds tristate "Support for thermal management on PowerMac G5" 196a28d3af2SBenjamin Herrenschmidt depends on I2C && I2C_POWERMAC && PPC_PMAC64 1971da177e4SLinus Torvalds help 1981da177e4SLinus Torvalds This driver provides thermostat and fan control for the desktop 1991da177e4SLinus Torvalds G5 machines. 2001da177e4SLinus Torvalds 20175722d39SBenjamin Herrenschmidtconfig WINDFARM 20275722d39SBenjamin Herrenschmidt tristate "New PowerMac thermal control infrastructure" 2036f36d17aSAl Viro depends on PPC 20475722d39SBenjamin Herrenschmidt 20575722d39SBenjamin Herrenschmidtconfig WINDFARM_PM81 20675722d39SBenjamin Herrenschmidt tristate "Support for thermal management on iMac G5" 20775722d39SBenjamin Herrenschmidt depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU 208a28d3af2SBenjamin Herrenschmidt select I2C_POWERMAC 20975722d39SBenjamin Herrenschmidt help 21075722d39SBenjamin Herrenschmidt This driver provides thermal control for the iMacG5 21175722d39SBenjamin Herrenschmidt 21275722d39SBenjamin Herrenschmidtconfig WINDFARM_PM91 21375722d39SBenjamin Herrenschmidt tristate "Support for thermal management on PowerMac9,1" 21475722d39SBenjamin Herrenschmidt depends on WINDFARM && I2C && CPU_FREQ_PMAC64 && PMAC_SMU 215a28d3af2SBenjamin Herrenschmidt select I2C_POWERMAC 21675722d39SBenjamin Herrenschmidt help 21775722d39SBenjamin Herrenschmidt This driver provides thermal control for the PowerMac9,1 21875722d39SBenjamin Herrenschmidt which is the recent (SMU based) single CPU desktop G5 21975722d39SBenjamin Herrenschmidt 220ac171c46SBenjamin Herrenschmidtconfig WINDFARM_PM112 221ac171c46SBenjamin Herrenschmidt tristate "Support for thermal management on PowerMac11,2" 222ac171c46SBenjamin Herrenschmidt depends on WINDFARM && I2C && PMAC_SMU 223e5ea0a9fSLinus Torvalds select I2C_POWERMAC 224ac171c46SBenjamin Herrenschmidt help 225ac171c46SBenjamin Herrenschmidt This driver provides thermal control for the PowerMac11,2 226ac171c46SBenjamin Herrenschmidt which are the recent dual and quad G5 machines using the 227ac171c46SBenjamin Herrenschmidt 970MP dual-core processor. 22875722d39SBenjamin Herrenschmidt 2291da177e4SLinus Torvaldsconfig ANSLCD 2301da177e4SLinus Torvalds tristate "Support for ANS LCD display" 2311da177e4SLinus Torvalds depends on ADB_CUDA && PPC_PMAC 2321da177e4SLinus Torvalds 2331da177e4SLinus Torvaldsendmenu 234