]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
libata: remove ATA_FLAG_{SRST|SATA_RESET}
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 4 Feb 2011 19:03:34 +0000 (22:03 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 2 Mar 2011 07:36:46 +0000 (02:36 -0500)
These flags are marked as obsolete and the checks for them have been removed
by commit 294440887b32c58d220fb54b73b7a58079b78f20 (libata-sff: kill unused
ata_bus_reset()), so I think it's time to finally get rid of them...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_acpi.c
drivers/ata/pata_sis.c
drivers/ata/sata_sx4.c
drivers/scsi/ipr.c
drivers/scsi/libsas/sas_ata.c
include/linux/libata.h

index c8d47034d5e99d679155f4be31b72d9c441d2e87..91949d997555bcab74b4d197859f70dc9d6909b0 100644 (file)
@@ -245,7 +245,7 @@ static struct ata_port_operations pacpi_ops = {
 static int pacpi_init_one (struct pci_dev *pdev, const struct pci_device_id *id)
 {
        static const struct ata_port_info info = {
-               .flags          = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST,
+               .flags          = ATA_FLAG_SLAVE_POSS,
 
                .pio_mask       = ATA_PIO4,
                .mwdma_mask     = ATA_MWDMA2,
index 60cea13cccce9485b01ff73f6ff40a76821c23be..c04abc393fc5276461fe39b50fd4f2766343f687 100644 (file)
@@ -593,7 +593,7 @@ static const struct ata_port_info sis_info133 = {
        .port_ops       = &sis_133_ops,
 };
 const struct ata_port_info sis_info133_for_sata = {
-       .flags          = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST,
+       .flags          = ATA_FLAG_SLAVE_POSS,
        .pio_mask       = ATA_PIO4,
        /* No MWDMA */
        .udma_mask      = ATA_UDMA6,
index bedd5188e5b0d646c34da9e5ce20d6130a1c2381..76384d077b2d1563ebecc1627995c85763772e95 100644 (file)
@@ -274,8 +274,8 @@ static const struct ata_port_info pdc_port_info[] = {
        /* board_20621 */
        {
                .flags          = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY |
-                                 ATA_FLAG_SRST | ATA_FLAG_MMIO |
-                                 ATA_FLAG_NO_ATAPI | ATA_FLAG_PIO_POLLING,
+                                 ATA_FLAG_MMIO | ATA_FLAG_NO_ATAPI |
+                                 ATA_FLAG_PIO_POLLING,
                .pio_mask       = ATA_PIO4,
                .mwdma_mask     = ATA_MWDMA2,
                .udma_mask      = ATA_UDMA6,
index 081d14a326fede0cb75d7de5f660381d7ef00f32..6443ce7c41aef90f357c7bf27678ee0e48fe2734 100644 (file)
@@ -6219,8 +6219,8 @@ static struct ata_port_operations ipr_sata_ops = {
 };
 
 static struct ata_port_info sata_port_info = {
-       .flags  = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET |
-       ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA,
+       .flags          = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO |
+                         ATA_FLAG_PIO_DMA,
        .pio_mask       = ATA_PIO4_ONLY,
        .mwdma_mask     = ATA_MWDMA2,
        .udma_mask      = ATA_UDMA6,
index fc6bdc51a047790f87277386aa6d8d4cfe0799c1..996dbda4714130cd59454323385a37979442f150 100644 (file)
@@ -372,8 +372,8 @@ static struct ata_port_operations sas_sata_ops = {
 };
 
 static struct ata_port_info sata_port_info = {
-       .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET |
-               ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ATA_FLAG_NCQ,
+       .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO |
+                ATA_FLAG_PIO_DMA | ATA_FLAG_NCQ,
        .pio_mask = ATA_PIO4,
        .mwdma_mask = ATA_MWDMA2,
        .udma_mask = ATA_UDMA6,
index 9739317c707a9524549b747c1cc242f51c197326..51ec439f75ada53af7728030874eb9801013e6a3 100644 (file)
@@ -181,8 +181,6 @@ enum {
        ATA_FLAG_SATA           = (1 << 1),
        ATA_FLAG_NO_LEGACY      = (1 << 2), /* no legacy mode check */
        ATA_FLAG_MMIO           = (1 << 3), /* use MMIO, not PIO */
-       ATA_FLAG_SRST           = (1 << 4), /* (obsolete) use ATA SRST, not E.D.D. */
-       ATA_FLAG_SATA_RESET     = (1 << 5), /* (obsolete) use COMRESET */
        ATA_FLAG_NO_ATAPI       = (1 << 6), /* No ATAPI support */
        ATA_FLAG_PIO_DMA        = (1 << 7), /* PIO cmds via DMA */
        ATA_FLAG_PIO_LBA48      = (1 << 8), /* Host DMA engine is LBA28 only */