Files
kernel_xiaomi_sm8250/include/linux
Tejun Heo f58229f806 libata-link: implement and use link/device iterators
Multiple links and different number of devices per link should be
considered to iterate over links and devices.  This patch implements
and uses link and device iterators - ata_port_for_each_link() and
ata_link_for_each_dev() - and ata_link_max_devices().

This change makes a lot of functions iterate over only possible
devices instead of from dev 0 to dev ATA_MAX_DEVICES.  All such
changes have been examined and nothing should be broken.

While at it, add a separating comment before device helpers to
distinguish them better from link helpers and others.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-12 14:55:30 -04:00
..
2007-10-09 19:59:16 -07:00
2007-09-24 07:15:48 +02:00
2007-09-23 22:17:27 +02:00
2007-10-10 16:53:11 -07:00
2007-09-11 04:22:16 -07:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:49:02 -07:00
2007-10-10 09:25:57 +02:00
2007-10-11 23:54:00 +02:00
2007-10-10 16:51:59 -07:00
2007-10-10 16:52:04 -07:00
2007-08-26 18:35:34 -07:00
2007-09-11 17:21:20 -07:00
2007-09-04 23:16:04 -04:00
2007-09-11 22:24:45 +01:00
2007-10-10 16:54:03 -07:00
2007-10-10 16:54:44 -07:00
2007-09-20 13:19:59 -07:00
2007-09-16 16:21:16 -07:00
2007-09-19 11:24:18 -07:00
2007-10-10 09:25:57 +02:00