diff options
-rw-r--r-- | drivers/ata/pata_acpi.c | 2 | ||||
-rw-r--r-- | drivers/ata/pata_sis.c | 2 | ||||
-rw-r--r-- | drivers/ata/sata_sx4.c | 4 | ||||
-rw-r--r-- | drivers/scsi/ipr.c | 4 | ||||
-rw-r--r-- | drivers/scsi/libsas/sas_ata.c | 4 | ||||
-rw-r--r-- | include/linux/libata.h | 2 |
6 files changed, 8 insertions, 10 deletions
diff --git a/drivers/ata/pata_acpi.c b/drivers/ata/pata_acpi.c index c8d47034d5e9..91949d997555 100644 --- a/drivers/ata/pata_acpi.c +++ b/drivers/ata/pata_acpi.c | |||
@@ -245,7 +245,7 @@ static struct ata_port_operations pacpi_ops = { | |||
245 | static int pacpi_init_one (struct pci_dev *pdev, const struct pci_device_id *id) | 245 | static int pacpi_init_one (struct pci_dev *pdev, const struct pci_device_id *id) |
246 | { | 246 | { |
247 | static const struct ata_port_info info = { | 247 | static const struct ata_port_info info = { |
248 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 248 | .flags = ATA_FLAG_SLAVE_POSS, |
249 | 249 | ||
250 | .pio_mask = ATA_PIO4, | 250 | .pio_mask = ATA_PIO4, |
251 | .mwdma_mask = ATA_MWDMA2, | 251 | .mwdma_mask = ATA_MWDMA2, |
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index 60cea13cccce..c04abc393fc5 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -593,7 +593,7 @@ static const struct ata_port_info sis_info133 = { | |||
593 | .port_ops = &sis_133_ops, | 593 | .port_ops = &sis_133_ops, |
594 | }; | 594 | }; |
595 | const struct ata_port_info sis_info133_for_sata = { | 595 | const struct ata_port_info sis_info133_for_sata = { |
596 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 596 | .flags = ATA_FLAG_SLAVE_POSS, |
597 | .pio_mask = ATA_PIO4, | 597 | .pio_mask = ATA_PIO4, |
598 | /* No MWDMA */ | 598 | /* No MWDMA */ |
599 | .udma_mask = ATA_UDMA6, | 599 | .udma_mask = ATA_UDMA6, |
diff --git a/drivers/ata/sata_sx4.c b/drivers/ata/sata_sx4.c index bedd5188e5b0..76384d077b2d 100644 --- a/drivers/ata/sata_sx4.c +++ b/drivers/ata/sata_sx4.c | |||
@@ -274,8 +274,8 @@ static const struct ata_port_info pdc_port_info[] = { | |||
274 | /* board_20621 */ | 274 | /* board_20621 */ |
275 | { | 275 | { |
276 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | | 276 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | |
277 | ATA_FLAG_SRST | ATA_FLAG_MMIO | | 277 | ATA_FLAG_MMIO | ATA_FLAG_NO_ATAPI | |
278 | ATA_FLAG_NO_ATAPI | ATA_FLAG_PIO_POLLING, | 278 | ATA_FLAG_PIO_POLLING, |
279 | .pio_mask = ATA_PIO4, | 279 | .pio_mask = ATA_PIO4, |
280 | .mwdma_mask = ATA_MWDMA2, | 280 | .mwdma_mask = ATA_MWDMA2, |
281 | .udma_mask = ATA_UDMA6, | 281 | .udma_mask = ATA_UDMA6, |
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 081d14a326fe..6443ce7c41ae 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -6219,8 +6219,8 @@ static struct ata_port_operations ipr_sata_ops = { | |||
6219 | }; | 6219 | }; |
6220 | 6220 | ||
6221 | static struct ata_port_info sata_port_info = { | 6221 | static struct ata_port_info sata_port_info = { |
6222 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET | | 6222 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO | |
6223 | ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA, | 6223 | ATA_FLAG_PIO_DMA, |
6224 | .pio_mask = ATA_PIO4_ONLY, | 6224 | .pio_mask = ATA_PIO4_ONLY, |
6225 | .mwdma_mask = ATA_MWDMA2, | 6225 | .mwdma_mask = ATA_MWDMA2, |
6226 | .udma_mask = ATA_UDMA6, | 6226 | .udma_mask = ATA_UDMA6, |
diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c index fc6bdc51a047..996dbda47141 100644 --- a/drivers/scsi/libsas/sas_ata.c +++ b/drivers/scsi/libsas/sas_ata.c | |||
@@ -372,8 +372,8 @@ static struct ata_port_operations sas_sata_ops = { | |||
372 | }; | 372 | }; |
373 | 373 | ||
374 | static struct ata_port_info sata_port_info = { | 374 | static struct ata_port_info sata_port_info = { |
375 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_SATA_RESET | | 375 | .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | ATA_FLAG_MMIO | |
376 | ATA_FLAG_MMIO | ATA_FLAG_PIO_DMA | ATA_FLAG_NCQ, | 376 | ATA_FLAG_PIO_DMA | ATA_FLAG_NCQ, |
377 | .pio_mask = ATA_PIO4, | 377 | .pio_mask = ATA_PIO4, |
378 | .mwdma_mask = ATA_MWDMA2, | 378 | .mwdma_mask = ATA_MWDMA2, |
379 | .udma_mask = ATA_UDMA6, | 379 | .udma_mask = ATA_UDMA6, |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 9739317c707a..51ec439f75ad 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -181,8 +181,6 @@ enum { | |||
181 | ATA_FLAG_SATA = (1 << 1), | 181 | ATA_FLAG_SATA = (1 << 1), |
182 | ATA_FLAG_NO_LEGACY = (1 << 2), /* no legacy mode check */ | 182 | ATA_FLAG_NO_LEGACY = (1 << 2), /* no legacy mode check */ |
183 | ATA_FLAG_MMIO = (1 << 3), /* use MMIO, not PIO */ | 183 | ATA_FLAG_MMIO = (1 << 3), /* use MMIO, not PIO */ |
184 | ATA_FLAG_SRST = (1 << 4), /* (obsolete) use ATA SRST, not E.D.D. */ | ||
185 | ATA_FLAG_SATA_RESET = (1 << 5), /* (obsolete) use COMRESET */ | ||
186 | ATA_FLAG_NO_ATAPI = (1 << 6), /* No ATAPI support */ | 184 | ATA_FLAG_NO_ATAPI = (1 << 6), /* No ATAPI support */ |
187 | ATA_FLAG_PIO_DMA = (1 << 7), /* PIO cmds via DMA */ | 185 | ATA_FLAG_PIO_DMA = (1 << 7), /* PIO cmds via DMA */ |
188 | ATA_FLAG_PIO_LBA48 = (1 << 8), /* Host DMA engine is LBA28 only */ | 186 | ATA_FLAG_PIO_LBA48 = (1 << 8), /* Host DMA engine is LBA28 only */ |