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
07c019bc
Commit
07c019bc
authored
Jan 29, 2008
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MIPS] BCM1480: Use constants instead of magic numbers in PCI code.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
e2defae5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arch/mips/pci/pci-bcm1480.c
arch/mips/pci/pci-bcm1480.c
+2
-2
arch/mips/pci/pci-bcm1480ht.c
arch/mips/pci/pci-bcm1480ht.c
+2
-2
No files found.
arch/mips/pci/pci-bcm1480.c
View file @
07c019bc
...
@@ -178,8 +178,8 @@ struct pci_ops bcm1480_pci_ops = {
...
@@ -178,8 +178,8 @@ struct pci_ops bcm1480_pci_ops = {
static
struct
resource
bcm1480_mem_resource
=
{
static
struct
resource
bcm1480_mem_resource
=
{
.
name
=
"BCM1480 PCI MEM"
,
.
name
=
"BCM1480 PCI MEM"
,
.
start
=
0x30000000UL
,
.
start
=
A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES
,
.
end
=
0x3
fffffffUL
,
.
end
=
A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES
+
0x
fffffffUL
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
};
};
...
...
arch/mips/pci/pci-bcm1480ht.c
View file @
07c019bc
...
@@ -173,8 +173,8 @@ struct pci_ops bcm1480ht_pci_ops = {
...
@@ -173,8 +173,8 @@ struct pci_ops bcm1480ht_pci_ops = {
static
struct
resource
bcm1480ht_mem_resource
=
{
static
struct
resource
bcm1480ht_mem_resource
=
{
.
name
=
"BCM1480 HT MEM"
,
.
name
=
"BCM1480 HT MEM"
,
.
start
=
0x40000000UL
,
.
start
=
A_BCM1480_PHYS_HT_MEM_MATCH_BYTES
,
.
end
=
0x5
fffffffUL
,
.
end
=
A_BCM1480_PHYS_HT_MEM_MATCH_BYTES
+
0x1
fffffffUL
,
.
flags
=
IORESOURCE_MEM
,
.
flags
=
IORESOURCE_MEM
,
};
};
...
...
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