linux/drivers/ide
Bartlomiej Zolnierkiewicz 7e59ea21aa ide: check drive->present in ide_get_paired_drive()
* Change ide_get_paired_drive() to return NULL if peer device
  is not present and update all users accordingly.

While at it:

* ide_get_paired_drive() -> ide_get_pair_dev()

* Use ide_get_pair_dev() in cs5530.c, sc1200.c and via82cxxx.c.

There should be no functional changes caused by this patch.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-10-10 22:39:26 +02:00
..
arm ide: check drive->present in ide_get_paired_drive() 2008-10-10 22:39:26 +02:00
h8300
legacy ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
mips IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
pci ide: check drive->present in ide_get_paired_drive() 2008-10-10 22:39:26 +02:00
ppc ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-acpi.c ide: make drive->id an union (take 2) 2008-10-10 22:39:19 +02:00
ide-atapi.c ide: use ATA_* defines instead of *_STAT and *_ERR ones 2008-10-10 22:39:21 +02:00
ide-cd_ioctl.c
ide-cd_verbose.c
ide-cd.c ide: remove needless drive->present checks from device drivers 2008-10-10 22:39:24 +02:00
ide-cd.h
ide-disk.c ide: remove needless drive->present checks from device drivers 2008-10-10 22:39:24 +02:00
ide-dma.c ide: use ATA_* defines instead of *_STAT and *_ERR ones 2008-10-10 22:39:21 +02:00
ide-floppy.c ide: remove needless drive->present checks from device drivers 2008-10-10 22:39:24 +02:00
ide-generic.c
ide-io.c ide: remove no longer needed ide_drive_t fields 2008-10-10 22:39:22 +02:00
ide-iops.c ide: enhance ide_busy_sleep() 2008-10-10 22:39:23 +02:00
ide-lib.c ide: use ATA_* defines instead of *_STAT and *_ERR ones 2008-10-10 22:39:21 +02:00
ide-pio-blacklist.c
ide-pnp.c
ide-probe.c ide: remove IDE_CHIPSET_* macros 2008-10-10 22:39:24 +02:00
ide-proc.c ide: WIN_* -> ATA_CMD_* 2008-10-10 22:39:21 +02:00
ide-scan-pci.c
ide-tape.c ide: remove needless drive->present checks from device drivers 2008-10-10 22:39:24 +02:00
ide-taskfile.c ide: use ATA_* defines instead of *_STAT and *_ERR ones 2008-10-10 22:39:21 +02:00
ide-timings.c ide: remove drive->driveid 2008-10-10 22:39:19 +02:00
ide.c ide: remove unused _IDE_C and _IDE_DISK defines 2008-10-10 22:39:24 +02:00
Kconfig IDE: Fix platform device registration in Swarm IDE driver (v2) 2008-10-05 18:23:28 +02:00
Makefile
setup-pci.c