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
71fc77af
Commit
71fc77af
authored
Sep 16, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Missing ioremap() in parport support.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
1e7f9d0c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
include/asm-sparc64/parport.h
include/asm-sparc64/parport.h
+5
-1
No files found.
include/asm-sparc64/parport.h
View file @
71fc77af
...
@@ -126,10 +126,14 @@ static int parport_pc_find_nonpci_ports (int autoirq, int autodma)
...
@@ -126,10 +126,14 @@ static int parport_pc_find_nonpci_ports (int autoirq, int autodma)
if
(
ebus_ecpp_p
(
edev
))
{
if
(
ebus_ecpp_p
(
edev
))
{
unsigned
long
base
=
edev
->
resource
[
0
].
start
;
unsigned
long
base
=
edev
->
resource
[
0
].
start
;
unsigned
long
config
=
edev
->
resource
[
1
].
start
;
unsigned
long
config
=
edev
->
resource
[
1
].
start
;
unsigned
long
d_base
=
edev
->
resource
[
2
].
start
;
unsigned
long
d_len
;
spin_lock_init
(
&
sparc_ebus_dmas
[
count
].
info
.
lock
);
spin_lock_init
(
&
sparc_ebus_dmas
[
count
].
info
.
lock
);
d_len
=
(
edev
->
resource
[
2
].
end
-
d_base
)
+
1
;
sparc_ebus_dmas
[
count
].
info
.
regs
=
sparc_ebus_dmas
[
count
].
info
.
regs
=
edev
->
resource
[
2
].
start
;
ioremap
(
d_base
,
d_len
)
;
if
(
!
sparc_ebus_dmas
[
count
].
info
.
regs
)
if
(
!
sparc_ebus_dmas
[
count
].
info
.
regs
)
continue
;
continue
;
sparc_ebus_dmas
[
count
].
info
.
flags
=
0
;
sparc_ebus_dmas
[
count
].
info
.
flags
=
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