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
0d97b93b
Commit
0d97b93b
authored
Nov 25, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Add PCI bridge resources to the resource tree
parent
d099379f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
drivers/pci/setup-bus.c
drivers/pci/setup-bus.c
+8
-0
No files found.
drivers/pci/setup-bus.c
View file @
0d97b93b
...
...
@@ -107,6 +107,14 @@ pci_setup_bridge(struct pci_bus *bus)
DBGC
((
KERN_INFO
"PCI: Bus %d, bridge: %s
\n
"
,
bus
->
number
,
bridge
->
dev
.
name
));
/* Add bridge resources to the resource tree. */
if
(
bus
->
resource
[
0
]
->
end
>
bus
->
resource
[
0
]
->
start
&&
request_resource
(
bus
->
resource
[
0
],
bus
->
resource
[
0
])
<
0
)
printk
(
KERN_ERR
"PCI: failed to reserve IO for bus %d
\n
"
,
bus
->
number
);
if
(
bus
->
resource
[
1
]
->
end
>
bus
->
resource
[
1
]
->
start
&&
request_resource
(
bus
->
resource
[
1
],
bus
->
resource
[
1
])
<
0
)
printk
(
KERN_ERR
"PCI: failed to reserve MEM for bus %d
\n
"
,
bus
->
number
);
/* Set up the top and bottom of the PCI I/O segment for this bus. */
if
(
bus
->
resource
[
0
]
->
flags
&
IORESOURCE_IO
)
{
pci_read_config_dword
(
bridge
,
PCI_IO_BASE
,
&
l
);
...
...
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