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
2be70552
Commit
2be70552
authored
Aug 05, 2013
by
Chris Metcalf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tile PCI RC: support pci=off boot arg for tilepro
Signed-off-by:
Chris Metcalf
<
cmetcalf@tilera.com
>
parent
523c178e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
arch/tile/kernel/pci.c
arch/tile/kernel/pci.c
+17
-0
No files found.
arch/tile/kernel/pci.c
View file @
2be70552
...
...
@@ -51,6 +51,8 @@
*
*/
static
int
pci_probe
=
1
;
/*
* This flag tells if the platform is TILEmpower that needs
* special configuration for the PLX switch chip.
...
...
@@ -143,6 +145,11 @@ int __init tile_pci_init(void)
{
int
i
;
if
(
!
pci_probe
)
{
pr_info
(
"PCI: disabled by boot argument
\n
"
);
return
0
;
}
pr_info
(
"PCI: Searching for controllers...
\n
"
);
/* Re-init number of PCIe controllers to support hot-plug feature. */
...
...
@@ -378,6 +385,16 @@ void pcibios_set_master(struct pci_dev *dev)
/* No special bus mastering setup handling. */
}
/* Process any "pci=" kernel boot arguments. */
char
*
__init
pcibios_setup
(
char
*
str
)
{
if
(
!
strcmp
(
str
,
"off"
))
{
pci_probe
=
0
;
return
NULL
;
}
return
str
;
}
/*
* Enable memory and/or address decoding, as appropriate, for the
* device described by the 'dev' struct.
...
...
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