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
47010443
Commit
47010443
authored
Jan 12, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Ensure that dev->dma_mask is initialised for Acorn cards.
parent
6bc3d2ac
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
arch/arm/kernel/ecard.c
arch/arm/kernel/ecard.c
+2
-0
include/asm-arm/ecard.h
include/asm-arm/ecard.h
+1
-0
No files found.
arch/arm/kernel/ecard.c
View file @
47010443
...
...
@@ -978,6 +978,8 @@ ecard_probe(int slot, card_type_t type)
strcpy
(
ec
->
dev
.
name
,
"fixme!"
);
ec
->
dev
.
parent
=
NULL
;
ec
->
dev
.
bus
=
&
ecard_bus_type
;
ec
->
dev
.
dma_mask
=
&
ec
->
dma_mask
;
ec
->
dma_mask
=
(
u64
)
0xffffffff
;
device_register
(
&
ec
->
dev
);
...
...
include/asm-arm/ecard.h
View file @
47010443
...
...
@@ -160,6 +160,7 @@ struct expansion_card {
const
char
*
card_desc
;
/* Card description */
CONST
unsigned
int
podaddr
;
/* Base Linux address for card */
CONST
loader_t
loader
;
/* loader program */
u64
dma_mask
;
};
struct
in_chunk_dir
{
...
...
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