[PATCH] IDE iops clean ups

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Sun May 11 2003 - 05:31:03 EST


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
+++ linux-m68k-2.5.x/drivers/ide/ide-iops.c Tue Mar 25 11:56:05 2003
@@ -155,7 +155,7 @@
 
 static void ide_outsl (unsigned long port, void *addr, u32 count)
 {
- return outsl(port, addr, count);
+ outsl(port, addr, count);
 }
 
 void default_hwif_iops (ide_hwif_t *hwif)
@@ -391,7 +391,7 @@
                 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)
                 hwif->INSW(IDE_DATA_REG, ((u8 *)buffer)+(bytecount & ~0x03), 1);
@@ -410,7 +410,7 @@
                 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

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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 the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 15 2003 - 22:00:36 EST