summaryrefslogtreecommitdiff
path: root/src/mga_driver.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-01-19 15:33:28 -0500
committerAdam Jackson <ajax@redhat.com>2008-01-19 15:33:28 -0500
commite3777cafc07500c733b8569b50ce202e346c94bf (patch)
tree5f7b9e399753a868a558babe0ab3cfa7af79ad10 /src/mga_driver.c
parent6cd7677c41cf59194561225ed521a295e535862f (diff)
No depth 15 on G200SE-A.
Diffstat (limited to 'src/mga_driver.c')
-rw-r--r--src/mga_driver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 981385a..2d113e8 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -1690,11 +1690,13 @@ MGAPreInit(ScrnInfoPtr pScrn, int flags)
/* Check that the returned depth is one we support */
switch (pScrn->depth) {
case 8:
- case 15:
case 16:
case 24:
/* OK */
break;
+ case 15:
+ if (pMga->Chipset != PCI_CHIP_MGAG200_SE_A_PCI)
+ break;
default:
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
"Given depth (%d) is not supported by this driver\n",