[PATCH] Snoop SET FEATURES - WRITE CACHE ENABLE/DISABLE command(v5)
[powerpc.git] / include / linux / ata.h
index c494e1c..3671af8 100644 (file)
@@ -181,6 +181,9 @@ enum {
        XFER_PIO_0              = 0x08,
        XFER_PIO_SLOW           = 0x00,
 
+       SETFEATURES_WC_ON       = 0x02, /* Enable write cache */
+       SETFEATURES_WC_OFF      = 0x82, /* Disable write cache */
+
        /* ATAPI stuff */
        ATAPI_PKT_DMA           = (1 << 0),
        ATAPI_DMADIR            = (1 << 2),     /* ATAPI data dir: