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
0426a096
Commit
0426a096
authored
Oct 07, 2002
by
Dave Jones
Committed by
Linus Torvalds
Oct 07, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] KT266x latency fix.
From 2.4, see comment in diff.
parent
8bd2ec16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
arch/i386/pci/fixup.c
arch/i386/pci/fixup.c
+7
-2
No files found.
arch/i386/pci/fixup.c
View file @
0426a096
...
@@ -148,7 +148,12 @@ static void __init pci_fixup_via_northbridge_bug(struct pci_dev *d)
...
@@ -148,7 +148,12 @@ static void __init pci_fixup_via_northbridge_bug(struct pci_dev *d)
pci_read_config_byte
(
d
,
PCI_REVISION_ID
,
&
revision
);
pci_read_config_byte
(
d
,
PCI_REVISION_ID
,
&
revision
);
if
(
d
->
device
==
PCI_DEVICE_ID_VIA_8367_0
)
{
if
(
d
->
device
==
PCI_DEVICE_ID_VIA_8367_0
)
{
where
=
0x95
;
/* the memory write queue timer register is
/* fix pci bus latency issues resulted by NB bios error
it appears on bug free^Wreduced kt266x's bios forces
NB latency to zero */
pci_write_config_byte
(
d
,
PCI_LATENCY_TIMER
,
0
);
where
=
0x95
;
/* the memory write queue timer register is
different for the KT266x's: 0x95 not 0x55 */
different for the KT266x's: 0x95 not 0x55 */
}
else
if
(
d
->
device
==
PCI_DEVICE_ID_VIA_8363_0
&&
}
else
if
(
d
->
device
==
PCI_DEVICE_ID_VIA_8363_0
&&
(
revision
==
VIA_8363_KL133_REVISION_ID
||
(
revision
==
VIA_8363_KL133_REVISION_ID
||
...
@@ -157,7 +162,7 @@ static void __init pci_fixup_via_northbridge_bug(struct pci_dev *d)
...
@@ -157,7 +162,7 @@ static void __init pci_fixup_via_northbridge_bug(struct pci_dev *d)
causes screen corruption on the KL133/KM133 */
causes screen corruption on the KL133/KM133 */
}
}
pci_read_config_byte
(
d
,
where
,
&
v
);
pci_read_config_byte
(
d
,
where
,
&
v
);
if
(
v
&
~
mask
)
{
if
(
v
&
~
mask
)
{
printk
(
KERN_WARNING
"Disabling VIA memory write queue (PCI ID %04x, rev %02x): [%02x] %02x & %02x -> %02x
\n
"
,
\
printk
(
KERN_WARNING
"Disabling VIA memory write queue (PCI ID %04x, rev %02x): [%02x] %02x & %02x -> %02x
\n
"
,
\
d
->
device
,
revision
,
where
,
v
,
mask
,
v
&
mask
);
d
->
device
,
revision
,
where
,
v
,
mask
,
v
&
mask
);
...
...
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