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
73b18a22
Commit
73b18a22
authored
Jul 22, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Handle !CONFIG_PCI properly in sparc i8042 support.
parent
284fe9f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
drivers/input/serio/i8042-sparcio.h
drivers/input/serio/i8042-sparcio.h
+11
-0
No files found.
drivers/input/serio/i8042-sparcio.h
View file @
73b18a22
#ifndef _I8042_SPARCIO_H
#define _I8042_SPARCIO_H
#include <linux/config.h>
#include <asm/io.h>
#ifdef CONFIG_PCI
#include <asm/oplib.h>
#include <asm/ebus.h>
#endif
static
int
i8042_kbd_irq
=
-
1
;
static
int
i8042_aux_irq
=
-
1
;
...
...
@@ -45,6 +50,9 @@ static inline void i8042_write_command(int val)
static
int
i8042_platform_init
(
void
)
{
#ifndef CONFIG_PCI
return
-
1
;
#else
char
prop
[
128
];
int
len
;
...
...
@@ -95,11 +103,14 @@ static int i8042_platform_init(void)
i8042_reset
=
1
;
return
0
;
#endif
/* CONFIG_PCI */
}
static
inline
void
i8042_platform_exit
(
void
)
{
#ifdef CONFIG_PCI
iounmap
((
void
*
)
kbd_iobase
);
#endif
}
#endif
/* _I8042_SPARCIO_H */
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