summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <mark.kettenis@xs4all.nl>2009-06-05 14:27:55 -0600
committerMatthieu Herrb <matthieu.herrb@laas.fr>2009-06-05 14:32:42 -0600
commitdb324d0a4d9faf1df3a5c9be8f5a837e852e22cb (patch)
tree1ddf8f6ad6eca8aaf8da09634b3e85fa80eb7610
parentfc258c28f99101f7a08bac3f08a66b70ba273161 (diff)
Disable int10 code if __sparc__.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
-rw-r--r--src/glint_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glint_driver.c b/src/glint_driver.c
index f67e627..3724ce9 100644
--- a/src/glint_driver.c
+++ b/src/glint_driver.c
@@ -1274,6 +1274,7 @@ GLINTPreInit(ScrnInfoPtr pScrn, int flags)
}
}
+#if !defined(__sparc__)
/* Initialize the card through int10 interface if needed */
if (pGlint->Chipset != PCI_VENDOR_3DLABS_CHIP_GAMMA &&
pGlint->Chipset != PCI_VENDOR_3DLABS_CHIP_GAMMA2 &&
@@ -1287,6 +1288,7 @@ GLINTPreInit(ScrnInfoPtr pScrn, int flags)
xf86FreeInt10(pInt);
}
}
+#endif
pGlint->FbMapSize = 0;