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
d7814fa5
Commit
d7814fa5
authored
Feb 27, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge AMD7xx PCI compliance quirk fix from 2.4.18.
parent
b324327d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
drivers/pci/quirks.c
drivers/pci/quirks.c
+8
-6
No files found.
drivers/pci/quirks.c
View file @
d7814fa5
...
@@ -444,13 +444,15 @@ static void __init quirk_amd_ioapic(struct pci_dev *dev)
...
@@ -444,13 +444,15 @@ static void __init quirk_amd_ioapic(struct pci_dev *dev)
static
void
__init
quirk_amd_ordering
(
struct
pci_dev
*
dev
)
static
void
__init
quirk_amd_ordering
(
struct
pci_dev
*
dev
)
{
{
u32
pcic
;
u32
pcic
;
pci_read_config_dword
(
dev
,
0x4C
,
&
pcic
);
pci_read_config_dword
(
dev
,
0x42
,
&
pcic
);
if
((
pcic
&
6
)
!=
6
)
if
((
pcic
&
2
)
==
0
)
{
{
pcic
|=
2
;
pcic
|=
6
;
printk
(
KERN_WARNING
"BIOS disabled PCI ordering compliance, so we enabled it again.
\n
"
);
printk
(
KERN_WARNING
"BIOS failed to enable PCI standards compliance, fixing this error.
\n
"
);
pci_write_config_dword
(
dev
,
0x42
,
pcic
);
pci_write_config_dword
(
dev
,
0x4C
,
pcic
);
pci_read_config_dword
(
dev
,
0x84
,
&
pcic
);
pcic
|=
(
1
<<
23
);
/* Required in this mode */
pci_write_config_dword
(
dev
,
0x84
,
pcic
);
}
}
}
}
...
...
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