changeset 102:5978ada9505e

G200/8MB SD ramsize detection fixed
author arpi_esp
date Tue, 13 Mar 2001 00:46:38 +0000
parents 7fe6855f19cd
children 506d7560279c
files drivers/mga_vid.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/mga_vid.c	Tue Mar 13 00:23:52 2001 +0000
+++ b/drivers/mga_vid.c	Tue Mar 13 00:46:38 2001 +0000
@@ -759,7 +759,7 @@
 			printk(KERN_INFO "mga_vid: Couldn't detect RAMSIZE, assuming 16MB!");
 		}
 	    }else{
-		switch((card_option>>11)&3){
+		switch((card_option>>11)&1){
 		    case 0:  mga_ram_size = 8; break;
 		    default: mga_ram_size = 16;
 		}