Files
linux-legacy/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-10 09:25:57 +02:00
2007-01-30 08:26:45 -08:00
2007-07-16 09:05:46 -07:00
2007-02-09 17:39:36 -05:00
2006-10-02 07:57:12 -07:00
2007-09-11 17:21:20 -07:00
2007-05-09 12:30:53 -07:00
2007-07-24 12:24:59 -07:00
2005-10-28 08:16:47 -07:00
2007-05-03 10:52:22 +03:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-11-30 04:40:22 +01:00
2006-08-27 11:01:32 -07:00
2005-04-16 15:20:36 -07:00
2007-05-05 14:15:32 -07:00
2006-10-03 23:01:26 +02:00
2005-04-16 15:20:36 -07:00
2007-07-16 09:05:45 -07:00
2007-07-18 08:47:40 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-07-31 15:39:39 -07:00
2007-05-11 08:29:36 -07:00
2007-10-10 09:25:57 +02:00