]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/ata/pata_at32.c
[libata] convert drivers to use ata.h mode mask defines
[mv-sheeva.git] / drivers / ata / pata_at32.c
index 82fb6e2731690f11194fd286810c807b14795c3b..5c129f99a7e36256c18772b074ac87eb95bfdcb5 100644 (file)
@@ -24,8 +24,8 @@
 #include <linux/err.h>
 #include <linux/io.h>
 
-#include <asm/arch/board.h>
-#include <asm/arch/smc.h>
+#include <mach/board.h>
+#include <mach/smc.h>
 
 #define DRV_NAME "pata_at32"
 #define DRV_VERSION "0.0.3"
@@ -67,7 +67,9 @@
  *
  * Alter PIO_MASK below according to table to set maximal PIO mode.
  */
-#define PIO_MASK (0x1f)
+enum {
+  PIO_MASK = ATA_PIO4,
+};
 
 /*
  * Struct containing private information about device.