diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2011-06-11 12:50:16 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2011-06-11 12:51:56 +0200 |
commit | 542e65deaf834c3d58c44064206445e4d18f6daa (patch) | |
tree | 768a7d24641a6e60802e48376a279c9690ac1c02 | |
parent | a123285200c6747bfc2631f684a9d1c06c868fb4 (diff) |
Fix regression from pciaccess conversion (bug#32682)
Due to a typo in TsengGetFbAddress it is unable to get framebuffer base
address and thus fails to load with an error message saying "No valid
Framebuffer address in PCI config space" although previously it does
print the correct framebuffer address.
Signed-off-by: Julien Cristau <jcristau@debian.org>
-rw-r--r-- | src/tseng_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tseng_driver.c b/src/tseng_driver.c index 6992671..d36b62c 100644 --- a/src/tseng_driver.c +++ b/src/tseng_driver.c @@ -883,7 +883,7 @@ TsengGetFbAddress(ScrnInfoPtr pScrn) PDEBUG(" TsengGetFbAddress\n"); /* base0 is the framebuffer and base1 is the PCI IO space. */ - if (PCI_REGION_BASE(pTseng->PciInfo, 0, REGION_MEM)) { + if (!PCI_REGION_BASE(pTseng->PciInfo, 0, REGION_MEM)) { xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "No valid Framebuffer address in PCI config space;\n"); return FALSE; |