2007-01-29 09:28:49

by Soeren Sonnenburg

[permalink] [raw]
Subject: [PATCH] 2.6.20-rc6 trivially enable mouse button 2+3 emulation for x86 macs

Dear all,

I would think this patch is too trivial to not be in 2.6.20:

As macbook/macbook pro's also have to live with a single mouse button
the following patch just enables the Macintosh device drivers menu in
Kconfig + adds the macintosh dir to the obj-* to make macbook* users
happy (who use exactly that since months....


Signed-off-by: Soeren Sonnenburg <[email protected]>

diff -ur linux-2.6.20-rc6/drivers/macintosh/Kconfig linux-2.6.20-rc6-sonne/drivers/macintosh/Kconfig
--- linux-2.6.20-rc6/drivers/macintosh/Kconfig 2007-01-25 03:19:28.000000000 +0100
+++ linux-2.6.20-rc6-sonne/drivers/macintosh/Kconfig 2007-01-26 21:30:51.000000000 +0100
@@ -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"

diff -ur linux-2.6.20-rc6/drivers/Makefile linux-2.6.20-rc6-sonne/drivers/Makefile
--- linux-2.6.20-rc6/drivers/Makefile 2007-01-25 03:19:28.000000000 +0100
+++ linux-2.6.20-rc6-sonne/drivers/Makefile 2007-01-26 21:30:51.000000000 +0100
@@ -30,7 +30,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/
--
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.