lkml.org 
[lkml]   [2013]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] gameport: limit the configuration to x86 architecture.
Date
The gameport driver relies on features of x86/x86-64, so it's unlikely
that it could work on other architectures. Furthermore the l4 driver
can panic a kernel running on ARM (for instance) by trying to access
the 0x204 address.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
---
drivers/input/gameport/Kconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/input/gameport/Kconfig b/drivers/input/gameport/Kconfig
index d279454..611abed 100644
--- a/drivers/input/gameport/Kconfig
+++ b/drivers/input/gameport/Kconfig
@@ -3,6 +3,7 @@
#
config GAMEPORT
tristate "Gameport support"
+ depends on X86
---help---
Gameport support is for the standard 15-pin PC gameport. If you
have a joystick, gamepad, gameport card, a soundcard with a gameport
--
1.8.2.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2013-06-06 15:41    [W:0.026 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site