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
b9b86c66
Commit
b9b86c66
authored
Jan 12, 2004
by
David S. Miller
Committed by
Ben Collins
Jan 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Disable PCI ROM address OBP sanity check for now.
parent
dc3c0c8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
arch/sparc64/kernel/pci_common.c
arch/sparc64/kernel/pci_common.c
+11
-2
No files found.
arch/sparc64/kernel/pci_common.c
View file @
b9b86c66
...
@@ -303,14 +303,23 @@ __init get_device_resource(struct linux_prom_pci_registers *ap,
...
@@ -303,14 +303,23 @@ __init get_device_resource(struct linux_prom_pci_registers *ap,
{
{
struct
resource
*
res
;
struct
resource
*
res
;
int
breg
=
(
ap
->
phys_hi
&
0xff
);
int
breg
=
(
ap
->
phys_hi
&
0xff
);
int
space
=
(
ap
->
phys_hi
>>
24
)
&
3
;
switch
(
breg
)
{
switch
(
breg
)
{
case
PCI_ROM_ADDRESS
:
case
PCI_ROM_ADDRESS
:
/* Unfortunately I have seen several cases where
* buggy FCODE uses a space value of '1' (I/O space)
* in the register property for the ROM address
* so disable this sanity check for now.
*/
#if 0
{
int space = (ap->phys_hi >> 24) & 3;
/* It had better be MEM space. */
/* It had better be MEM space. */
if (space != 2)
if (space != 2)
bad_assignment(pdev, ap, NULL, 0);
bad_assignment(pdev, ap, NULL, 0);
}
#endif
res
=
&
pdev
->
resource
[
PCI_ROM_RESOURCE
];
res
=
&
pdev
->
resource
[
PCI_ROM_RESOURCE
];
break
;
break
;
...
...
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