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
72645c3d
Commit
72645c3d
authored
Jul 10, 2002
by
Vojtech Pavlik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only initialize pc_keyb when i8042.c isn't selected.
parent
e20b674c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
drivers/char/pc_keyb.c
drivers/char/pc_keyb.c
+5
-0
No files found.
drivers/char/pc_keyb.c
View file @
72645c3d
...
@@ -912,6 +912,8 @@ static char * __init initialize_kbd(void)
...
@@ -912,6 +912,8 @@ static char * __init initialize_kbd(void)
void
__init
pckbd_init_hw
(
void
)
void
__init
pckbd_init_hw
(
void
)
{
{
#ifndef CONFIG_SERIO_I8042
kbd_request_region
();
kbd_request_region
();
/* Flush any pending input. */
/* Flush any pending input. */
...
@@ -935,6 +937,7 @@ void __init pckbd_init_hw(void)
...
@@ -935,6 +937,7 @@ void __init pckbd_init_hw(void)
/* Ok, finally allocate the IRQ, and off we go.. */
/* Ok, finally allocate the IRQ, and off we go.. */
kbd_request_irq
(
keyboard_interrupt
);
kbd_request_irq
(
keyboard_interrupt
);
#endif
}
}
#if defined CONFIG_PSMOUSE
#if defined CONFIG_PSMOUSE
...
@@ -1213,6 +1216,7 @@ static struct miscdevice psaux_mouse = {
...
@@ -1213,6 +1216,7 @@ static struct miscdevice psaux_mouse = {
static
int
__init
psaux_init
(
void
)
static
int
__init
psaux_init
(
void
)
{
{
#ifndef CONFIG_SERIO_I8042
int
retval
;
int
retval
;
if
(
!
detect_auxiliary_port
())
if
(
!
detect_auxiliary_port
())
...
@@ -1241,6 +1245,7 @@ static int __init psaux_init(void)
...
@@ -1241,6 +1245,7 @@ static int __init psaux_init(void)
#endif
/* INITIALIZE_MOUSE */
#endif
/* INITIALIZE_MOUSE */
kbd_write_command
(
KBD_CCMD_MOUSE_DISABLE
);
/* Disable aux device. */
kbd_write_command
(
KBD_CCMD_MOUSE_DISABLE
);
/* Disable aux device. */
kbd_write_cmd
(
AUX_INTS_OFF
);
/* Disable controller ints. */
kbd_write_cmd
(
AUX_INTS_OFF
);
/* Disable controller ints. */
#endif
return
0
;
return
0
;
}
}
...
...
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