IDE iops clean ups

IDE iops clean ups

Post by Geert Uytterhoeve » Mon, 12 May 2003 13:00:14



IDE I/O operations clean ups:
  - Kill warning about void return type not being ignored
  - Fix comment: Q40/Q60 also has a byte-swapped IDE interface

--- linux-2.5.x/drivers/ide/ide-iops.c  Tue Mar 25 10:32:34 2003

 static void ide_outsl (unsigned long port, void *addr, u32 count)
 {
-       return outsl(port, addr, count);
+       outsl(port, addr, count);
 }


                insw_swapw(IDE_DATA_REG, buffer, bytecount / 2);
                return;
        }
-#endif /* CONFIG_ATARI */
+#endif /* CONFIG_ATARI || CONFIG_Q40 */
        hwif->ata_input_data(drive, buffer, bytecount / 4);
        if ((bytecount & 0x03) >= 2)

                outsw_swapw(IDE_DATA_REG, buffer, bytecount / 2);
                return;
        }
-#endif /* CONFIG_ATARI */
+#endif /* CONFIG_ATARI || CONFIG_Q40 */
        hwif->ata_output_data(drive, buffer, bytecount / 4);
        if ((bytecount & 0x03) >= 2)
                hwif->OUTSW(IDE_DATA_REG, ((u8*)buffer)+(bytecount & ~0x03), 1);

Gr{oetje,eeting}s,

                                                Geert

--

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                                            -- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/