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
00325ac8
Commit
00325ac8
authored
Oct 13, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix iop310-pci compilation errors.
parent
51e9ac4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
arch/arm/mach-iop310/iop310-pci.c
arch/arm/mach-iop310/iop310-pci.c
+6
-6
No files found.
arch/arm/mach-iop310/iop310-pci.c
View file @
00325ac8
...
@@ -145,7 +145,7 @@ iop310_pri_read_config(struct pci_bus *bus, unsigned int devfn, int where,
...
@@ -145,7 +145,7 @@ iop310_pri_read_config(struct pci_bus *bus, unsigned int devfn, int where,
}
}
static
int
static
int
iop310_pri_write_config
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
iop310_pri_write_config
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
,
int
size
,
u32
value
)
int
size
,
u32
value
)
{
{
unsigned
long
addr
=
iop310_cfg_address
(
bus
,
devfn
,
where
);
unsigned
long
addr
=
iop310_cfg_address
(
bus
,
devfn
,
where
);
...
@@ -163,7 +163,7 @@ iop310_pri_write_config(struct pci_bus *bus, unsigned int devfn, int where
...
@@ -163,7 +163,7 @@ iop310_pri_write_config(struct pci_bus *bus, unsigned int devfn, int where
else
else
val
&=
~
(
0xffff
<<
where
);
val
&=
~
(
0xffff
<<
where
);
*
IOP310_POCCDR
=
val
|
v
<<
where
;
*
IOP310_POCCDR
=
val
|
v
alue
<<
where
;
}
else
{
}
else
{
asm
volatile
(
asm
volatile
(
"str %1, [%2]
\n\t
"
"str %1, [%2]
\n\t
"
...
@@ -173,7 +173,7 @@ iop310_pri_write_config(struct pci_bus *bus, unsigned int devfn, int where
...
@@ -173,7 +173,7 @@ iop310_pri_write_config(struct pci_bus *bus, unsigned int devfn, int where
"nop
\n\t
"
"nop
\n\t
"
"nop
\n\t
"
"nop
\n\t
"
:
:
:
"r"
(
val
),
"r"
(
addr
),
:
"r"
(
val
ue
),
"r"
(
addr
),
"r"
(
IOP310_POCCAR
),
"r"
(
IOP310_POCCDR
));
"r"
(
IOP310_POCCAR
),
"r"
(
IOP310_POCCDR
));
}
}
...
@@ -246,7 +246,7 @@ iop310_sec_read_config(struct pci_bus *bus, unsigned int devfn, int where,
...
@@ -246,7 +246,7 @@ iop310_sec_read_config(struct pci_bus *bus, unsigned int devfn, int where,
}
}
static
int
static
int
iop310_sec_write_config
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
iop310_sec_write_config
(
struct
pci_bus
*
bus
,
unsigned
int
devfn
,
int
where
,
int
size
,
u32
value
)
int
size
,
u32
value
)
{
{
unsigned
long
addr
=
iop310_cfg_address
(
bus
,
devfn
,
where
);
unsigned
long
addr
=
iop310_cfg_address
(
bus
,
devfn
,
where
);
...
@@ -265,7 +265,7 @@ iop310_sec_write_config(struct pci_bus *bus, unsigned int devfn, int where
...
@@ -265,7 +265,7 @@ iop310_sec_write_config(struct pci_bus *bus, unsigned int devfn, int where
else
else
val
&=
~
(
0xffff
<<
where
);
val
&=
~
(
0xffff
<<
where
);
*
IOP310_SOCCDR
=
val
|
v
<<
where
;
*
IOP310_SOCCDR
=
val
|
v
alue
<<
where
;
}
else
{
}
else
{
asm
volatile
(
asm
volatile
(
"str %1, [%2]
\n\t
"
"str %1, [%2]
\n\t
"
...
@@ -275,7 +275,7 @@ iop310_sec_write_config(struct pci_bus *bus, unsigned int devfn, int where
...
@@ -275,7 +275,7 @@ iop310_sec_write_config(struct pci_bus *bus, unsigned int devfn, int where
"nop
\n\t
"
"nop
\n\t
"
"nop
\n\t
"
"nop
\n\t
"
:
:
:
"r"
(
val
),
"r"
(
addr
),
:
"r"
(
val
ue
),
"r"
(
addr
),
"r"
(
IOP310_SOCCAR
),
"r"
(
IOP310_SOCCDR
));
"r"
(
IOP310_SOCCAR
),
"r"
(
IOP310_SOCCDR
));
}
}
...
...
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