Index: trunk/i386/libsaio/ati.c =================================================================== --- trunk/i386/libsaio/ati.c (revision 1374) +++ trunk/i386/libsaio/ati.c (revision 1375) @@ -1303,6 +1303,14 @@ } } +// card->ports = 2; // default - Azi: default is card_configs + + if (card->info->chip_family >= CHIP_FAMILY_CEDAR) + { + card->flags |= EVERGREEN; +// card->ports = 3; //Azi: use the AtiPorts key if needed + } + // atN = 0; card->cfg_name = getStringForKey(kAtiConfig, &bootInfo->chameleonConfig); @@ -1318,12 +1326,6 @@ card->ports = card_configs[i].ports; } - if (card->info->chip_family >= CHIP_FAMILY_CEDAR) - { - card->flags |= EVERGREEN; - card->ports = 3; //Azi: not sure of the usefulness ?? - } - getIntForKey(kAtiPorts, &n_ports, &bootInfo->bootConfig); if (n_ports > 0){ card->ports = n_ports;