changeset 662:4a959b73d51e

G200 ramsize detection disabled, using 8M by default
author arpi_esp
date Sun, 29 Apr 2001 20:24:38 +0000
parents f87dc2cc16a8
children 121cb2047c08
files drivers/mga_vid.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/mga_vid.c	Sun Apr 29 19:14:43 2001 +0000
+++ b/drivers/mga_vid.c	Sun Apr 29 20:24:38 2001 +0000
@@ -792,10 +792,10 @@
 			printk(KERN_INFO "mga_vid: Couldn't detect RAMSIZE, assuming 16MB!");
 		}
 	    }else{
-		switch((card_option>>11)&1){
-		    case 0:
-		    case 3:  mga_ram_size = 8; break;
-		    default: mga_ram_size = 16;
+		switch((card_option>>10)&0x17){
+//		    case 0x10:
+//		    case 0x13:  mga_ram_size = 8; break;
+		    default: mga_ram_size = 8;
 		}
 	    } 
 #if 0