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
eba6d937
Commit
eba6d937
authored
Apr 07, 2003
by
Christopher Hoover
Committed by
Russell King
Apr 07, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM PATCH] 1489/1: SA-1111: usb_dev needs non-zero dev.dma_mask for usb core to work properly
Patch from Christopher Hoover
parent
5c97ec96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
arch/arm/common/sa1111.c
arch/arm/common/sa1111.c
+2
-0
include/asm-arm/hardware/sa1111.h
include/asm-arm/hardware/sa1111.h
+1
-0
No files found.
arch/arm/common/sa1111.c
View file @
eba6d937
...
...
@@ -60,6 +60,7 @@ static struct sa1111_dev usb_dev = {
},
.
skpcr_mask
=
SKPCR_UCLKEN
,
.
devid
=
SA1111_DEVID_USB
,
.
dma_mask
=
0xffffffffLL
,
.
irq
=
{
IRQ_USBPWR
,
IRQ_HCIM
,
...
...
@@ -494,6 +495,7 @@ sa1111_init_one_child(struct sa1111 *sachip, struct sa1111_dev *sadev, unsigned
sadev
->
dev
.
parent
=
sachip
->
dev
;
sadev
->
dev
.
bus
=
&
sa1111_bus_type
;
sadev
->
dev
.
dma_mask
=
&
sadev
->
dma_mask
;
sadev
->
res
.
start
=
sachip
->
res
.
start
+
offset
;
sadev
->
res
.
end
=
sadev
->
res
.
start
+
511
;
sadev
->
res
.
name
=
sadev
->
dev
.
name
;
...
...
include/asm-arm/hardware/sa1111.h
View file @
eba6d937
...
...
@@ -553,6 +553,7 @@ struct sa1111_dev {
void
*
mapbase
;
unsigned
int
skpcr_mask
;
unsigned
int
irq
[
6
];
u64
dma_mask
;
};
#define SA1111_DEV(_d) container_of((_d), struct sa1111_dev, dev)
...
...
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