Subversion Repositories Kolibri OS

Rev

Rev 5354 | Rev 6104 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5354 Rev 5367
Line 132... Line 132...
132
    };
132
    };
Line 133... Line 133...
133
 
133
 
134
    if( GetService("DISPLAY") != 0 )
134
    if( GetService("DISPLAY") != 0 )
Line 135... Line 135...
135
        return 0;
135
        return 0;
Line 136... Line 136...
136
 
136
 
137
    printf("Radeon v3.19-rc2 cmdline %s\n", cmdline);
137
    printf("Radeon v3.19-rc3 cmdline %s\n", cmdline);
Line 138... Line 138...
138
 
138
 
Line 283... Line 283...
283
    device   = (id >> 16) & 0xffff;
283
    device   = (id >> 16) & 0xffff;
Line 284... Line 284...
284
 
284
 
285
    if(vendor == 0x1002)
285
    if(vendor == 0x1002)
286
    {
286
    {
287
        class = PciRead32(busnr, devfn, PCI_CLASS_REVISION);
287
        class = PciRead32(busnr, devfn, PCI_CLASS_REVISION);
Line 288... Line 288...
288
        class >>= 16;
288
        class >>= 24;
289
 
289
 
290
        if( class == PCI_CLASS_DISPLAY_VGA)
290
        if( class ==PCI_BASE_CLASS_DISPLAY)
291
            ret = 1;
291
            ret = 1;
292
    }
292
    }