# SPDX-License-Identifier: GPL-2.0-only
menuconfig [31mCONFIG_MACINTOSH_DRIVERS[0m
bool "Macintosh device drivers"
depends on [31mCONFIG_PPC[0m || [31mCONFIG_MAC[0m || [31mCONFIG_X86[0m
default y if ([31mCONFIG_PPC_PMAC[0m || [31mCONFIG_MAC[0m)
---help---
Say Y here to get to see options for devices used with Macintosh
computers. This option alone does not add any kernel code.
If you say N, all options in this submenu will be skipped and disabled.
if [31mCONFIG_MACINTOSH_DRIVERS[0m
config [31mCONFIG_ADB[0m
bool "Apple Desktop Bus (ADB) support"
depends on [31mCONFIG_MAC[0m || ([31mCONFIG_PPC_PMAC[0m && [31mCONFIG_PPC32[0m)
help
Apple Desktop Bus ([31mCONFIG_ADB[0m) support is for support of devices which
are connected to an [31mCONFIG_ADB[0m port. [31mCONFIG_ADB[0m devices tend to have 4 pins.
If you have an Apple Macintosh prior to the iMac, an iBook or
PowerBook, or a "Blue and White G3", you probably want to say Y
here. Otherwise say N.
config [31mCONFIG_ADB_MACII[0m
bool "Include Mac II ADB driver"
depends on [31mCONFIG_ADB[0m && [31mCONFIG_MAC[0m
help
Say Y here if want your kernel to support Macintosh systems that use
the Mac II style [31mCONFIG_ADB[0m. This includes the II, IIx, IIcx, SE/30, IIci,
Quadra 610, Quadra 650, Quadra 700, Quadra 800, Centris 610 and
Centris 650.
config [31mCONFIG_ADB_IOP[0m
bool "Include IOP (IIfx/Quadra 9x0) ADB driver"
depends on [31mCONFIG_ADB[0m && [31mCONFIG_MAC[0m
help
The I/O Processor (IOP) is an Apple custom IC designed to provide
intelligent support for I/O controllers. It is described at
<http://www.angelfire.com/ca2/dev68k/iopdesc.html> to enable direct
support for it, say 'Y' here.
# we want to change this to something like CONFIG_SYSCTRL_CUDA/PMU
config [31mCONFIG_ADB_CUDA[0m
bool "Support for Cuda/Egret based Macs and PowerMacs"
depends on ([31mCONFIG_ADB[0m || [31mCONFIG_PPC_PMAC[0m) && ![31mCONFIG_PPC_PMAC64[0m
help
This provides support for Cuda/Egret based Macintosh and
Power Macintosh systems. This includes most m68k based Macs,
most Old World PowerMacs, the first generation iMacs, the
Blue & White G3 and the "Yikes" G4 ([31mCONFIG_PCI[0m Graphics). All later
models should use CONFIG_ADB_PMU instead. It is safe to say Y
here even if your machine doesn't have a Cuda or Egret device.
If unsure say Y.
config [31mCONFIG_ADB_PMU[0m
bool "Support for PMU based PowerMacs and PowerBooks"
depends on [31mCONFIG_PPC_PMAC[0m || [31mCONFIG_MAC[0m
help
On PowerBooks, iBooks, and recent iMacs and Power Macintoshes, the
PMU is an embedded microprocessor whose primary function is to
control system power, and battery charging on the portable models.
The PMU also controls the [31mCONFIG_ADB[0m (Apple Desktop Bus) which connects to
the keyboard and mouse on some machines, as well as the non-volatile
RAM and the [31mCONFIG_RTC[0m (real time clock) chip. Say Y to enable support for
this device; you should do so if your machine is one of those
mentioned above.
config [31mCONFIG_ADB_PMU_LED[0m
bool "Support for the Power/iBook front LED"
depends on [31mCONFIG_PPC_PMAC[0m && [31mCONFIG_ADB_PMU[0m
select [31mCONFIG_NEW_LEDS[0m
select [31mCONFIG_LEDS_CLASS[0m
help
Support the front LED on Power/iBooks as a generic LED that can
be triggered by any of the supported triggers. To get the
behaviour of the old CONFIG_BLK_DEV_IDE_PMAC_BLINK, select this
and the disk LED trigger and configure appropriately through sysfs.
config [31mCONFIG_ADB_PMU_LED_DISK[0m
bool "Use front LED as DISK LED by default"
depends on [31mCONFIG_ADB_PMU_LED[0m
depends on [31mCONFIG_LEDS_CLASS[0m
select [31mCONFIG_LEDS_TRIGGERS[0m
select [31mCONFIG_LEDS_TRIGGER_DISK[0m
help
This option makes the front LED default to the disk trigger
so that it blinks on disk activity.
config [31mCONFIG_PMAC_SMU[0m
bool "Support for SMU based PowerMacs"
depends on [31mCONFIG_PPC_PMAC64[0m
help
This option adds support for the newer G5 iMacs and PowerMacs based
on the "SMU" system control chip which replaces the old PMU.
If you don't know, say Y.
config [31mCONFIG_PMAC_APM_EMU[0m
tristate "APM emulation"
select [31mCONFIG_APM_EMULATION[0m
depends on [31mCONFIG_ADB_PMU[0m && [31mCONFIG_PM[0m && [31mCONFIG_PPC32[0m
config [31mCONFIG_PMAC_MEDIABAY[0m
bool "Support PowerBook hotswap media bay"
depends on [31mCONFIG_PPC_PMAC[0m && [31mCONFIG_PPC32[0m && [31mCONFIG_BLOCK[0m
help
This option adds support for older PowerBook's hotswap media bay
that can contains batteries, floppy drives, or [31mCONFIG_IDE[0m devices. [31mCONFIG_PCI[0m
devices are not fully supported in the bay as I never had one to
try with
config [31mCONFIG_PMAC_BACKLIGHT[0m
bool "Backlight control for LCD screens"
depends on [31mCONFIG_PPC_PMAC[0m && [31mCONFIG_ADB_PMU[0m && [31mCONFIG_FB[0m = y && ([31mCONFIG_BROKEN[0m || ![31mCONFIG_PPC64[0m)
select [31mCONFIG_FB_BACKLIGHT[0m
help
Say Y here to enable Macintosh specific extensions of the generic
backlight code. With this enabled, the brightness keys on older
PowerBooks will be enabled so you can change the screen brightness.
Newer models should use a userspace daemon like pbbuttonsd.
config [31mCONFIG_PMAC_BACKLIGHT_LEGACY[0m
bool "Provide legacy ioctl's on /dev/pmu for the backlight"
depends on [31mCONFIG_PMAC_BACKLIGHT[0m && ([31mCONFIG_BROKEN[0m || ![31mCONFIG_PPC64[0m)
help
Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for
programs which use this old interface. New and updated programs
should use the backlight classes in sysfs.
config [31mCONFIG_ADB_MACIO[0m
bool "Include MacIO (CHRP) ADB driver"
depends on [31mCONFIG_ADB[0m && [31mCONFIG_PPC_CHRP[0m && ![31mCONFIG_PPC_PMAC64[0m
help
Say Y here to include direct support for the [31mCONFIG_ADB[0m controller in the
Hydra chip used on PowerPC Macintoshes of the CHRP type. (The Hydra
also includes a MESH II [31mCONFIG_SCSI[0m controller, DBDMA controller, VIA chip,
OpenPIC controller and two RS422/Geoports.)
config [31mCONFIG_INPUT_ADBHID[0m
bool "Support for ADB input devices (keyboard, mice, ...)"
depends on [31mCONFIG_ADB[0m && [31mCONFIG_INPUT[0m=y
help
Say Y here if you want to have [31mCONFIG_ADB[0m (Apple Desktop Bus) [31mCONFIG_HID[0m devices
such as keyboards, mice, joysticks, trackpads or graphic tablets
handled by the input layer. If you say Y here, make sure to say Y to
the corresponding drivers "Mouse Support" (CONFIG_INPUT_MOUSEDEV) and
"Event interface support" (CONFIG_INPUT_EVDEV) as well.
If unsure, say Y.
config [31mCONFIG_MAC_EMUMOUSEBTN[0m
tristate "Support for mouse button 2+3 emulation"
depends on [31mCONFIG_SYSCTL[0m && [31mCONFIG_INPUT[0m
help
This provides generic support for emulating the 2nd and 3rd mouse
button with keypresses. If you say Y here, the emulation is still
disabled by default. The emulation is controlled by these sysctl
entries:
/proc/sys/dev/mac_hid/mouse_button_emulation
/proc/sys/dev/mac_hid/mouse_button2_keycode
/proc/sys/dev/mac_hid/mouse_button3_keycode
If you have an Apple machine with a 1-button mouse, say Y here.
To compile this driver as a module, choose [31mCONFIG_M[0m here: the
module will be called mac_hid.
config [31mCONFIG_THERM_WINDTUNNEL[0m
tristate "Support for thermal management on Windtunnel G4s"
depends on [31mCONFIG_I2C[0m && [31mCONFIG_I2C_POWERMAC[0m && [31mCONFIG_PPC_PMAC[0m && ![31mCONFIG_PPC_PMAC64[0m
help
This driver provides some thermostat and fan control for the desktop
G4 "Windtunnel"
config [31mCONFIG_THERM_ADT746X[0m
tristate "Support for thermal mgmnt on laptops with ADT 746x chipset"
depends on [31mCONFIG_I2C[0m && [31mCONFIG_I2C_POWERMAC[0m && [31mCONFIG_PPC_PMAC[0m && ![31mCONFIG_PPC_PMAC64[0m
help
This driver provides some thermostat and fan control for the
iBook G4, and the ATI based aluminium PowerBooks, allowing slightly
better fan behaviour by default, and some manual control.
config [31mCONFIG_WINDFARM[0m
tristate "New PowerMac thermal control infrastructure"
depends on [31mCONFIG_PPC[0m
config [31mCONFIG_WINDFARM_PM81[0m
tristate "Support for thermal management on iMac G5"
depends on [31mCONFIG_WINDFARM[0m && [31mCONFIG_I2C[0m && [31mCONFIG_CPU_FREQ_PMAC64[0m && [31mCONFIG_PMAC_SMU[0m
select [31mCONFIG_I2C_POWERMAC[0m
help
This driver provides thermal control for the iMacG5
config [31mCONFIG_WINDFARM_PM72[0m
tristate "Support for thermal management on PowerMac G5 (AGP)"
depends on [31mCONFIG_WINDFARM[0m && [31mCONFIG_I2C[0m && [31mCONFIG_CPU_FREQ_PMAC64[0m && [31mCONFIG_ADB_PMU[0m
select [31mCONFIG_I2C_POWERMAC[0m
help
This driver provides thermal control for the PowerMac G5
"AGP" variants (PowerMac 7,2 and 7,3)
config [31mCONFIG_WINDFARM_RM31[0m
tristate "Support for thermal management on Xserve G5"
depends on [31mCONFIG_WINDFARM[0m && [31mCONFIG_I2C[0m && [31mCONFIG_CPU_FREQ_PMAC64[0m && [31mCONFIG_ADB_PMU[0m
select [31mCONFIG_I2C_POWERMAC[0m
help
This driver provides thermal control for the Xserve G5
(RackMac3,1)
config [31mCONFIG_WINDFARM_PM91[0m
tristate "Support for thermal management on PowerMac9,1"
depends on [31mCONFIG_WINDFARM[0m && [31mCONFIG_I2C[0m && [31mCONFIG_CPU_FREQ_PMAC64[0m && [31mCONFIG_PMAC_SMU[0m
select [31mCONFIG_I2C_POWERMAC[0m
help
This driver provides thermal control for the PowerMac9,1
which is the recent (SMU based) single CPU desktop G5
config [31mCONFIG_WINDFARM_PM112[0m
tristate "Support for thermal management on PowerMac11,2"
depends on [31mCONFIG_WINDFARM[0m && [31mCONFIG_I2C[0m && [31mCONFIG_PMAC_SMU[0m
select [31mCONFIG_I2C_POWERMAC[0m
help
This driver provides thermal control for the PowerMac11,2
which are the recent dual and quad G5 machines using the
970MP dual-core processor.
config [31mCONFIG_WINDFARM_PM121[0m
tristate "Support for thermal management on PowerMac12,1"
depends on [31mCONFIG_WINDFARM[0m && [31mCONFIG_I2C[0m && [31mCONFIG_PMAC_SMU[0m
select [31mCONFIG_I2C_POWERMAC[0m
help
This driver provides thermal control for the PowerMac12,1
which is the iMac G5 (iSight).
config [31mCONFIG_ANSLCD[0m
tristate "Support for ANS LCD display"
depends on [31mCONFIG_ADB_CUDA[0m && [31mCONFIG_PPC_PMAC[0m
config [31mCONFIG_PMAC_RACKMETER[0m
tristate "Support for Apple XServe front panel LEDs"
depends on [31mCONFIG_PPC_PMAC[0m
help
This driver provides some support to control the front panel
blue LEDs "vu-meter" of the XServer macs.
config [31mCONFIG_SENSORS_AMS[0m
tristate "Apple Motion Sensor driver"
depends on [31mCONFIG_PPC_PMAC[0m && ![31mCONFIG_PPC64[0m && [31mCONFIG_INPUT[0m && (([31mCONFIG_ADB_PMU[0m && [31mCONFIG_I2C[0m = y) || ([31mCONFIG_ADB_PMU[0m && ![31mCONFIG_I2C[0m) || [31mCONFIG_I2C[0m)
select [31mCONFIG_INPUT_POLLDEV[0m
help
Support for the motion sensor included in PowerBooks. Includes
implementations for PMU and [31mCONFIG_I2C[0m.
This driver can also be built as a module. If so, the module
will be called ams.
config [31mCONFIG_SENSORS_AMS_PMU[0m
bool "PMU variant"
depends on [31mCONFIG_SENSORS_AMS[0m && [31mCONFIG_ADB_PMU[0m
default y
help
PMU variant of motion sensor, found in late 2005 PowerBooks.
config [31mCONFIG_SENSORS_AMS_I2C[0m
bool "I2C variant"
depends on [31mCONFIG_SENSORS_AMS[0m && [31mCONFIG_I2C[0m
default y
help
[31mCONFIG_I2C[0m variant of motion sensor, found in early 2005 PowerBooks and
iBooks.
endif # [31mCONFIG_MACINTOSH_DRIVERS[0m