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
nexedi
linux
Commits
16c561f7
Commit
16c561f7
authored
Oct 09, 2002
by
Vojtech Pavlik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix i8042 for Sun, recent updates broke it.
parent
d3ca7378
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/input/serio/i8042.c
drivers/input/serio/i8042.c
+6
-6
No files found.
drivers/input/serio/i8042.c
View file @
16c561f7
...
...
@@ -21,10 +21,6 @@
#include <linux/serio.h>
#include <linux/sched.h>
#undef DEBUG
#include "i8042.h"
MODULE_AUTHOR
(
"Vojtech Pavlik <vojtech@suse.cz>"
);
MODULE_DESCRIPTION
(
"i8042 keyboard and mouse controller driver"
);
MODULE_LICENSE
(
"GPL"
);
...
...
@@ -41,6 +37,9 @@ static int i8042_reset;
static
int
i8042_direct
;
static
int
i8042_dumbkbd
;
#undef DEBUG
#include "i8042.h"
spinlock_t
i8042_lock
=
SPIN_LOCK_UNLOCKED
;
struct
i8042_values
{
...
...
@@ -287,7 +286,6 @@ static void i8042_close(struct serio *port)
*/
static
struct
i8042_values
i8042_kbd_values
=
{
.
irq
=
I8042_KBD_IRQ
,
.
irqen
=
I8042_CTR_KBDINT
,
.
disable
=
I8042_CTR_KBDDIS
,
.
name
=
"KBD"
,
...
...
@@ -306,7 +304,6 @@ static struct serio i8042_kbd_port =
};
static
struct
i8042_values
i8042_aux_values
=
{
.
irq
=
I8042_AUX_IRQ
,
.
irqen
=
I8042_CTR_AUXINT
,
.
disable
=
I8042_CTR_AUXDIS
,
.
name
=
"AUX"
,
...
...
@@ -812,6 +809,9 @@ int __init i8042_init(void)
if
(
i8042_platform_init
())
return
-
EBUSY
;
i8042_aux_values
.
irq
=
I8042_AUX_IRQ
;
i8042_kbd_values
.
irq
=
I8042_KBD_IRQ
;
if
(
i8042_controller_init
())
return
-
ENODEV
;
...
...
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