Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
4379c670
Commit
4379c670
authored
Jul 09, 2002
by
James Simmons
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-input.bkbits.net/linux-input
into heisenberg.transvirtual.com:/tmp/linux-input
parents
3dfd8b7d
15984745
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
17 deletions
+16
-17
drivers/input/serio/ct82c710.c
drivers/input/serio/ct82c710.c
+1
-2
drivers/input/serio/i8042.c
drivers/input/serio/i8042.c
+4
-5
drivers/input/serio/parkbd.c
drivers/input/serio/parkbd.c
+2
-4
drivers/input/serio/rpckbd.c
drivers/input/serio/rpckbd.c
+1
-2
drivers/input/serio/serport.c
drivers/input/serio/serport.c
+1
-2
include/linux/serio.h
include/linux/serio.h
+7
-2
No files found.
drivers/input/serio/ct82c710.c
View file @
4379c670
...
@@ -156,8 +156,7 @@ static struct serio ct82c710_port =
...
@@ -156,8 +156,7 @@ static struct serio ct82c710_port =
static
void
ct82c710_interrupt
(
int
cpl
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
static
void
ct82c710_interrupt
(
int
cpl
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
{
if
(
ct82c710_port
.
dev
)
serio_interrupt
(
&
ct82c710_port
,
inb
(
ct82c710_data
),
0
);
ct82c710_port
.
dev
->
interrupt
(
&
ct82c710_port
,
inb
(
ct82c710_data
),
0
);
}
}
/*
/*
...
...
drivers/input/serio/i8042.c
View file @
4379c670
...
@@ -387,14 +387,13 @@ static void i8042_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -387,14 +387,13 @@ static void i8042_interrupt(int irq, void *dev_id, struct pt_regs *regs)
#endif
#endif
if
(
i8042_aux_values
.
exists
&&
(
str
&
I8042_STR_AUXDATA
))
{
if
(
i8042_aux_values
.
exists
&&
(
str
&
I8042_STR_AUXDATA
))
{
if
(
i8042_aux_port
.
dev
)
serio_interrupt
(
&
i8042_aux_port
,
data
,
0
);
i8042_aux_port
.
dev
->
interrupt
(
&
i8042_aux_port
,
data
,
0
);
}
else
{
}
else
{
if
(
i8042_kbd_values
.
exists
&&
i8042_kbd_port
.
dev
)
{
if
(
i8042_kbd_values
.
exists
)
{
if
(
!
i8042_direct
)
{
if
(
!
i8042_direct
)
{
if
(
data
>
0x7f
)
{
if
(
data
>
0x7f
)
{
if
(
test_and_clear_bit
(
data
&
0x7f
,
i8042_unxlate_seen
))
{
if
(
test_and_clear_bit
(
data
&
0x7f
,
i8042_unxlate_seen
))
{
i8042_kbd_port
.
dev
->
interrupt
(
&
i8042_kbd_port
,
0xf0
,
0
);
serio_
interrupt
(
&
i8042_kbd_port
,
0xf0
,
0
);
data
=
i8042_unxlate_table
[
data
&
0x7f
];
data
=
i8042_unxlate_table
[
data
&
0x7f
];
}
}
}
else
{
}
else
{
...
@@ -402,7 +401,7 @@ static void i8042_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -402,7 +401,7 @@ static void i8042_interrupt(int irq, void *dev_id, struct pt_regs *regs)
data
=
i8042_unxlate_table
[
data
];
data
=
i8042_unxlate_table
[
data
];
}
}
}
}
i8042_kbd_port
.
dev
->
interrupt
(
&
i8042_kbd_port
,
data
,
0
);
serio_
interrupt
(
&
i8042_kbd_port
,
data
,
0
);
}
}
}
}
}
}
...
...
drivers/input/serio/parkbd.c
View file @
4379c670
...
@@ -135,10 +135,8 @@ static void parkbd_interrupt(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -135,10 +135,8 @@ static void parkbd_interrupt(int irq, void *dev_id, struct pt_regs *regs)
parkbd_buffer
|=
(
parkbd_readlines
()
>>
1
)
<<
parkbd_counter
++
;
parkbd_buffer
|=
(
parkbd_readlines
()
>>
1
)
<<
parkbd_counter
++
;
if
(
parkbd_counter
==
parkbd_mode
+
10
)
{
if
(
parkbd_counter
==
parkbd_mode
+
10
)
if
(
parkbd_port
.
dev
)
serio_interrupt
(
&
parkbd_port
,
(
parkbd_buffer
>>
(
2
-
parkbd_mode
))
&
0xff
,
0
);
parkbd_port
.
dev
->
interrupt
(
&
parkbd_port
,
(
parkbd_buffer
>>
(
2
-
parkbd_mode
))
&
0xff
,
0
);
}
}
}
parkbd_last
=
jiffies
;
parkbd_last
=
jiffies
;
...
...
drivers/input/serio/rpckbd.c
View file @
4379c670
...
@@ -64,8 +64,7 @@ static void rpckbd_rx(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -64,8 +64,7 @@ static void rpckbd_rx(int irq, void *dev_id, struct pt_regs *regs)
kbd_pt_regs
=
regs
;
kbd_pt_regs
=
regs
;
while
(
inb
(
IOMD_KCTRL
)
&
(
1
<<
5
))
while
(
inb
(
IOMD_KCTRL
)
&
(
1
<<
5
))
if
(
rpckbd_port
.
dev
)
serio_interrupt
(
&
rpckbd_port
,
inb
(
IOMD_KARTRX
),
0
);
rpckbd_port
.
dev
->
interrupt
(
&
rpckbd_port
,
inb
(
IOMD_KARTRX
),
0
);
}
}
...
...
drivers/input/serio/serport.c
View file @
4379c670
...
@@ -138,8 +138,7 @@ static void serport_ldisc_receive(struct tty_struct *tty, const unsigned char *c
...
@@ -138,8 +138,7 @@ static void serport_ldisc_receive(struct tty_struct *tty, const unsigned char *c
struct
serport
*
serport
=
(
struct
serport
*
)
tty
->
disc_data
;
struct
serport
*
serport
=
(
struct
serport
*
)
tty
->
disc_data
;
int
i
;
int
i
;
for
(
i
=
0
;
i
<
count
;
i
++
)
for
(
i
=
0
;
i
<
count
;
i
++
)
if
(
serport
->
serio
.
dev
)
serio_interrupt
(
&
serport
->
serio
,
cp
[
i
],
0
);
serport
->
serio
.
dev
->
interrupt
(
&
serport
->
serio
,
cp
[
i
],
0
);
}
}
/*
/*
...
...
include/linux/serio.h
View file @
4379c670
...
@@ -89,9 +89,14 @@ static __inline__ int serio_write(struct serio *serio, unsigned char data)
...
@@ -89,9 +89,14 @@ static __inline__ int serio_write(struct serio *serio, unsigned char data)
static
__inline__
void
serio_dev_write_wakeup
(
struct
serio
*
serio
)
static
__inline__
void
serio_dev_write_wakeup
(
struct
serio
*
serio
)
{
{
if
(
serio
->
dev
&&
serio
->
dev
->
write_wakeup
)
{
if
(
serio
->
dev
&&
serio
->
dev
->
write_wakeup
)
serio
->
dev
->
write_wakeup
(
serio
);
serio
->
dev
->
write_wakeup
(
serio
);
}
}
static
__inline__
void
serio_interrupt
(
struct
serio
*
serio
,
unsigned
char
data
,
unsigned
int
flags
)
{
if
(
serio
->
dev
&&
serio
->
dev
->
interrupt
)
serio
->
dev
->
interrupt
(
serio
,
data
,
flags
);
}
}
#define SERIO_TIMEOUT 1
#define SERIO_TIMEOUT 1
...
...
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