Input: i8042 - remove SPRUCE support
authorChristoph Egger <siccegge@cs.fau.de>
Fri, 4 Jun 2010 05:05:14 +0000 (22:05 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Jun 2010 07:44:30 +0000 (00:44 -0700)
CONFIG_SPRUCE was removed from kernel around 2.6.26; let's remove the
last remaining piece.

Signed-off-by: Christoph Egger <siccegge@cs.fau.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042-ppcio.h

index 2906e1b60c04009a4d16ffb743ecf4f436bb7237..f708c75d16f1d919f4e054c94437fb6e4e587866 100644 (file)
@@ -52,81 +52,6 @@ static inline void i8042_platform_exit(void)
 {
 }
 
-#elif defined(CONFIG_SPRUCE)
-
-#define I8042_KBD_IRQ 22
-#define I8042_AUX_IRQ 21
-
-#define I8042_KBD_PHYS_DESC "spruceps2/serio0"
-#define I8042_AUX_PHYS_DESC "spruceps2/serio1"
-#define I8042_MUX_PHYS_DESC "spruceps2/serio%d"
-
-#define I8042_COMMAND_REG 0xff810000
-#define I8042_DATA_REG 0xff810001
-
-static inline int i8042_read_data(void)
-{
-       unsigned long kbd_data;
-
-       __raw_writel(0x00000088, 0xff500008);
-       eieio();
-
-       __raw_writel(0x03000000, 0xff50000c);
-       eieio();
-
-       asm volatile("lis     7,0xff88        \n\
-                     lswi    6,7,0x8         \n\
-                     mr      %0,6"
-                     : "=r" (kbd_data) :: "6", "7");
-
-       __raw_writel(0x00000000, 0xff50000c);
-       eieio();
-
-       return (unsigned char)(kbd_data >> 24);
-}
-
-static inline int i8042_read_status(void)
-{
-       unsigned long kbd_status;
-
-       __raw_writel(0x00000088, 0xff500008);
-       eieio();
-
-       __raw_writel(0x03000000, 0xff50000c);
-       eieio();
-
-       asm volatile("lis     7,0xff88        \n\
-                     ori     7,7,0x8         \n\
-                     lswi    6,7,0x8         \n\
-                     mr      %0,6"
-                     : "=r" (kbd_status) :: "6", "7");
-
-       __raw_writel(0x00000000, 0xff50000c);
-       eieio();
-
-       return (unsigned char)(kbd_status >> 24);
-}
-
-static inline void i8042_write_data(int val)
-{
-       *((unsigned char *)0xff810000) = (char)val;
-}
-
-static inline void i8042_write_command(int val)
-{
-       *((unsigned char *)0xff810001) = (char)val;
-}
-
-static inline int i8042_platform_init(void)
-{
-       i8042_reset = 1;
-       return 0;
-}
-
-static inline void i8042_platform_exit(void)
-{
-}
-
 #else
 
 #include "i8042-io.h"
This page took 0.026987 seconds and 5 git commands to generate.