aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_via.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_via.c')
-rw-r--r--drivers/ata/pata_via.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/ata/pata_via.c b/drivers/ata/pata_via.c
index ee93dd0169be..a9077b617b8d 100644
--- a/drivers/ata/pata_via.c
+++ b/drivers/ata/pata_via.c
@@ -418,7 +418,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
418 /* Early VIA without UDMA support */ 418 /* Early VIA without UDMA support */
419 static struct ata_port_info via_mwdma_info = { 419 static struct ata_port_info via_mwdma_info = {
420 .sht = &via_sht, 420 .sht = &via_sht,
421 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, 421 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
422 .pio_mask = 0x1f, 422 .pio_mask = 0x1f,
423 .mwdma_mask = 0x07, 423 .mwdma_mask = 0x07,
424 .port_ops = &via_port_ops 424 .port_ops = &via_port_ops
@@ -426,7 +426,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
426 /* Ditto with IRQ masking required */ 426 /* Ditto with IRQ masking required */
427 static struct ata_port_info via_mwdma_info_borked = { 427 static struct ata_port_info via_mwdma_info_borked = {
428 .sht = &via_sht, 428 .sht = &via_sht,
429 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, 429 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
430 .pio_mask = 0x1f, 430 .pio_mask = 0x1f,
431 .mwdma_mask = 0x07, 431 .mwdma_mask = 0x07,
432 .port_ops = &via_port_ops_noirq, 432 .port_ops = &via_port_ops_noirq,
@@ -434,7 +434,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
434 /* VIA UDMA 33 devices (and borked 66) */ 434 /* VIA UDMA 33 devices (and borked 66) */
435 static struct ata_port_info via_udma33_info = { 435 static struct ata_port_info via_udma33_info = {
436 .sht = &via_sht, 436 .sht = &via_sht,
437 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, 437 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
438 .pio_mask = 0x1f, 438 .pio_mask = 0x1f,
439 .mwdma_mask = 0x07, 439 .mwdma_mask = 0x07,
440 .udma_mask = 0x7, 440 .udma_mask = 0x7,
@@ -443,7 +443,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
443 /* VIA UDMA 66 devices */ 443 /* VIA UDMA 66 devices */
444 static struct ata_port_info via_udma66_info = { 444 static struct ata_port_info via_udma66_info = {
445 .sht = &via_sht, 445 .sht = &via_sht,
446 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, 446 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
447 .pio_mask = 0x1f, 447 .pio_mask = 0x1f,
448 .mwdma_mask = 0x07, 448 .mwdma_mask = 0x07,
449 .udma_mask = 0x1f, 449 .udma_mask = 0x1f,
@@ -452,7 +452,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
452 /* VIA UDMA 100 devices */ 452 /* VIA UDMA 100 devices */
453 static struct ata_port_info via_udma100_info = { 453 static struct ata_port_info via_udma100_info = {
454 .sht = &via_sht, 454 .sht = &via_sht,
455 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, 455 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
456 .pio_mask = 0x1f, 456 .pio_mask = 0x1f,
457 .mwdma_mask = 0x07, 457 .mwdma_mask = 0x07,
458 .udma_mask = 0x3f, 458 .udma_mask = 0x3f,
@@ -461,7 +461,7 @@ static int via_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
461 /* UDMA133 with bad AST (All current 133) */ 461 /* UDMA133 with bad AST (All current 133) */
462 static struct ata_port_info via_udma133_info = { 462 static struct ata_port_info via_udma133_info = {
463 .sht = &via_sht, 463 .sht = &via_sht,
464 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, 464 .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SETXFER_POLLING,
465 .pio_mask = 0x1f, 465 .pio_mask = 0x1f,
466 .mwdma_mask = 0x07, 466 .mwdma_mask = 0x07,
467 .udma_mask = 0x7f, /* FIXME: should check north bridge */ 467 .udma_mask = 0x7f, /* FIXME: should check north bridge */