summaryrefslogtreecommitdiff
path: root/src/atiprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atiprobe.c')
-rw-r--r--src/atiprobe.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/atiprobe.c b/src/atiprobe.c
index 70e1a4a6..ddfed31a 100644
--- a/src/atiprobe.c
+++ b/src/atiprobe.c
@@ -406,6 +406,13 @@ ATIMach64ProbeIO
goto SkipSparse;
}
+ /* Possibly fix block I/O indicator */
+ if (PciReg & 0x00000004U)
+ {
+ PciReg &= ~0x00000004U;
+ PCI_WRITE_LONG(pVideo, PciReg, PCI_REG_USERCONFIG);
+ }
+
/* FIXME:
* Should not probe at sparse I/O bases which have been registered to
* other PCI devices. The old ATIProbe() would scan the PCI space and
@@ -426,13 +433,6 @@ ATIMach64ProbeIO
goto SkipSparse;
}
- /* Possibly fix block I/O indicator */
- if (PciReg & 0x00000004U)
- {
- PciReg &= ~0x00000004U;
- PCI_WRITE_LONG(pVideo, PciReg, PCI_REG_USERCONFIG);
- }
-
pATI->CPIOBase = Mach64SparseIOBases[j];
pATI->CPIODecoding = SPARSE_IO;
pATI->PCIInfo = pVideo;