changeset 4273:dca74cbbe70c

equalizer is only supported by g400
author alex
date Sat, 19 Jan 2002 23:59:20 +0000
parents 68a40de07167
children f5759bbdd7be
files vidix/drivers/mga_vid.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vidix/drivers/mga_vid.c	Sat Jan 19 22:46:28 2002 +0000
+++ b/vidix/drivers/mga_vid.c	Sat Jan 19 23:59:20 2002 +0000
@@ -1461,7 +1461,11 @@
 	if(contrast < 0)   contrast = 0;
 	if(contrast > 255) contrast = 255;
 	beslumactl = ((brightness & 0xff) << 16) | (contrast & 0xff);
+
+    if (is_g400)
 	writel(beslumactl,mga_mmio_base + BESLUMACTL);
+    else
+	printf("[mga] equalizer isn't supported with G200\n");
     return 0;
 }