Bartlomiej Zolnierkiewicz 2bd24a1cfc ide: add port and host iterators
Add ide_port_for_each_dev() / ide_host_for_each_port() iterators
and update IDE code to use them.

While at it:
- s/unit/i/ variable in ide_port_wait_ready(), ide_probe_port(),
  ide_port_tune_devices(), ide_port_init_devices_data(), do_reset1(),
  ide_acpi_set_state() and scc_dma_end()
- s/d/i/ variable in ide_proc_port_register_devices()

There should be no functional changes caused by this patch.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-01-06 17:20:56 +01:00
..
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:55 +01:00
2009-01-06 17:20:55 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2008-11-27 12:38:11 +00:00
2009-01-06 17:20:56 +01:00
2009-01-06 17:20:53 +01:00
2008-11-09 21:35:36 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:53 +01:00
2009-01-06 17:20:56 +01:00
2009-01-06 17:20:53 +01:00
2008-07-23 19:55:57 +02:00
2009-01-06 17:20:56 +01:00
2009-01-06 17:20:56 +01:00
2009-01-06 17:20:56 +01:00
2009-01-06 17:20:56 +01:00
2009-01-06 17:20:52 +01:00
2008-11-02 21:40:08 +01:00
2008-12-28 20:00:03 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:53 +01:00
2008-10-26 09:35:05 -07:00
2009-01-06 17:20:53 +01:00
2009-01-06 17:20:56 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00
2009-01-06 17:20:52 +01:00