comparison drivers/mga_vid.c @ 102:5978ada9505e

G200/8MB SD ramsize detection fixed
author arpi_esp
date Tue, 13 Mar 2001 00:46:38 +0000
parents 7fe6855f19cd
children 1e09830f2e96
comparison
equal deleted inserted replaced
101:7fe6855f19cd 102:5978ada9505e
757 default: 757 default:
758 mga_ram_size = 16; 758 mga_ram_size = 16;
759 printk(KERN_INFO "mga_vid: Couldn't detect RAMSIZE, assuming 16MB!"); 759 printk(KERN_INFO "mga_vid: Couldn't detect RAMSIZE, assuming 16MB!");
760 } 760 }
761 }else{ 761 }else{
762 switch((card_option>>11)&3){ 762 switch((card_option>>11)&1){
763 case 0: mga_ram_size = 8; break; 763 case 0: mga_ram_size = 8; break;
764 default: mga_ram_size = 16; 764 default: mga_ram_size = 16;
765 } 765 }
766 } 766 }
767 #if 0 767 #if 0