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
f822bff7
Commit
f822bff7
authored
21 years ago
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Reserve 8042 IO space on machines with no keyboard
parent
9f166ff0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
arch/ppc64/kernel/chrp_setup.c
arch/ppc64/kernel/chrp_setup.c
+12
-1
No files found.
arch/ppc64/kernel/chrp_setup.c
View file @
f822bff7
...
...
@@ -101,13 +101,24 @@ chrp_get_cpuinfo(struct seq_file *m)
seq_printf
(
m
,
"machine
\t\t
: CHRP %s
\n
"
,
model
);
}
void
__init
chrp_request_regions
(
void
)
{
#define I8042_DATA_REG 0x60
void
__init
chrp_request_regions
(
void
)
{
request_region
(
0x20
,
0x20
,
"pic1"
);
request_region
(
0xa0
,
0x20
,
"pic2"
);
request_region
(
0x00
,
0x20
,
"dma1"
);
request_region
(
0x40
,
0x20
,
"timer"
);
request_region
(
0x80
,
0x10
,
"dma page reg"
);
request_region
(
0xc0
,
0x20
,
"dma2"
);
/*
* Some machines have an unterminated i8042 so check the device
* tree and reserve the region if it does not appear. Later on
* the i8042 code will try and reserve this region and fail.
*/
if
(
!
find_type_devices
(
"8042"
))
request_region
(
I8042_DATA_REG
,
16
,
"reserved (no i8042)"
);
}
void
__init
...
...
This diff is collapsed.
Click to expand it.
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