Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
115b2ce1
Commit
115b2ce1
authored
Jan 10, 2006
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
parents
dd49f967
5fc4e6e1
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
5 additions
and
136 deletions
+5
-136
drivers/input/input.c
drivers/input/input.c
+1
-1
drivers/input/joystick/grip_mp.c
drivers/input/joystick/grip_mp.c
+0
-9
drivers/input/keyboard/Kconfig
drivers/input/keyboard/Kconfig
+0
-10
drivers/input/keyboard/Makefile
drivers/input/keyboard/Makefile
+0
-1
drivers/input/misc/wistron_btns.c
drivers/input/misc/wistron_btns.c
+3
-3
drivers/input/mouse/Kconfig
drivers/input/mouse/Kconfig
+0
-10
drivers/input/mouse/Makefile
drivers/input/mouse/Makefile
+0
-1
drivers/input/mouse/maplemouse.c
drivers/input/mouse/maplemouse.c
+0
-101
drivers/misc/ibmasm/remote.c
drivers/misc/ibmasm/remote.c
+1
-0
No files found.
drivers/input/input.c
View file @
115b2ce1
...
...
@@ -477,8 +477,8 @@ static int __init input_proc_init(void)
entry
->
owner
=
THIS_MODULE
;
input_fileops
=
*
entry
->
proc_fops
;
input_fileops
.
poll
=
input_devices_poll
;
entry
->
proc_fops
=
&
input_fileops
;
entry
->
proc_fops
->
poll
=
input_devices_poll
;
entry
=
create_proc_read_entry
(
"handlers"
,
0
,
proc_bus_input_dir
,
input_handlers_read
,
NULL
);
if
(
!
entry
)
...
...
drivers/input/joystick/grip_mp.c
View file @
115b2ce1
...
...
@@ -53,17 +53,8 @@ struct grip_port {
struct
grip_mp
{
struct
gameport
*
gameport
;
struct
grip_port
*
port
[
GRIP_MAX_PORTS
];
// struct input_dev *dev[4];
// int mode[4];
// int registered[4];
int
reads
;
int
bads
;
/* individual gamepad states */
// int buttons[4];
// int xaxes[4];
// int yaxes[4];
// int dirty[4]; /* has the state been updated? */
};
/*
...
...
drivers/input/keyboard/Kconfig
View file @
115b2ce1
...
...
@@ -143,16 +143,6 @@ config KEYBOARD_SPITZ
To compile this driver as a module, choose M here: the
module will be called spitzkbd.
config KEYBOARD_MAPLE
tristate "Maple bus keyboard"
depends on SH_DREAMCAST && MAPLE
help
Say Y here if you have a DreamCast console running Linux and have
a keyboard attached to its Maple bus.
To compile this driver as a module, choose M here: the
module will be called maple_keyb.
config KEYBOARD_AMIGA
tristate "Amiga keyboard"
depends on AMIGA
...
...
drivers/input/keyboard/Makefile
View file @
115b2ce1
...
...
@@ -5,7 +5,6 @@
# Each configuration option enables a list of files.
obj-$(CONFIG_KEYBOARD_ATKBD)
+=
atkbd.o
obj-$(CONFIG_KEYBOARD_MAPLE)
+=
maple_keyb.o
obj-$(CONFIG_KEYBOARD_SUNKBD)
+=
sunkbd.o
obj-$(CONFIG_KEYBOARD_LKKBD)
+=
lkkbd.o
obj-$(CONFIG_KEYBOARD_XTKBD)
+=
xtkbd.o
...
...
drivers/input/misc/wistron_btns.c
View file @
115b2ce1
...
...
@@ -92,11 +92,11 @@ static void call_bios(struct regs *regs)
preempt_enable
();
}
static
size_t
__init
locate_wistron_bios
(
void
__iomem
*
base
)
static
s
s
ize_t
__init
locate_wistron_bios
(
void
__iomem
*
base
)
{
static
const
unsigned
char
__initdata
signature
[]
=
{
0x42
,
0x21
,
0x55
,
0x30
};
size_t
offset
;
s
s
ize_t
offset
;
for
(
offset
=
0
;
offset
<
0x10000
;
offset
+=
0x10
)
{
if
(
check_signature
(
base
+
offset
,
signature
,
...
...
@@ -109,7 +109,7 @@ static size_t __init locate_wistron_bios(void __iomem *base)
static
int
__init
map_bios
(
void
)
{
void
__iomem
*
base
;
size_t
offset
;
s
s
ize_t
offset
;
u32
entry_point
;
base
=
ioremap
(
0xF0000
,
0x10000
);
/* Can't fail */
...
...
drivers/input/mouse/Kconfig
View file @
115b2ce1
...
...
@@ -86,16 +86,6 @@ config MOUSE_PC110PAD
To compile this driver as a module, choose M here: the
module will be called pc110pad.
config MOUSE_MAPLE
tristate "Maple bus mouse"
depends on SH_DREAMCAST && MAPLE
help
Say Y if you have a DreamCast console and a mouse attached to
its Maple bus.
To compile this driver as a module, choose M here: the
module will be called maplemouse.
config MOUSE_AMIGA
tristate "Amiga mouse"
depends on AMIGA
...
...
drivers/input/mouse/Makefile
View file @
115b2ce1
...
...
@@ -8,7 +8,6 @@ obj-$(CONFIG_MOUSE_AMIGA) += amimouse.o
obj-$(CONFIG_MOUSE_RISCPC)
+=
rpcmouse.o
obj-$(CONFIG_MOUSE_INPORT)
+=
inport.o
obj-$(CONFIG_MOUSE_LOGIBM)
+=
logibm.o
obj-$(CONFIG_MOUSE_MAPLE)
+=
maplemouse.o
obj-$(CONFIG_MOUSE_PC110PAD)
+=
pc110pad.o
obj-$(CONFIG_MOUSE_PS2)
+=
psmouse.o
obj-$(CONFIG_MOUSE_SERIAL)
+=
sermouse.o
...
...
drivers/input/mouse/maplemouse.c
deleted
100644 → 0
View file @
dd49f967
/*
* $Id: maplemouse.c,v 1.2 2004/03/22 01:18:15 lethal Exp $
* SEGA Dreamcast mouse driver
* Based on drivers/usb/usbmouse.c
*/
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/timer.h>
#include <linux/maple.h>
MODULE_AUTHOR
(
"YAEGASHI Takeshi <t@keshi.org>"
);
MODULE_DESCRIPTION
(
"SEGA Dreamcast mouse driver"
);
static
void
dc_mouse_callback
(
struct
mapleq
*
mq
)
{
int
buttons
,
relx
,
rely
,
relz
;
struct
maple_device
*
mapledev
=
mq
->
dev
;
struct
input_dev
*
dev
=
mapledev
->
private_data
;
unsigned
char
*
res
=
mq
->
recvbuf
;
buttons
=
~
res
[
8
];
relx
=
*
(
unsigned
short
*
)(
res
+
12
)
-
512
;
rely
=
*
(
unsigned
short
*
)(
res
+
14
)
-
512
;
relz
=
*
(
unsigned
short
*
)(
res
+
16
)
-
512
;
input_report_key
(
dev
,
BTN_LEFT
,
buttons
&
4
);
input_report_key
(
dev
,
BTN_MIDDLE
,
buttons
&
9
);
input_report_key
(
dev
,
BTN_RIGHT
,
buttons
&
2
);
input_report_rel
(
dev
,
REL_X
,
relx
);
input_report_rel
(
dev
,
REL_Y
,
rely
);
input_report_rel
(
dev
,
REL_WHEEL
,
relz
);
input_sync
(
dev
);
}
static
int
dc_mouse_connect
(
struct
maple_device
*
dev
)
{
unsigned
long
data
=
be32_to_cpu
(
dev
->
devinfo
.
function_data
[
0
]);
struct
input_dev
*
input_dev
;
dev
->
private_data
=
input_dev
=
input_allocate_device
();
if
(
!
input_dev
)
return
-
ENOMEM
;
dev
->
private_data
=
input_dev
;
input_dev
->
evbit
[
0
]
=
BIT
(
EV_KEY
)
|
BIT
(
EV_REL
);
input_dev
->
keybit
[
LONG
(
BTN_MOUSE
)]
=
BIT
(
BTN_LEFT
)
|
BIT
(
BTN_RIGHT
)
|
BIT
(
BTN_MIDDLE
);
input_dev
->
relbit
[
0
]
=
BIT
(
REL_X
)
|
BIT
(
REL_Y
)
|
BIT
(
REL_WHEEL
);
input_dev
->
name
=
dev
->
product_name
;
input_dev
->
id
.
bustype
=
BUS_MAPLE
;
input_register_device
(
input_dev
);
maple_getcond_callback
(
dev
,
dc_mouse_callback
,
1
,
MAPLE_FUNC_MOUSE
);
return
0
;
}
static
void
dc_mouse_disconnect
(
struct
maple_device
*
dev
)
{
struct
input_dev
*
input_dev
=
dev
->
private_data
;
input_unregister_device
(
input_dev
);
}
static
struct
maple_driver
dc_mouse_driver
=
{
.
function
=
MAPLE_FUNC_MOUSE
,
.
name
=
"Dreamcast mouse"
,
.
connect
=
dc_mouse_connect
,
.
disconnect
=
dc_mouse_disconnect
,
};
static
int
__init
dc_mouse_init
(
void
)
{
maple_register_driver
(
&
dc_mouse_driver
);
return
0
;
}
static
void
__exit
dc_mouse_exit
(
void
)
{
maple_unregister_driver
(
&
dc_mouse_driver
);
}
module_init
(
dc_mouse_init
);
module_exit
(
dc_mouse_exit
);
/*
* Local variables:
* c-basic-offset: 8
* End:
*/
drivers/misc/ibmasm/remote.c
View file @
115b2ce1
...
...
@@ -270,6 +270,7 @@ int ibmasm_init_remote_input_dev(struct service_processor *sp)
err_unregister_mouse_dev:
input_unregister_device
(
mouse_dev
);
mouse_dev
=
NULL
;
/* so we don't try to free it again below */
err_free_devices:
input_free_device
(
mouse_dev
);
input_free_device
(
keybd_dev
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment