Re: [PATCH #upstream 1/2] libata: relocate forcing PIO0 on reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux