Skip to contentSkip to conversation

Mouse emulation support on x86 boxes

PATCH In review Edgar Hucek 2 participants 2 messages Jun 20, 2006 – Jun 26, 2006 Linux for power macintosh

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Mouse emulation support on x86 boxes

Since the Intel Macs the mouse emulation support
not longer belongs to PPC only.

drivers/Makefile +1 -1
diff -uNr linux-2.6.16.1/drivers/Makefile linux-2.6.16.1-imac/drivers/Makefile
@@ -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/
drivers/macintosh/Kconfig +2 -2
diff -uNr linux-2.6.16.1/drivers/macintosh/Kconfig linux-2.6.16.1-imac/drivers/macintosh/Kconfig
@@ -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
drivers/macintosh/Kconfig +1 -0
@@ -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"
#1 lore raw

Hi!

drivers/macintosh/Kconfig line 177

Quoted 10 lines
drivers/macintosh/Kconfig +1 -0
@@ -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"

This looks very incomplete. We probably do not want ADB subsystem on intel Mac?
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html