[PATCH 1/1] Mouse emulation support on x86 boxes
From: Edgar Hucek
Date: Tue Jun 20 2006 - 09:31:23 EST
Since the Intel Macs the mouse emulation support
not longer belongs to PPC only.
Signed-off-by: Edgar Hucek <hostmaster@xxxxxxxxxx>
diff -uNr linux-2.6.16.1/drivers/Makefile linux-2.6.16.1-imac/drivers/Makefile
--- linux-2.6.16.1/drivers/Makefile 2006-03-20 05:53:29.000000000 +0000
+++ linux-2.6.16.1-imac/drivers/Makefile 2006-04-01 23:51:38.000000000 +0000
@@ -33,7 +33,7 @@
obj-y += base/ block/ misc/ mfd/ net/ media/
obj-$(CONFIG_NUBUS) += nubus/
obj-$(CONFIG_ATM) += atm/
-obj-$(CONFIG_PPC_PMAC) += macintosh/
+obj-y += macintosh/
obj-$(CONFIG_IDE) += ide/
obj-$(CONFIG_FC4) += fc4/
obj-$(CONFIG_SCSI) += scsi/
diff -uNr linux-2.6.16.1/drivers/macintosh/Kconfig linux-2.6.16.1-imac/drivers/macintosh/Kconfig
--- linux-2.6.16.1/drivers/macintosh/Kconfig 2006-03-20 05:53:29.000000000 +0000
+++ linux-2.6.16.1-imac/drivers/macintosh/Kconfig 2006-04-01 23:51:38.000000000 +0000
@@ -1,6 +1,6 @@
menu "Macintosh device drivers"
- depends on PPC || MAC
+ depends on PPC || MAC || X86
config ADB
bool "Apple Desktop Bus (ADB) support"
@@ -135,7 +135,7 @@
config MAC_EMUMOUSEBTN
bool "Support for mouse button 2+3 emulation"
- depends on INPUT_ADBHID
+# depends on INPUT_ADBHID
help
This provides generic support for emulating the 2nd and 3rd mouse
button with keypresses. If you say Y here, the emulation is still
--- linux-2.6.16.1/drivers/macintosh/Kconfig 2006-06-19 09:31:24.000000000 +0200
+++ linux-2.6.16.1-imac/drivers/macintosh/Kconfig 2006-06-19 09:31:10.000000000 +0200
@@ -171,6 +171,7 @@
config WINDFARM
tristate "New PowerMac thermal control infrastructure"
+ depends on (PPC_PMAC64 || PPC_PMAC)
config WINDFARM_PM81
tristate "Support for thermal management on iMac G5"