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
4a2c5ced
Commit
4a2c5ced
authored
Jun 21, 2003
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Add SA11x0 UDC DMA mask support, and SSP platform device
parent
3f87abae
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
arch/arm/mach-sa1100/generic.c
arch/arm/mach-sa1100/generic.c
+25
-0
No files found.
arch/arm/mach-sa1100/generic.c
View file @
4a2c5ced
...
@@ -138,11 +138,14 @@ static struct resource sa11x0udc_resources[] = {
...
@@ -138,11 +138,14 @@ static struct resource sa11x0udc_resources[] = {
},
},
};
};
static
u64
sa11x0udc_dma_mask
=
0xffffffffUL
;
static
struct
platform_device
sa11x0udc_device
=
{
static
struct
platform_device
sa11x0udc_device
=
{
.
name
=
"sa11x0-udc"
,
.
name
=
"sa11x0-udc"
,
.
id
=
0
,
.
id
=
0
,
.
dev
=
{
.
dev
=
{
.
name
=
"Intel Corporation SA11x0 [UDC]"
,
.
name
=
"Intel Corporation SA11x0 [UDC]"
,
.
dma_mask
=
&
sa11x0udc_dma_mask
,
},
},
.
num_resources
=
ARRAY_SIZE
(
sa11x0udc_resources
),
.
num_resources
=
ARRAY_SIZE
(
sa11x0udc_resources
),
.
resource
=
sa11x0udc_resources
,
.
resource
=
sa11x0udc_resources
,
...
@@ -166,6 +169,27 @@ static struct platform_device sa11x0mcp_device = {
...
@@ -166,6 +169,27 @@ static struct platform_device sa11x0mcp_device = {
.
resource
=
sa11x0mcp_resources
,
.
resource
=
sa11x0mcp_resources
,
};
};
static
struct
resource
sa11x0ssp_resources
[]
=
{
[
0
]
=
{
.
start
=
0x80070000
,
.
end
=
0x8007ffff
,
.
flags
=
IORESOURCE_MEM
,
},
};
static
u64
sa11x0ssp_dma_mask
=
0xffffffffUL
;
static
struct
platform_device
sa11x0ssp_device
=
{
.
name
=
"sa11x0-ssp"
,
.
id
=
0
,
.
dev
=
{
.
name
=
"Intel Corporation SA11x0 [SSP]"
,
.
dma_mask
=
&
sa11x0ssp_dma_mask
,
},
.
num_resources
=
ARRAY_SIZE
(
sa11x0ssp_resources
),
.
resource
=
sa11x0ssp_resources
,
};
static
struct
resource
sa11x0fb_resources
[]
=
{
static
struct
resource
sa11x0fb_resources
[]
=
{
[
0
]
=
{
[
0
]
=
{
.
start
=
0xb0100000
,
.
start
=
0xb0100000
,
...
@@ -200,6 +224,7 @@ static struct platform_device sa11x0pcmcia_device = {
...
@@ -200,6 +224,7 @@ static struct platform_device sa11x0pcmcia_device = {
static
struct
platform_device
*
sa11x0_devices
[]
__initdata
=
{
static
struct
platform_device
*
sa11x0_devices
[]
__initdata
=
{
&
sa11x0udc_device
,
&
sa11x0udc_device
,
&
sa11x0mcp_device
,
&
sa11x0mcp_device
,
&
sa11x0ssp_device
,
&
sa11x0pcmcia_device
,
&
sa11x0pcmcia_device
,
&
sa11x0fb_device
,
&
sa11x0fb_device
,
};
};
...
...
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