linux-kernel-test/drivers/ide
Bartlomiej Zolnierkiewicz d26805fd02 ide-pmac: fix pmac_ide_init_hwif_ports()
* pmac_ide_init_hwif_ports() can be called by ide_init_hwif_ports()
  (through ppc_ide_md.ide_init_hwif hook) for non IDE PMAC interfaces.
  If this is the case the hw->io_ports[] should be already setup by
  ide_init_hwif_ports()->ide_std_init_ports() so remove redundant code
  from pmac_ide_init_hwif_ports().

  As side-effect this change fixes ctl_addr == 0 special handling in
  ide_init_hwif_ports().

* Fix misleading comment while at it.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-01-25 22:17:07 +01:00
..
arm ide/arm/icside: fallout from commit 86f3a492bb 2007-10-27 22:18:11 -07:00
cris ide-cris: don't override ide_register_hw() result 2007-11-27 21:35:55 +01:00
h8300 icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
legacy ali14xx: constify __initdata 2007-11-27 21:35:57 +01:00
mips [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
pci ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
ppc ide-pmac: fix pmac_ide_init_hwif_ports() 2008-01-25 22:17:07 +01:00
ide-acpi.c ide: add ide_no_data_taskfile() helper 2008-01-25 22:17:07 +01:00
ide-cd.c ide-cd: fix 'ireason' reporting in cdrom_pc_intr() 2007-12-24 15:23:44 +01:00
ide-cd.h ide-cd: fix SAMSUNG CD-ROM SCR-3231 quirk 2007-12-24 15:23:43 +01:00
ide-disk.c ide: use do_rw_taskfile() in flagged_taskfile() 2008-01-25 22:17:07 +01:00
ide-dma.c ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
ide-floppy.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
ide-generic.c ide: add ide_proc_register_port() 2007-05-10 00:01:11 +02:00
ide-io.c ide: use do_rw_taskfile() in flagged_taskfile() 2008-01-25 22:17:07 +01:00
ide-iops.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-lib.c ide: add struct ide_taskfile (take 2) 2008-01-25 22:17:06 +01:00
ide-pnp.c icside: use ec->dma directly 2007-10-20 00:32:32 +02:00
ide-probe.c Driver core: convert block from raw kobjects to core devices 2008-01-24 20:40:36 -08:00
ide-proc.c ide: add ide_device_add() 2007-10-20 00:32:31 +02:00
ide-tape.c IDE: Convert from class_device to device for ide-tape 2008-01-24 20:40:05 -08:00
ide-taskfile.c ide: use do_rw_taskfile() in flagged_taskfile() 2008-01-25 22:17:07 +01:00
ide-timing.h ide: remove ide_find_best_pio_mode() 2007-07-20 01:11:58 +02:00
ide.c ide: remove ->dma_master field from ide_hwif_t (take 5) 2008-01-25 22:17:05 +01:00
Kconfig ide: deprecate CONFIG_BLK_DEV_OFFBOARD 2007-12-12 23:31:57 +01:00
Makefile ide: add CONFIG_IDE_H8300 config option 2007-11-27 21:35:54 +01:00
setup-pci.c ide: coding style fixes for drivers/ide/setup-pci.c 2007-12-12 23:31:57 +01:00