Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
9dbdfce8
Commit
9dbdfce8
authored
Sep 15, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define pcibus_to_node() for IP27.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
26a940e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
arch/mips/pci/pci-ip27.c
arch/mips/pci/pci-ip27.c
+7
-0
include/asm-mips/mach-ip27/topology.h
include/asm-mips/mach-ip27/topology.h
+3
-0
No files found.
arch/mips/pci/pci-ip27.c
View file @
9dbdfce8
...
...
@@ -485,5 +485,12 @@ static void __init pci_fixup_ioc3(struct pci_dev *d)
pci_disable_swapping
(
d
);
}
int
pcibus_to_node
(
struct
pci_bus
*
bus
)
{
struct
bridge_controller
*
bc
=
BRIDGE_CONTROLLER
(
bus
);
return
bc
->
nasid
;
}
DECLARE_PCI_FIXUP_HEADER
(
PCI_VENDOR_ID_SGI
,
PCI_DEVICE_ID_SGI_IOC3
,
pci_fixup_ioc3
);
include/asm-mips/mach-ip27/topology.h
View file @
9dbdfce8
...
...
@@ -9,6 +9,9 @@
#define parent_node(node) (node)
#define node_to_cpumask(node) (hub_data(node)->h_cpus)
#define node_to_first_cpu(node) (first_cpu(node_to_cpumask(node)))
struct
pci_bus
;
extern
int
pcibus_to_node
(
struct
pci_bus
*
);
#define pcibus_to_cpumask(bus) (cpu_online_map)
extern
unsigned
char
__node_distances
[
MAX_COMPACT_NODES
][
MAX_COMPACT_NODES
];
...
...
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