aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-iops.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-24 18:22:42 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-24 18:22:42 -0400
commit2b9ae4608ffbdb57c1d5fe9db440810a995a91fa (patch)
tree93d4b117b30d733933267945c9bb8379558fc529 /drivers/ide/ide-iops.c
parentb0b391430bea405ced6038e4cf4d8cf831511935 (diff)
ide: remove stale comments from drive_is_ready()
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r--drivers/ide/ide-iops.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c
index 02fed32a4047..cd1f2e464c4b 100644
--- a/drivers/ide/ide-iops.c
+++ b/drivers/ide/ide-iops.c
@@ -438,9 +438,6 @@ void ide_fixstring (u8 *s, const int bytecount, const int byteswap)
438 438
439EXPORT_SYMBOL(ide_fixstring); 439EXPORT_SYMBOL(ide_fixstring);
440 440
441/*
442 * Needed for PCI irq sharing
443 */
444int drive_is_ready (ide_drive_t *drive) 441int drive_is_ready (ide_drive_t *drive)
445{ 442{
446 ide_hwif_t *hwif = drive->hwif; 443 ide_hwif_t *hwif = drive->hwif;
@@ -449,12 +446,6 @@ int drive_is_ready (ide_drive_t *drive)
449 if (drive->waiting_for_dma) 446 if (drive->waiting_for_dma)
450 return hwif->dma_ops->dma_test_irq(drive); 447 return hwif->dma_ops->dma_test_irq(drive);
451 448
452 /*
453 * We do a passive status test under shared PCI interrupts on
454 * cards that truly share the ATA side interrupt, but may also share
455 * an interrupt with another pci card/device. We make no assumptions
456 * about possible isa-pnp and pci-pnp issues yet.
457 */
458 if (hwif->io_ports.ctl_addr && 449 if (hwif->io_ports.ctl_addr &&
459 (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0) 450 (hwif->host_flags & IDE_HFLAG_BROKEN_ALTSTATUS) == 0)
460 stat = hwif->tp_ops->read_altstatus(hwif); 451 stat = hwif->tp_ops->read_altstatus(hwif);