Chuck Ebbert wrote:
> On 10/29/2007 03:41 AM, Tejun Heo wrote:
>> retry:
>> + ata_link_for_each_dev(dev, &ap->link) {
>
> How do I backport these loops to 2.6.23?
>
> I see something like this in the old code:
>
> for (i=0; i < ATA_MAX_DEVICES; i++) {
> dev = &ap->device[i];
> if (!ata_dev_enabled(dev))
> continue;
> do_something(dev);
> }
Yeap, that's pretty much it.
--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html