aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_svw.c
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2011-02-04 14:05:48 -0500
committerJeff Garzik <jgarzik@redhat.com>2011-03-02 02:36:46 -0500
commit9cbe056f6c467e7395d5aec39aceec47812eb98e (patch)
tree3ca13e73718fc14fc39f3d875dc3a1f724a255c4 /drivers/ata/sata_svw.c
parent3696df309971b3427cb9cb039138a1732a865a0b (diff)
libata: remove ATA_FLAG_NO_LEGACY
All checks of ATA_FLAG_NO_LEGACY have been removed by the commits c791c30670ea61f19eec390124128bf278e854fe ([libata] minor PCI IDE probe fixes and cleanups) and f0d36efdc624beb3d9e29b9ab9e9537bf0f25d5b (libata: update libata core layer to use devres), so I think it's time to finally get rid of this flag... Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/sata_svw.c')
-rw-r--r--drivers/ata/sata_svw.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/ata/sata_svw.c b/drivers/ata/sata_svw.c
index adc913a35189..35eabcf34568 100644
--- a/drivers/ata/sata_svw.c
+++ b/drivers/ata/sata_svw.c
@@ -359,8 +359,7 @@ static struct ata_port_operations k2_sata_ops = {
359static const struct ata_port_info k2_port_info[] = { 359static const struct ata_port_info k2_port_info[] = {
360 /* chip_svw4 */ 360 /* chip_svw4 */
361 { 361 {
362 .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | 362 .flags = ATA_FLAG_SATA | K2_FLAG_NO_ATAPI_DMA,
363 K2_FLAG_NO_ATAPI_DMA,
364 .pio_mask = ATA_PIO4, 363 .pio_mask = ATA_PIO4,
365 .mwdma_mask = ATA_MWDMA2, 364 .mwdma_mask = ATA_MWDMA2,
366 .udma_mask = ATA_UDMA6, 365 .udma_mask = ATA_UDMA6,
@@ -368,8 +367,8 @@ static const struct ata_port_info k2_port_info[] = {
368 }, 367 },
369 /* chip_svw8 */ 368 /* chip_svw8 */
370 { 369 {
371 .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | 370 .flags = ATA_FLAG_SATA | K2_FLAG_NO_ATAPI_DMA |
372 K2_FLAG_NO_ATAPI_DMA | K2_FLAG_SATA_8_PORTS, 371 K2_FLAG_SATA_8_PORTS,
373 .pio_mask = ATA_PIO4, 372 .pio_mask = ATA_PIO4,
374 .mwdma_mask = ATA_MWDMA2, 373 .mwdma_mask = ATA_MWDMA2,
375 .udma_mask = ATA_UDMA6, 374 .udma_mask = ATA_UDMA6,
@@ -377,8 +376,7 @@ static const struct ata_port_info k2_port_info[] = {
377 }, 376 },
378 /* chip_svw42 */ 377 /* chip_svw42 */
379 { 378 {
380 .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY | 379 .flags = ATA_FLAG_SATA | K2_FLAG_BAR_POS_3,
381 K2_FLAG_BAR_POS_3,
382 .pio_mask = ATA_PIO4, 380 .pio_mask = ATA_PIO4,
383 .mwdma_mask = ATA_MWDMA2, 381 .mwdma_mask = ATA_MWDMA2,
384 .udma_mask = ATA_UDMA6, 382 .udma_mask = ATA_UDMA6,
@@ -386,7 +384,7 @@ static const struct ata_port_info k2_port_info[] = {
386 }, 384 },
387 /* chip_svw43 */ 385 /* chip_svw43 */
388 { 386 {
389 .flags = ATA_FLAG_SATA | ATA_FLAG_NO_LEGACY, 387 .flags = ATA_FLAG_SATA,
390 .pio_mask = ATA_PIO4, 388 .pio_mask = ATA_PIO4,
391 .mwdma_mask = ATA_MWDMA2, 389 .mwdma_mask = ATA_MWDMA2,
392 .udma_mask = ATA_UDMA6, 390 .udma_mask = ATA_UDMA6,