Chameleon

Chameleon Commit Details

Date:2011-08-31 02:37:00 (7 years 10 months ago)
Author:Azimutz
Commit:1487
Parents: 1486
Message:Add brackets... fixes build.
Changes:
M/branches/azimutz/trunkGraphicsEnablerModules/i386/modules/GraphicsEnabler/AMDGraphicsEnabler/ati.c

File differences

branches/azimutz/trunkGraphicsEnablerModules/i386/modules/GraphicsEnabler/AMDGraphicsEnabler/ati.c
13561356
13571357
13581358
1359
13591360
13601361
1362
13611363
13621364
1363
1365
13641366
1367
13651368
1369
13661370
1371
13671372
13681373
13691374
card->ports = card->info->custom_ports;
// if custom value is 0
if (card->ports == 0)
{
// match cfg_name with card_configs list and retrive default nr of ports.
for (i = 0; i < kCfgEnd; i++)
{
if (strcmp(card->cfg_name, card_configs[i].name) == 0)
card->ports = card_configs[i].ports; // default
}
verbose("Nr of ports set to framebuffer's default: %d\n", card->ports);
}
else
{
verbose("Nr of ports set to card's custom ??: %d\n", card->ports);
}
}
//else
//card->ports = 2/1 ?; // set a min if 0 ports ?

Archive Download the corresponding diff file

Revision: 1487