diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-05-28 06:59:48 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-07-09 12:17:32 -0400 |
commit | 1d2808fd3d2d5d2c0483796a0f443d1cb3f11367 (patch) | |
tree | dd7ee6c539cf5c2a31344d526e248d3a9f379d31 | |
parent | 5bcd7a00a464fd81b4b68847b9b811a635a15b61 (diff) |
[libata] PATA drivers: remove ATA_FLAG_SRST
This flag only has meaning in old-EH drivers, and these drivers have
already been converted to the new EH. Remove.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
34 files changed, 78 insertions, 78 deletions
diff --git a/drivers/ata/ata_generic.c b/drivers/ata/ata_generic.c index 4c6e95c95e4a..0878fb5b3254 100644 --- a/drivers/ata/ata_generic.c +++ b/drivers/ata/ata_generic.c | |||
@@ -143,7 +143,7 @@ static int ata_generic_init_one(struct pci_dev *dev, const struct pci_device_id | |||
143 | u16 command; | 143 | u16 command; |
144 | static const struct ata_port_info info = { | 144 | static const struct ata_port_info info = { |
145 | .sht = &generic_sht, | 145 | .sht = &generic_sht, |
146 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 146 | .flags = ATA_FLAG_SLAVE_POSS, |
147 | .pio_mask = 0x1f, | 147 | .pio_mask = 0x1f, |
148 | .mwdma_mask = 0x07, | 148 | .mwdma_mask = 0x07, |
149 | .udma_mask = 0x3f, | 149 | .udma_mask = 0x3f, |
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c index 75e95bdbe02f..5c53d5aa13a8 100644 --- a/drivers/ata/pata_ali.c +++ b/drivers/ata/pata_ali.c | |||
@@ -520,14 +520,14 @@ static int ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
520 | { | 520 | { |
521 | static const struct ata_port_info info_early = { | 521 | static const struct ata_port_info info_early = { |
522 | .sht = &ali_sht, | 522 | .sht = &ali_sht, |
523 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 523 | .flags = ATA_FLAG_SLAVE_POSS, |
524 | .pio_mask = 0x1f, | 524 | .pio_mask = 0x1f, |
525 | .port_ops = &ali_early_port_ops | 525 | .port_ops = &ali_early_port_ops |
526 | }; | 526 | }; |
527 | /* Revision 0x20 added DMA */ | 527 | /* Revision 0x20 added DMA */ |
528 | static const struct ata_port_info info_20 = { | 528 | static const struct ata_port_info info_20 = { |
529 | .sht = &ali_sht, | 529 | .sht = &ali_sht, |
530 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48, | 530 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_PIO_LBA48, |
531 | .pio_mask = 0x1f, | 531 | .pio_mask = 0x1f, |
532 | .mwdma_mask = 0x07, | 532 | .mwdma_mask = 0x07, |
533 | .port_ops = &ali_20_port_ops | 533 | .port_ops = &ali_20_port_ops |
@@ -535,7 +535,7 @@ static int ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
535 | /* Revision 0x20 with support logic added UDMA */ | 535 | /* Revision 0x20 with support logic added UDMA */ |
536 | static const struct ata_port_info info_20_udma = { | 536 | static const struct ata_port_info info_20_udma = { |
537 | .sht = &ali_sht, | 537 | .sht = &ali_sht, |
538 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48, | 538 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_PIO_LBA48, |
539 | .pio_mask = 0x1f, | 539 | .pio_mask = 0x1f, |
540 | .mwdma_mask = 0x07, | 540 | .mwdma_mask = 0x07, |
541 | .udma_mask = 0x07, /* UDMA33 */ | 541 | .udma_mask = 0x07, /* UDMA33 */ |
@@ -544,7 +544,7 @@ static int ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
544 | /* Revision 0xC2 adds UDMA66 */ | 544 | /* Revision 0xC2 adds UDMA66 */ |
545 | static const struct ata_port_info info_c2 = { | 545 | static const struct ata_port_info info_c2 = { |
546 | .sht = &ali_sht, | 546 | .sht = &ali_sht, |
547 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48, | 547 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_PIO_LBA48, |
548 | .pio_mask = 0x1f, | 548 | .pio_mask = 0x1f, |
549 | .mwdma_mask = 0x07, | 549 | .mwdma_mask = 0x07, |
550 | .udma_mask = 0x1f, | 550 | .udma_mask = 0x1f, |
@@ -553,7 +553,7 @@ static int ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
553 | /* Revision 0xC3 is UDMA66 for now */ | 553 | /* Revision 0xC3 is UDMA66 for now */ |
554 | static const struct ata_port_info info_c3 = { | 554 | static const struct ata_port_info info_c3 = { |
555 | .sht = &ali_sht, | 555 | .sht = &ali_sht, |
556 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48, | 556 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_PIO_LBA48, |
557 | .pio_mask = 0x1f, | 557 | .pio_mask = 0x1f, |
558 | .mwdma_mask = 0x07, | 558 | .mwdma_mask = 0x07, |
559 | .udma_mask = 0x1f, | 559 | .udma_mask = 0x1f, |
@@ -562,7 +562,7 @@ static int ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
562 | /* Revision 0xC4 is UDMA100 */ | 562 | /* Revision 0xC4 is UDMA100 */ |
563 | static const struct ata_port_info info_c4 = { | 563 | static const struct ata_port_info info_c4 = { |
564 | .sht = &ali_sht, | 564 | .sht = &ali_sht, |
565 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST | ATA_FLAG_PIO_LBA48, | 565 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_PIO_LBA48, |
566 | .pio_mask = 0x1f, | 566 | .pio_mask = 0x1f, |
567 | .mwdma_mask = 0x07, | 567 | .mwdma_mask = 0x07, |
568 | .udma_mask = 0x3f, | 568 | .udma_mask = 0x3f, |
@@ -571,7 +571,7 @@ static int ali_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
571 | /* Revision 0xC5 is UDMA133 with LBA48 DMA */ | 571 | /* Revision 0xC5 is UDMA133 with LBA48 DMA */ |
572 | static const struct ata_port_info info_c5 = { | 572 | static const struct ata_port_info info_c5 = { |
573 | .sht = &ali_sht, | 573 | .sht = &ali_sht, |
574 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 574 | .flags = ATA_FLAG_SLAVE_POSS, |
575 | .pio_mask = 0x1f, | 575 | .pio_mask = 0x1f, |
576 | .mwdma_mask = 0x07, | 576 | .mwdma_mask = 0x07, |
577 | .udma_mask = 0x7f, | 577 | .udma_mask = 0x7f, |
diff --git a/drivers/ata/pata_amd.c b/drivers/ata/pata_amd.c index a16f629b7b38..533bcc9d1542 100644 --- a/drivers/ata/pata_amd.c +++ b/drivers/ata/pata_amd.c | |||
@@ -541,7 +541,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
541 | static const struct ata_port_info info[10] = { | 541 | static const struct ata_port_info info[10] = { |
542 | { /* 0: AMD 7401 */ | 542 | { /* 0: AMD 7401 */ |
543 | .sht = &amd_sht, | 543 | .sht = &amd_sht, |
544 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 544 | .flags = ATA_FLAG_SLAVE_POSS, |
545 | .pio_mask = 0x1f, | 545 | .pio_mask = 0x1f, |
546 | .mwdma_mask = 0x07, /* No SWDMA */ | 546 | .mwdma_mask = 0x07, /* No SWDMA */ |
547 | .udma_mask = 0x07, /* UDMA 33 */ | 547 | .udma_mask = 0x07, /* UDMA 33 */ |
@@ -549,7 +549,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
549 | }, | 549 | }, |
550 | { /* 1: Early AMD7409 - no swdma */ | 550 | { /* 1: Early AMD7409 - no swdma */ |
551 | .sht = &amd_sht, | 551 | .sht = &amd_sht, |
552 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 552 | .flags = ATA_FLAG_SLAVE_POSS, |
553 | .pio_mask = 0x1f, | 553 | .pio_mask = 0x1f, |
554 | .mwdma_mask = 0x07, | 554 | .mwdma_mask = 0x07, |
555 | .udma_mask = 0x1f, /* UDMA 66 */ | 555 | .udma_mask = 0x1f, /* UDMA 66 */ |
@@ -557,7 +557,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
557 | }, | 557 | }, |
558 | { /* 2: AMD 7409, no swdma errata */ | 558 | { /* 2: AMD 7409, no swdma errata */ |
559 | .sht = &amd_sht, | 559 | .sht = &amd_sht, |
560 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 560 | .flags = ATA_FLAG_SLAVE_POSS, |
561 | .pio_mask = 0x1f, | 561 | .pio_mask = 0x1f, |
562 | .mwdma_mask = 0x07, | 562 | .mwdma_mask = 0x07, |
563 | .udma_mask = 0x1f, /* UDMA 66 */ | 563 | .udma_mask = 0x1f, /* UDMA 66 */ |
@@ -565,7 +565,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
565 | }, | 565 | }, |
566 | { /* 3: AMD 7411 */ | 566 | { /* 3: AMD 7411 */ |
567 | .sht = &amd_sht, | 567 | .sht = &amd_sht, |
568 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 568 | .flags = ATA_FLAG_SLAVE_POSS, |
569 | .pio_mask = 0x1f, | 569 | .pio_mask = 0x1f, |
570 | .mwdma_mask = 0x07, | 570 | .mwdma_mask = 0x07, |
571 | .udma_mask = 0x3f, /* UDMA 100 */ | 571 | .udma_mask = 0x3f, /* UDMA 100 */ |
@@ -573,7 +573,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
573 | }, | 573 | }, |
574 | { /* 4: AMD 7441 */ | 574 | { /* 4: AMD 7441 */ |
575 | .sht = &amd_sht, | 575 | .sht = &amd_sht, |
576 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 576 | .flags = ATA_FLAG_SLAVE_POSS, |
577 | .pio_mask = 0x1f, | 577 | .pio_mask = 0x1f, |
578 | .mwdma_mask = 0x07, | 578 | .mwdma_mask = 0x07, |
579 | .udma_mask = 0x3f, /* UDMA 100 */ | 579 | .udma_mask = 0x3f, /* UDMA 100 */ |
@@ -581,7 +581,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
581 | }, | 581 | }, |
582 | { /* 5: AMD 8111*/ | 582 | { /* 5: AMD 8111*/ |
583 | .sht = &amd_sht, | 583 | .sht = &amd_sht, |
584 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 584 | .flags = ATA_FLAG_SLAVE_POSS, |
585 | .pio_mask = 0x1f, | 585 | .pio_mask = 0x1f, |
586 | .mwdma_mask = 0x07, | 586 | .mwdma_mask = 0x07, |
587 | .udma_mask = 0x7f, /* UDMA 133, no swdma */ | 587 | .udma_mask = 0x7f, /* UDMA 133, no swdma */ |
@@ -589,7 +589,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
589 | }, | 589 | }, |
590 | { /* 6: AMD 8111 UDMA 100 (Serenade) */ | 590 | { /* 6: AMD 8111 UDMA 100 (Serenade) */ |
591 | .sht = &amd_sht, | 591 | .sht = &amd_sht, |
592 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 592 | .flags = ATA_FLAG_SLAVE_POSS, |
593 | .pio_mask = 0x1f, | 593 | .pio_mask = 0x1f, |
594 | .mwdma_mask = 0x07, | 594 | .mwdma_mask = 0x07, |
595 | .udma_mask = 0x3f, /* UDMA 100, no swdma */ | 595 | .udma_mask = 0x3f, /* UDMA 100, no swdma */ |
@@ -597,7 +597,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
597 | }, | 597 | }, |
598 | { /* 7: Nvidia Nforce */ | 598 | { /* 7: Nvidia Nforce */ |
599 | .sht = &amd_sht, | 599 | .sht = &amd_sht, |
600 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 600 | .flags = ATA_FLAG_SLAVE_POSS, |
601 | .pio_mask = 0x1f, | 601 | .pio_mask = 0x1f, |
602 | .mwdma_mask = 0x07, | 602 | .mwdma_mask = 0x07, |
603 | .udma_mask = 0x3f, /* UDMA 100 */ | 603 | .udma_mask = 0x3f, /* UDMA 100 */ |
@@ -605,7 +605,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
605 | }, | 605 | }, |
606 | { /* 8: Nvidia Nforce2 and later */ | 606 | { /* 8: Nvidia Nforce2 and later */ |
607 | .sht = &amd_sht, | 607 | .sht = &amd_sht, |
608 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 608 | .flags = ATA_FLAG_SLAVE_POSS, |
609 | .pio_mask = 0x1f, | 609 | .pio_mask = 0x1f, |
610 | .mwdma_mask = 0x07, | 610 | .mwdma_mask = 0x07, |
611 | .udma_mask = 0x7f, /* UDMA 133, no swdma */ | 611 | .udma_mask = 0x7f, /* UDMA 133, no swdma */ |
@@ -613,7 +613,7 @@ static int amd_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
613 | }, | 613 | }, |
614 | { /* 9: AMD CS5536 (Geode companion) */ | 614 | { /* 9: AMD CS5536 (Geode companion) */ |
615 | .sht = &amd_sht, | 615 | .sht = &amd_sht, |
616 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 616 | .flags = ATA_FLAG_SLAVE_POSS, |
617 | .pio_mask = 0x1f, | 617 | .pio_mask = 0x1f, |
618 | .mwdma_mask = 0x07, | 618 | .mwdma_mask = 0x07, |
619 | .udma_mask = 0x3f, /* UDMA 100 */ | 619 | .udma_mask = 0x3f, /* UDMA 100 */ |
diff --git a/drivers/ata/pata_artop.c b/drivers/ata/pata_artop.c index 03b6ddd2abd2..ce589d96ca42 100644 --- a/drivers/ata/pata_artop.c +++ b/drivers/ata/pata_artop.c | |||
@@ -416,7 +416,7 @@ static int artop_init_one (struct pci_dev *pdev, const struct pci_device_id *id) | |||
416 | static int printed_version; | 416 | static int printed_version; |
417 | static const struct ata_port_info info_6210 = { | 417 | static const struct ata_port_info info_6210 = { |
418 | .sht = &artop_sht, | 418 | .sht = &artop_sht, |
419 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 419 | .flags = ATA_FLAG_SLAVE_POSS, |
420 | .pio_mask = 0x1f, /* pio0-4 */ | 420 | .pio_mask = 0x1f, /* pio0-4 */ |
421 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 421 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
422 | .udma_mask = ATA_UDMA2, | 422 | .udma_mask = ATA_UDMA2, |
@@ -424,7 +424,7 @@ static int artop_init_one (struct pci_dev *pdev, const struct pci_device_id *id) | |||
424 | }; | 424 | }; |
425 | static const struct ata_port_info info_626x = { | 425 | static const struct ata_port_info info_626x = { |
426 | .sht = &artop_sht, | 426 | .sht = &artop_sht, |
427 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 427 | .flags = ATA_FLAG_SLAVE_POSS, |
428 | .pio_mask = 0x1f, /* pio0-4 */ | 428 | .pio_mask = 0x1f, /* pio0-4 */ |
429 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 429 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
430 | .udma_mask = ATA_UDMA4, | 430 | .udma_mask = ATA_UDMA4, |
@@ -432,7 +432,7 @@ static int artop_init_one (struct pci_dev *pdev, const struct pci_device_id *id) | |||
432 | }; | 432 | }; |
433 | static const struct ata_port_info info_626x_fast = { | 433 | static const struct ata_port_info info_626x_fast = { |
434 | .sht = &artop_sht, | 434 | .sht = &artop_sht, |
435 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 435 | .flags = ATA_FLAG_SLAVE_POSS, |
436 | .pio_mask = 0x1f, /* pio0-4 */ | 436 | .pio_mask = 0x1f, /* pio0-4 */ |
437 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 437 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
438 | .udma_mask = ATA_UDMA5, | 438 | .udma_mask = ATA_UDMA5, |
diff --git a/drivers/ata/pata_atiixp.c b/drivers/ata/pata_atiixp.c index eceea6c64504..80509be49e7a 100644 --- a/drivers/ata/pata_atiixp.c +++ b/drivers/ata/pata_atiixp.c | |||
@@ -270,7 +270,7 @@ static int atiixp_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
270 | { | 270 | { |
271 | static const struct ata_port_info info = { | 271 | static const struct ata_port_info info = { |
272 | .sht = &atiixp_sht, | 272 | .sht = &atiixp_sht, |
273 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 273 | .flags = ATA_FLAG_SLAVE_POSS, |
274 | .pio_mask = 0x1f, | 274 | .pio_mask = 0x1f, |
275 | .mwdma_mask = 0x06, /* No MWDMA0 support */ | 275 | .mwdma_mask = 0x06, /* No MWDMA0 support */ |
276 | .udma_mask = 0x3F, | 276 | .udma_mask = 0x3F, |
diff --git a/drivers/ata/pata_cmd640.c b/drivers/ata/pata_cmd640.c index 31cbf8daa299..0feb5ae8c486 100644 --- a/drivers/ata/pata_cmd640.c +++ b/drivers/ata/pata_cmd640.c | |||
@@ -251,7 +251,7 @@ static int cmd640_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
251 | { | 251 | { |
252 | static const struct ata_port_info info = { | 252 | static const struct ata_port_info info = { |
253 | .sht = &cmd640_sht, | 253 | .sht = &cmd640_sht, |
254 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 254 | .flags = ATA_FLAG_SLAVE_POSS, |
255 | .pio_mask = 0x1f, | 255 | .pio_mask = 0x1f, |
256 | .port_ops = &cmd640_port_ops | 256 | .port_ops = &cmd640_port_ops |
257 | }; | 257 | }; |
diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c index 320a5b10aa98..dc443e7dc37c 100644 --- a/drivers/ata/pata_cmd64x.c +++ b/drivers/ata/pata_cmd64x.c | |||
@@ -380,21 +380,21 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
380 | static const struct ata_port_info cmd_info[6] = { | 380 | static const struct ata_port_info cmd_info[6] = { |
381 | { /* CMD 643 - no UDMA */ | 381 | { /* CMD 643 - no UDMA */ |
382 | .sht = &cmd64x_sht, | 382 | .sht = &cmd64x_sht, |
383 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 383 | .flags = ATA_FLAG_SLAVE_POSS, |
384 | .pio_mask = 0x1f, | 384 | .pio_mask = 0x1f, |
385 | .mwdma_mask = 0x07, | 385 | .mwdma_mask = 0x07, |
386 | .port_ops = &cmd64x_port_ops | 386 | .port_ops = &cmd64x_port_ops |
387 | }, | 387 | }, |
388 | { /* CMD 646 with broken UDMA */ | 388 | { /* CMD 646 with broken UDMA */ |
389 | .sht = &cmd64x_sht, | 389 | .sht = &cmd64x_sht, |
390 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 390 | .flags = ATA_FLAG_SLAVE_POSS, |
391 | .pio_mask = 0x1f, | 391 | .pio_mask = 0x1f, |
392 | .mwdma_mask = 0x07, | 392 | .mwdma_mask = 0x07, |
393 | .port_ops = &cmd64x_port_ops | 393 | .port_ops = &cmd64x_port_ops |
394 | }, | 394 | }, |
395 | { /* CMD 646 with working UDMA */ | 395 | { /* CMD 646 with working UDMA */ |
396 | .sht = &cmd64x_sht, | 396 | .sht = &cmd64x_sht, |
397 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 397 | .flags = ATA_FLAG_SLAVE_POSS, |
398 | .pio_mask = 0x1f, | 398 | .pio_mask = 0x1f, |
399 | .mwdma_mask = 0x07, | 399 | .mwdma_mask = 0x07, |
400 | .udma_mask = ATA_UDMA1, | 400 | .udma_mask = ATA_UDMA1, |
@@ -402,14 +402,14 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
402 | }, | 402 | }, |
403 | { /* CMD 646 rev 1 */ | 403 | { /* CMD 646 rev 1 */ |
404 | .sht = &cmd64x_sht, | 404 | .sht = &cmd64x_sht, |
405 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 405 | .flags = ATA_FLAG_SLAVE_POSS, |
406 | .pio_mask = 0x1f, | 406 | .pio_mask = 0x1f, |
407 | .mwdma_mask = 0x07, | 407 | .mwdma_mask = 0x07, |
408 | .port_ops = &cmd646r1_port_ops | 408 | .port_ops = &cmd646r1_port_ops |
409 | }, | 409 | }, |
410 | { /* CMD 648 */ | 410 | { /* CMD 648 */ |
411 | .sht = &cmd64x_sht, | 411 | .sht = &cmd64x_sht, |
412 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 412 | .flags = ATA_FLAG_SLAVE_POSS, |
413 | .pio_mask = 0x1f, | 413 | .pio_mask = 0x1f, |
414 | .mwdma_mask = 0x07, | 414 | .mwdma_mask = 0x07, |
415 | .udma_mask = ATA_UDMA2, | 415 | .udma_mask = ATA_UDMA2, |
@@ -417,7 +417,7 @@ static int cmd64x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
417 | }, | 417 | }, |
418 | { /* CMD 649 */ | 418 | { /* CMD 649 */ |
419 | .sht = &cmd64x_sht, | 419 | .sht = &cmd64x_sht, |
420 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 420 | .flags = ATA_FLAG_SLAVE_POSS, |
421 | .pio_mask = 0x1f, | 421 | .pio_mask = 0x1f, |
422 | .mwdma_mask = 0x07, | 422 | .mwdma_mask = 0x07, |
423 | .udma_mask = ATA_UDMA3, | 423 | .udma_mask = ATA_UDMA3, |
diff --git a/drivers/ata/pata_cs5530.c b/drivers/ata/pata_cs5530.c index 848f0309bf03..797a6f67e8f5 100644 --- a/drivers/ata/pata_cs5530.c +++ b/drivers/ata/pata_cs5530.c | |||
@@ -337,7 +337,7 @@ static int cs5530_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
337 | { | 337 | { |
338 | static const struct ata_port_info info = { | 338 | static const struct ata_port_info info = { |
339 | .sht = &cs5530_sht, | 339 | .sht = &cs5530_sht, |
340 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 340 | .flags = ATA_FLAG_SLAVE_POSS, |
341 | .pio_mask = 0x1f, | 341 | .pio_mask = 0x1f, |
342 | .mwdma_mask = 0x07, | 342 | .mwdma_mask = 0x07, |
343 | .udma_mask = 0x07, | 343 | .udma_mask = 0x07, |
@@ -346,7 +346,7 @@ static int cs5530_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
346 | /* The docking connector doesn't do UDMA, and it seems not MWDMA */ | 346 | /* The docking connector doesn't do UDMA, and it seems not MWDMA */ |
347 | static const struct ata_port_info info_palmax_secondary = { | 347 | static const struct ata_port_info info_palmax_secondary = { |
348 | .sht = &cs5530_sht, | 348 | .sht = &cs5530_sht, |
349 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 349 | .flags = ATA_FLAG_SLAVE_POSS, |
350 | .pio_mask = 0x1f, | 350 | .pio_mask = 0x1f, |
351 | .port_ops = &cs5530_port_ops | 351 | .port_ops = &cs5530_port_ops |
352 | }; | 352 | }; |
diff --git a/drivers/ata/pata_cs5535.c b/drivers/ata/pata_cs5535.c index aa3256fb9f7a..7eeed578af0b 100644 --- a/drivers/ata/pata_cs5535.c +++ b/drivers/ata/pata_cs5535.c | |||
@@ -225,7 +225,7 @@ static int cs5535_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
225 | { | 225 | { |
226 | static const struct ata_port_info info = { | 226 | static const struct ata_port_info info = { |
227 | .sht = &cs5535_sht, | 227 | .sht = &cs5535_sht, |
228 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 228 | .flags = ATA_FLAG_SLAVE_POSS, |
229 | .pio_mask = 0x1f, | 229 | .pio_mask = 0x1f, |
230 | .mwdma_mask = 0x07, | 230 | .mwdma_mask = 0x07, |
231 | .udma_mask = 0x1f, | 231 | .udma_mask = 0x1f, |
diff --git a/drivers/ata/pata_cypress.c b/drivers/ata/pata_cypress.c index d41a7691dd8e..6cbc8778bf4f 100644 --- a/drivers/ata/pata_cypress.c +++ b/drivers/ata/pata_cypress.c | |||
@@ -167,7 +167,7 @@ static int cy82c693_init_one(struct pci_dev *pdev, const struct pci_device_id *i | |||
167 | { | 167 | { |
168 | static const struct ata_port_info info = { | 168 | static const struct ata_port_info info = { |
169 | .sht = &cy82c693_sht, | 169 | .sht = &cy82c693_sht, |
170 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 170 | .flags = ATA_FLAG_SLAVE_POSS, |
171 | .pio_mask = 0x1f, | 171 | .pio_mask = 0x1f, |
172 | .mwdma_mask = 0x07, | 172 | .mwdma_mask = 0x07, |
173 | .port_ops = &cy82c693_port_ops | 173 | .port_ops = &cy82c693_port_ops |
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c index 079248a9b460..c8ba59c56114 100644 --- a/drivers/ata/pata_efar.c +++ b/drivers/ata/pata_efar.c | |||
@@ -303,7 +303,7 @@ static int efar_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) | |||
303 | static int printed_version; | 303 | static int printed_version; |
304 | static const struct ata_port_info info = { | 304 | static const struct ata_port_info info = { |
305 | .sht = &efar_sht, | 305 | .sht = &efar_sht, |
306 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 306 | .flags = ATA_FLAG_SLAVE_POSS, |
307 | .pio_mask = 0x1f, /* pio0-4 */ | 307 | .pio_mask = 0x1f, /* pio0-4 */ |
308 | .mwdma_mask = 0x07, /* mwdma1-2 */ | 308 | .mwdma_mask = 0x07, /* mwdma1-2 */ |
309 | .udma_mask = 0x0f, /* UDMA 66 */ | 309 | .udma_mask = 0x0f, /* UDMA 66 */ |
diff --git a/drivers/ata/pata_hpt366.c b/drivers/ata/pata_hpt366.c index 0c9cb6090711..7a6ff3dfc775 100644 --- a/drivers/ata/pata_hpt366.c +++ b/drivers/ata/pata_hpt366.c | |||
@@ -393,7 +393,7 @@ static int hpt36x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
393 | { | 393 | { |
394 | static const struct ata_port_info info_hpt366 = { | 394 | static const struct ata_port_info info_hpt366 = { |
395 | .sht = &hpt36x_sht, | 395 | .sht = &hpt36x_sht, |
396 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 396 | .flags = ATA_FLAG_SLAVE_POSS, |
397 | .pio_mask = 0x1f, | 397 | .pio_mask = 0x1f, |
398 | .mwdma_mask = 0x07, | 398 | .mwdma_mask = 0x07, |
399 | .udma_mask = 0x1f, | 399 | .udma_mask = 0x1f, |
diff --git a/drivers/ata/pata_hpt37x.c b/drivers/ata/pata_hpt37x.c index a8c0cbeca399..d2278fdb1025 100644 --- a/drivers/ata/pata_hpt37x.c +++ b/drivers/ata/pata_hpt37x.c | |||
@@ -889,7 +889,7 @@ static int hpt37x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
889 | /* HPT370 - UDMA100 */ | 889 | /* HPT370 - UDMA100 */ |
890 | static const struct ata_port_info info_hpt370 = { | 890 | static const struct ata_port_info info_hpt370 = { |
891 | .sht = &hpt37x_sht, | 891 | .sht = &hpt37x_sht, |
892 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 892 | .flags = ATA_FLAG_SLAVE_POSS, |
893 | .pio_mask = 0x1f, | 893 | .pio_mask = 0x1f, |
894 | .mwdma_mask = 0x07, | 894 | .mwdma_mask = 0x07, |
895 | .udma_mask = 0x3f, | 895 | .udma_mask = 0x3f, |
@@ -898,7 +898,7 @@ static int hpt37x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
898 | /* HPT370A - UDMA100 */ | 898 | /* HPT370A - UDMA100 */ |
899 | static const struct ata_port_info info_hpt370a = { | 899 | static const struct ata_port_info info_hpt370a = { |
900 | .sht = &hpt37x_sht, | 900 | .sht = &hpt37x_sht, |
901 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 901 | .flags = ATA_FLAG_SLAVE_POSS, |
902 | .pio_mask = 0x1f, | 902 | .pio_mask = 0x1f, |
903 | .mwdma_mask = 0x07, | 903 | .mwdma_mask = 0x07, |
904 | .udma_mask = 0x3f, | 904 | .udma_mask = 0x3f, |
@@ -907,7 +907,7 @@ static int hpt37x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
907 | /* HPT370 - UDMA100 */ | 907 | /* HPT370 - UDMA100 */ |
908 | static const struct ata_port_info info_hpt370_33 = { | 908 | static const struct ata_port_info info_hpt370_33 = { |
909 | .sht = &hpt37x_sht, | 909 | .sht = &hpt37x_sht, |
910 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 910 | .flags = ATA_FLAG_SLAVE_POSS, |
911 | .pio_mask = 0x1f, | 911 | .pio_mask = 0x1f, |
912 | .mwdma_mask = 0x07, | 912 | .mwdma_mask = 0x07, |
913 | .udma_mask = 0x0f, | 913 | .udma_mask = 0x0f, |
@@ -916,7 +916,7 @@ static int hpt37x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
916 | /* HPT370A - UDMA100 */ | 916 | /* HPT370A - UDMA100 */ |
917 | static const struct ata_port_info info_hpt370a_33 = { | 917 | static const struct ata_port_info info_hpt370a_33 = { |
918 | .sht = &hpt37x_sht, | 918 | .sht = &hpt37x_sht, |
919 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 919 | .flags = ATA_FLAG_SLAVE_POSS, |
920 | .pio_mask = 0x1f, | 920 | .pio_mask = 0x1f, |
921 | .mwdma_mask = 0x07, | 921 | .mwdma_mask = 0x07, |
922 | .udma_mask = 0x0f, | 922 | .udma_mask = 0x0f, |
@@ -925,7 +925,7 @@ static int hpt37x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
925 | /* HPT371, 372 and friends - UDMA133 */ | 925 | /* HPT371, 372 and friends - UDMA133 */ |
926 | static const struct ata_port_info info_hpt372 = { | 926 | static const struct ata_port_info info_hpt372 = { |
927 | .sht = &hpt37x_sht, | 927 | .sht = &hpt37x_sht, |
928 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 928 | .flags = ATA_FLAG_SLAVE_POSS, |
929 | .pio_mask = 0x1f, | 929 | .pio_mask = 0x1f, |
930 | .mwdma_mask = 0x07, | 930 | .mwdma_mask = 0x07, |
931 | .udma_mask = 0x7f, | 931 | .udma_mask = 0x7f, |
@@ -934,7 +934,7 @@ static int hpt37x_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
934 | /* HPT374 - UDMA100 */ | 934 | /* HPT374 - UDMA100 */ |
935 | static const struct ata_port_info info_hpt374 = { | 935 | static const struct ata_port_info info_hpt374 = { |
936 | .sht = &hpt37x_sht, | 936 | .sht = &hpt37x_sht, |
937 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 937 | .flags = ATA_FLAG_SLAVE_POSS, |
938 | .pio_mask = 0x1f, | 938 | .pio_mask = 0x1f, |
939 | .mwdma_mask = 0x07, | 939 | .mwdma_mask = 0x07, |
940 | .udma_mask = 0x3f, | 940 | .udma_mask = 0x3f, |
diff --git a/drivers/ata/pata_hpt3x2n.c b/drivers/ata/pata_hpt3x2n.c index e947433cb37d..809d3385df7d 100644 --- a/drivers/ata/pata_hpt3x2n.c +++ b/drivers/ata/pata_hpt3x2n.c | |||
@@ -490,7 +490,7 @@ static int hpt3x2n_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
490 | /* HPT372N and friends - UDMA133 */ | 490 | /* HPT372N and friends - UDMA133 */ |
491 | static const struct ata_port_info info = { | 491 | static const struct ata_port_info info = { |
492 | .sht = &hpt3x2n_sht, | 492 | .sht = &hpt3x2n_sht, |
493 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 493 | .flags = ATA_FLAG_SLAVE_POSS, |
494 | .pio_mask = 0x1f, | 494 | .pio_mask = 0x1f, |
495 | .mwdma_mask = 0x07, | 495 | .mwdma_mask = 0x07, |
496 | .udma_mask = 0x7f, | 496 | .udma_mask = 0x7f, |
diff --git a/drivers/ata/pata_hpt3x3.c b/drivers/ata/pata_hpt3x3.c index 8ce5e23a5f75..d928c9105034 100644 --- a/drivers/ata/pata_hpt3x3.c +++ b/drivers/ata/pata_hpt3x3.c | |||
@@ -173,7 +173,7 @@ static int hpt3x3_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
173 | { | 173 | { |
174 | static const struct ata_port_info info = { | 174 | static const struct ata_port_info info = { |
175 | .sht = &hpt3x3_sht, | 175 | .sht = &hpt3x3_sht, |
176 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 176 | .flags = ATA_FLAG_SLAVE_POSS, |
177 | .pio_mask = 0x1f, | 177 | .pio_mask = 0x1f, |
178 | .mwdma_mask = 0x07, | 178 | .mwdma_mask = 0x07, |
179 | .udma_mask = 0x07, | 179 | .udma_mask = 0x07, |
diff --git a/drivers/ata/pata_icside.c b/drivers/ata/pata_icside.c index c791a46df461..321d98b0bed2 100644 --- a/drivers/ata/pata_icside.c +++ b/drivers/ata/pata_icside.c | |||
@@ -530,7 +530,7 @@ static int __devinit pata_icside_add_ports(struct pata_icside_info *info) | |||
530 | 530 | ||
531 | ap->pio_mask = 0x1f; | 531 | ap->pio_mask = 0x1f; |
532 | ap->mwdma_mask = info->mwdma_mask; | 532 | ap->mwdma_mask = info->mwdma_mask; |
533 | ap->flags |= ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST; | 533 | ap->flags |= ATA_FLAG_SLAVE_POSS; |
534 | ap->ops = &pata_icside_port_ops; | 534 | ap->ops = &pata_icside_port_ops; |
535 | 535 | ||
536 | pata_icside_setup_ioaddr(&ap->ioaddr, info->base, info->port[i]); | 536 | pata_icside_setup_ioaddr(&ap->ioaddr, info->base, info->port[i]); |
diff --git a/drivers/ata/pata_it8213.c b/drivers/ata/pata_it8213.c index 95b0bb61788b..41fb08bd1776 100644 --- a/drivers/ata/pata_it8213.c +++ b/drivers/ata/pata_it8213.c | |||
@@ -313,7 +313,7 @@ static int it8213_init_one (struct pci_dev *pdev, const struct pci_device_id *en | |||
313 | static int printed_version; | 313 | static int printed_version; |
314 | static const struct ata_port_info info = { | 314 | static const struct ata_port_info info = { |
315 | .sht = &it8213_sht, | 315 | .sht = &it8213_sht, |
316 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 316 | .flags = ATA_FLAG_SLAVE_POSS, |
317 | .pio_mask = 0x1f, /* pio0-4 */ | 317 | .pio_mask = 0x1f, /* pio0-4 */ |
318 | .mwdma_mask = 0x07, /* mwdma0-2 */ | 318 | .mwdma_mask = 0x07, /* mwdma0-2 */ |
319 | .udma_mask = 0x1f, /* UDMA 100 */ | 319 | .udma_mask = 0x1f, /* UDMA 100 */ |
diff --git a/drivers/ata/pata_it821x.c b/drivers/ata/pata_it821x.c index 12c6e08cc4d1..4f26ef1665d4 100644 --- a/drivers/ata/pata_it821x.c +++ b/drivers/ata/pata_it821x.c | |||
@@ -714,14 +714,14 @@ static int it821x_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
714 | 714 | ||
715 | static const struct ata_port_info info_smart = { | 715 | static const struct ata_port_info info_smart = { |
716 | .sht = &it821x_sht, | 716 | .sht = &it821x_sht, |
717 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 717 | .flags = ATA_FLAG_SLAVE_POSS, |
718 | .pio_mask = 0x1f, | 718 | .pio_mask = 0x1f, |
719 | .mwdma_mask = 0x07, | 719 | .mwdma_mask = 0x07, |
720 | .port_ops = &it821x_smart_port_ops | 720 | .port_ops = &it821x_smart_port_ops |
721 | }; | 721 | }; |
722 | static const struct ata_port_info info_passthru = { | 722 | static const struct ata_port_info info_passthru = { |
723 | .sht = &it821x_sht, | 723 | .sht = &it821x_sht, |
724 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 724 | .flags = ATA_FLAG_SLAVE_POSS, |
725 | .pio_mask = 0x1f, | 725 | .pio_mask = 0x1f, |
726 | .mwdma_mask = 0x07, | 726 | .mwdma_mask = 0x07, |
727 | .udma_mask = 0x7f, | 727 | .udma_mask = 0x7f, |
diff --git a/drivers/ata/pata_jmicron.c b/drivers/ata/pata_jmicron.c index 2af7ff8256ca..1a6c4dbba5cf 100644 --- a/drivers/ata/pata_jmicron.c +++ b/drivers/ata/pata_jmicron.c | |||
@@ -193,7 +193,7 @@ static int jmicron_init_one (struct pci_dev *pdev, const struct pci_device_id *i | |||
193 | { | 193 | { |
194 | static const struct ata_port_info info = { | 194 | static const struct ata_port_info info = { |
195 | .sht = &jmicron_sht, | 195 | .sht = &jmicron_sht, |
196 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 196 | .flags = ATA_FLAG_SLAVE_POSS, |
197 | 197 | ||
198 | .pio_mask = 0x1f, | 198 | .pio_mask = 0x1f, |
199 | .mwdma_mask = 0x07, | 199 | .mwdma_mask = 0x07, |
diff --git a/drivers/ata/pata_marvell.c b/drivers/ata/pata_marvell.c index edbfe0dbbf78..73f1e4b66038 100644 --- a/drivers/ata/pata_marvell.c +++ b/drivers/ata/pata_marvell.c | |||
@@ -163,7 +163,7 @@ static int marvell_init_one (struct pci_dev *pdev, const struct pci_device_id *i | |||
163 | { | 163 | { |
164 | static const struct ata_port_info info = { | 164 | static const struct ata_port_info info = { |
165 | .sht = &marvell_sht, | 165 | .sht = &marvell_sht, |
166 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 166 | .flags = ATA_FLAG_SLAVE_POSS, |
167 | 167 | ||
168 | .pio_mask = 0x1f, | 168 | .pio_mask = 0x1f, |
169 | .mwdma_mask = 0x07, | 169 | .mwdma_mask = 0x07, |
@@ -174,7 +174,7 @@ static int marvell_init_one (struct pci_dev *pdev, const struct pci_device_id *i | |||
174 | static const struct ata_port_info info_sata = { | 174 | static const struct ata_port_info info_sata = { |
175 | .sht = &marvell_sht, | 175 | .sht = &marvell_sht, |
176 | /* Slave possible as its magically mapped not real */ | 176 | /* Slave possible as its magically mapped not real */ |
177 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 177 | .flags = ATA_FLAG_SLAVE_POSS, |
178 | 178 | ||
179 | .pio_mask = 0x1f, | 179 | .pio_mask = 0x1f, |
180 | .mwdma_mask = 0x07, | 180 | .mwdma_mask = 0x07, |
diff --git a/drivers/ata/pata_netcell.c b/drivers/ata/pata_netcell.c index 81f563458666..b7c8b13ffda8 100644 --- a/drivers/ata/pata_netcell.c +++ b/drivers/ata/pata_netcell.c | |||
@@ -94,7 +94,7 @@ static int netcell_init_one (struct pci_dev *pdev, const struct pci_device_id *e | |||
94 | static int printed_version; | 94 | static int printed_version; |
95 | static const struct ata_port_info info = { | 95 | static const struct ata_port_info info = { |
96 | .sht = &netcell_sht, | 96 | .sht = &netcell_sht, |
97 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 97 | .flags = ATA_FLAG_SLAVE_POSS, |
98 | /* Actually we don't really care about these as the | 98 | /* Actually we don't really care about these as the |
99 | firmware deals with it */ | 99 | firmware deals with it */ |
100 | .pio_mask = 0x1f, /* pio0-4 */ | 100 | .pio_mask = 0x1f, /* pio0-4 */ |
diff --git a/drivers/ata/pata_ns87410.c b/drivers/ata/pata_ns87410.c index ea70ec744879..2f5d714ebfc4 100644 --- a/drivers/ata/pata_ns87410.c +++ b/drivers/ata/pata_ns87410.c | |||
@@ -193,7 +193,7 @@ static int ns87410_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
193 | { | 193 | { |
194 | static const struct ata_port_info info = { | 194 | static const struct ata_port_info info = { |
195 | .sht = &ns87410_sht, | 195 | .sht = &ns87410_sht, |
196 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 196 | .flags = ATA_FLAG_SLAVE_POSS, |
197 | .pio_mask = 0x0F, | 197 | .pio_mask = 0x0F, |
198 | .port_ops = &ns87410_port_ops | 198 | .port_ops = &ns87410_port_ops |
199 | }; | 199 | }; |
diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c index 29c23ddd6550..091a70a0ef1c 100644 --- a/drivers/ata/pata_oldpiix.c +++ b/drivers/ata/pata_oldpiix.c | |||
@@ -291,7 +291,7 @@ static int oldpiix_init_one (struct pci_dev *pdev, const struct pci_device_id *e | |||
291 | static int printed_version; | 291 | static int printed_version; |
292 | static const struct ata_port_info info = { | 292 | static const struct ata_port_info info = { |
293 | .sht = &oldpiix_sht, | 293 | .sht = &oldpiix_sht, |
294 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 294 | .flags = ATA_FLAG_SLAVE_POSS, |
295 | .pio_mask = 0x1f, /* pio0-4 */ | 295 | .pio_mask = 0x1f, /* pio0-4 */ |
296 | .mwdma_mask = 0x07, /* mwdma1-2 */ | 296 | .mwdma_mask = 0x07, /* mwdma1-2 */ |
297 | .port_ops = &oldpiix_pata_ops, | 297 | .port_ops = &oldpiix_pata_ops, |
diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c index 1c44653e1e06..458bf67f766f 100644 --- a/drivers/ata/pata_opti.c +++ b/drivers/ata/pata_opti.c | |||
@@ -218,7 +218,7 @@ static int opti_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
218 | { | 218 | { |
219 | static const struct ata_port_info info = { | 219 | static const struct ata_port_info info = { |
220 | .sht = &opti_sht, | 220 | .sht = &opti_sht, |
221 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 221 | .flags = ATA_FLAG_SLAVE_POSS, |
222 | .pio_mask = 0x1f, | 222 | .pio_mask = 0x1f, |
223 | .port_ops = &opti_port_ops | 223 | .port_ops = &opti_port_ops |
224 | }; | 224 | }; |
diff --git a/drivers/ata/pata_optidma.c b/drivers/ata/pata_optidma.c index 3093b02286ce..f89bdfde16d0 100644 --- a/drivers/ata/pata_optidma.c +++ b/drivers/ata/pata_optidma.c | |||
@@ -484,14 +484,14 @@ static int optidma_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
484 | { | 484 | { |
485 | static const struct ata_port_info info_82c700 = { | 485 | static const struct ata_port_info info_82c700 = { |
486 | .sht = &optidma_sht, | 486 | .sht = &optidma_sht, |
487 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 487 | .flags = ATA_FLAG_SLAVE_POSS, |
488 | .pio_mask = 0x1f, | 488 | .pio_mask = 0x1f, |
489 | .mwdma_mask = 0x07, | 489 | .mwdma_mask = 0x07, |
490 | .port_ops = &optidma_port_ops | 490 | .port_ops = &optidma_port_ops |
491 | }; | 491 | }; |
492 | static const struct ata_port_info info_82c700_udma = { | 492 | static const struct ata_port_info info_82c700_udma = { |
493 | .sht = &optidma_sht, | 493 | .sht = &optidma_sht, |
494 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 494 | .flags = ATA_FLAG_SLAVE_POSS, |
495 | .pio_mask = 0x1f, | 495 | .pio_mask = 0x1f, |
496 | .mwdma_mask = 0x07, | 496 | .mwdma_mask = 0x07, |
497 | .udma_mask = 0x07, | 497 | .udma_mask = 0x07, |
diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c index d277246b7337..92447bed5e77 100644 --- a/drivers/ata/pata_pdc202xx_old.c +++ b/drivers/ata/pata_pdc202xx_old.c | |||
@@ -320,7 +320,7 @@ static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id | |||
320 | static const struct ata_port_info info[3] = { | 320 | static const struct ata_port_info info[3] = { |
321 | { | 321 | { |
322 | .sht = &pdc202xx_sht, | 322 | .sht = &pdc202xx_sht, |
323 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 323 | .flags = ATA_FLAG_SLAVE_POSS, |
324 | .pio_mask = 0x1f, | 324 | .pio_mask = 0x1f, |
325 | .mwdma_mask = 0x07, | 325 | .mwdma_mask = 0x07, |
326 | .udma_mask = ATA_UDMA2, | 326 | .udma_mask = ATA_UDMA2, |
@@ -328,7 +328,7 @@ static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id | |||
328 | }, | 328 | }, |
329 | { | 329 | { |
330 | .sht = &pdc202xx_sht, | 330 | .sht = &pdc202xx_sht, |
331 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 331 | .flags = ATA_FLAG_SLAVE_POSS, |
332 | .pio_mask = 0x1f, | 332 | .pio_mask = 0x1f, |
333 | .mwdma_mask = 0x07, | 333 | .mwdma_mask = 0x07, |
334 | .udma_mask = ATA_UDMA4, | 334 | .udma_mask = ATA_UDMA4, |
@@ -336,7 +336,7 @@ static int pdc202xx_init_one(struct pci_dev *dev, const struct pci_device_id *id | |||
336 | }, | 336 | }, |
337 | { | 337 | { |
338 | .sht = &pdc202xx_sht, | 338 | .sht = &pdc202xx_sht, |
339 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 339 | .flags = ATA_FLAG_SLAVE_POSS, |
340 | .pio_mask = 0x1f, | 340 | .pio_mask = 0x1f, |
341 | .mwdma_mask = 0x07, | 341 | .mwdma_mask = 0x07, |
342 | .udma_mask = ATA_UDMA5, | 342 | .udma_mask = ATA_UDMA5, |
diff --git a/drivers/ata/pata_radisys.c b/drivers/ata/pata_radisys.c index ba96b54f5b87..7d1aabed422d 100644 --- a/drivers/ata/pata_radisys.c +++ b/drivers/ata/pata_radisys.c | |||
@@ -257,7 +257,7 @@ static int radisys_init_one (struct pci_dev *pdev, const struct pci_device_id *e | |||
257 | static int printed_version; | 257 | static int printed_version; |
258 | static const struct ata_port_info info = { | 258 | static const struct ata_port_info info = { |
259 | .sht = &radisys_sht, | 259 | .sht = &radisys_sht, |
260 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 260 | .flags = ATA_FLAG_SLAVE_POSS, |
261 | .pio_mask = 0x1f, /* pio0-4 */ | 261 | .pio_mask = 0x1f, /* pio0-4 */ |
262 | .mwdma_mask = 0x07, /* mwdma1-2 */ | 262 | .mwdma_mask = 0x07, /* mwdma1-2 */ |
263 | .udma_mask = 0x14, /* UDMA33/66 only */ | 263 | .udma_mask = 0x14, /* UDMA33/66 only */ |
diff --git a/drivers/ata/pata_rz1000.c b/drivers/ata/pata_rz1000.c index a3488b41ad26..7632fcb070ca 100644 --- a/drivers/ata/pata_rz1000.c +++ b/drivers/ata/pata_rz1000.c | |||
@@ -133,7 +133,7 @@ static int rz1000_init_one (struct pci_dev *pdev, const struct pci_device_id *en | |||
133 | static int printed_version; | 133 | static int printed_version; |
134 | static const struct ata_port_info info = { | 134 | static const struct ata_port_info info = { |
135 | .sht = &rz1000_sht, | 135 | .sht = &rz1000_sht, |
136 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 136 | .flags = ATA_FLAG_SLAVE_POSS, |
137 | .pio_mask = 0x1f, | 137 | .pio_mask = 0x1f, |
138 | .port_ops = &rz1000_port_ops | 138 | .port_ops = &rz1000_port_ops |
139 | }; | 139 | }; |
diff --git a/drivers/ata/pata_sc1200.c b/drivers/ata/pata_sc1200.c index 1233063ab9a8..7ff39cf9dc0b 100644 --- a/drivers/ata/pata_sc1200.c +++ b/drivers/ata/pata_sc1200.c | |||
@@ -245,7 +245,7 @@ static int sc1200_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
245 | { | 245 | { |
246 | static const struct ata_port_info info = { | 246 | static const struct ata_port_info info = { |
247 | .sht = &sc1200_sht, | 247 | .sht = &sc1200_sht, |
248 | .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, | 248 | .flags = ATA_FLAG_SLAVE_POSS, |
249 | .pio_mask = 0x1f, | 249 | .pio_mask = 0x1f, |
250 | .mwdma_mask = 0x07, | 250 | .mwdma_mask = 0x07, |
251 | .udma_mask = 0x07, | 251 | .udma_mask = 0x07, |
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index 1e8f421963c7..2c0bc3bb1692 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c | |||
@@ -478,28 +478,28 @@ static int serverworks_init_one(struct pci_dev *pdev, const struct pci_device_id | |||
478 | static const struct ata_port_info info[4] = { | 478 | static const struct ata_port_info info[4] = { |
479 | { /* OSB4 */ | 479 | { /* OSB4 */ |
480 | .sht = &serverworks_sht, | 480 | .sht = &serverworks_sht, |
481 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 481 | .flags = ATA_FLAG_SLAVE_POSS, |
482 | .pio_mask = 0x1f, | 482 | .pio_mask = 0x1f, |
483 | .mwdma_mask = 0x07, | 483 | .mwdma_mask = 0x07, |
484 | .udma_mask = 0x07, | 484 | .udma_mask = 0x07, |
485 | .port_ops = &serverworks_osb4_port_ops | 485 | .port_ops = &serverworks_osb4_port_ops |
486 | }, { /* OSB4 no UDMA */ | 486 | }, { /* OSB4 no UDMA */ |
487 | .sht = &serverworks_sht, | 487 | .sht = &serverworks_sht, |
488 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 488 | .flags = ATA_FLAG_SLAVE_POSS, |
489 | .pio_mask = 0x1f, | 489 | .pio_mask = 0x1f, |
490 | .mwdma_mask = 0x07, | 490 | .mwdma_mask = 0x07, |
491 | .udma_mask = 0x00, | 491 | .udma_mask = 0x00, |
492 | .port_ops = &serverworks_osb4_port_ops | 492 | .port_ops = &serverworks_osb4_port_ops |
493 | }, { /* CSB5 */ | 493 | }, { /* CSB5 */ |
494 | .sht = &serverworks_sht, | 494 | .sht = &serverworks_sht, |
495 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 495 | .flags = ATA_FLAG_SLAVE_POSS, |
496 | .pio_mask = 0x1f, | 496 | .pio_mask = 0x1f, |
497 | .mwdma_mask = 0x07, | 497 | .mwdma_mask = 0x07, |
498 | .udma_mask = 0x1f, | 498 | .udma_mask = 0x1f, |
499 | .port_ops = &serverworks_csb_port_ops | 499 | .port_ops = &serverworks_csb_port_ops |
500 | }, { /* CSB5 - later revisions*/ | 500 | }, { /* CSB5 - later revisions*/ |
501 | .sht = &serverworks_sht, | 501 | .sht = &serverworks_sht, |
502 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 502 | .flags = ATA_FLAG_SLAVE_POSS, |
503 | .pio_mask = 0x1f, | 503 | .pio_mask = 0x1f, |
504 | .mwdma_mask = 0x07, | 504 | .mwdma_mask = 0x07, |
505 | .udma_mask = 0x3f, | 505 | .udma_mask = 0x3f, |
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c index 440e2cb6ee75..b7dfb959fa9e 100644 --- a/drivers/ata/pata_sil680.c +++ b/drivers/ata/pata_sil680.c | |||
@@ -343,7 +343,7 @@ static int sil680_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
343 | { | 343 | { |
344 | static const struct ata_port_info info = { | 344 | static const struct ata_port_info info = { |
345 | .sht = &sil680_sht, | 345 | .sht = &sil680_sht, |
346 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 346 | .flags = ATA_FLAG_SLAVE_POSS, |
347 | .pio_mask = 0x1f, | 347 | .pio_mask = 0x1f, |
348 | .mwdma_mask = 0x07, | 348 | .mwdma_mask = 0x07, |
349 | .udma_mask = 0x7f, | 349 | .udma_mask = 0x7f, |
@@ -351,7 +351,7 @@ static int sil680_init_one(struct pci_dev *pdev, const struct pci_device_id *id) | |||
351 | }; | 351 | }; |
352 | static const struct ata_port_info info_slow = { | 352 | static const struct ata_port_info info_slow = { |
353 | .sht = &sil680_sht, | 353 | .sht = &sil680_sht, |
354 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 354 | .flags = ATA_FLAG_SLAVE_POSS, |
355 | .pio_mask = 0x1f, | 355 | .pio_mask = 0x1f, |
356 | .mwdma_mask = 0x07, | 356 | .mwdma_mask = 0x07, |
357 | .udma_mask = 0x3f, | 357 | .udma_mask = 0x3f, |
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c index cfe4ec6eb3d5..2b4508206a6c 100644 --- a/drivers/ata/pata_sis.c +++ b/drivers/ata/pata_sis.c | |||
@@ -732,7 +732,7 @@ static const struct ata_port_operations sis_old_ops = { | |||
732 | 732 | ||
733 | static const struct ata_port_info sis_info = { | 733 | static const struct ata_port_info sis_info = { |
734 | .sht = &sis_sht, | 734 | .sht = &sis_sht, |
735 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 735 | .flags = ATA_FLAG_SLAVE_POSS, |
736 | .pio_mask = 0x1f, /* pio0-4 */ | 736 | .pio_mask = 0x1f, /* pio0-4 */ |
737 | .mwdma_mask = 0x07, | 737 | .mwdma_mask = 0x07, |
738 | .udma_mask = 0, | 738 | .udma_mask = 0, |
@@ -740,7 +740,7 @@ static const struct ata_port_info sis_info = { | |||
740 | }; | 740 | }; |
741 | static const struct ata_port_info sis_info33 = { | 741 | static const struct ata_port_info sis_info33 = { |
742 | .sht = &sis_sht, | 742 | .sht = &sis_sht, |
743 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 743 | .flags = ATA_FLAG_SLAVE_POSS, |
744 | .pio_mask = 0x1f, /* pio0-4 */ | 744 | .pio_mask = 0x1f, /* pio0-4 */ |
745 | .mwdma_mask = 0x07, | 745 | .mwdma_mask = 0x07, |
746 | .udma_mask = ATA_UDMA2, /* UDMA 33 */ | 746 | .udma_mask = ATA_UDMA2, /* UDMA 33 */ |
@@ -748,28 +748,28 @@ static const struct ata_port_info sis_info33 = { | |||
748 | }; | 748 | }; |
749 | static const struct ata_port_info sis_info66 = { | 749 | static const struct ata_port_info sis_info66 = { |
750 | .sht = &sis_sht, | 750 | .sht = &sis_sht, |
751 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 751 | .flags = ATA_FLAG_SLAVE_POSS, |
752 | .pio_mask = 0x1f, /* pio0-4 */ | 752 | .pio_mask = 0x1f, /* pio0-4 */ |
753 | .udma_mask = ATA_UDMA4, /* UDMA 66 */ | 753 | .udma_mask = ATA_UDMA4, /* UDMA 66 */ |
754 | .port_ops = &sis_66_ops, | 754 | .port_ops = &sis_66_ops, |
755 | }; | 755 | }; |
756 | static const struct ata_port_info sis_info100 = { | 756 | static const struct ata_port_info sis_info100 = { |
757 | .sht = &sis_sht, | 757 | .sht = &sis_sht, |
758 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 758 | .flags = ATA_FLAG_SLAVE_POSS, |
759 | .pio_mask = 0x1f, /* pio0-4 */ | 759 | .pio_mask = 0x1f, /* pio0-4 */ |
760 | .udma_mask = ATA_UDMA5, | 760 | .udma_mask = ATA_UDMA5, |
761 | .port_ops = &sis_100_ops, | 761 | .port_ops = &sis_100_ops, |
762 | }; | 762 | }; |
763 | static const struct ata_port_info sis_info100_early = { | 763 | static const struct ata_port_info sis_info100_early = { |
764 | .sht = &sis_sht, | 764 | .sht = &sis_sht, |
765 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 765 | .flags = ATA_FLAG_SLAVE_POSS, |
766 | .udma_mask = ATA_UDMA5, | 766 | .udma_mask = ATA_UDMA5, |
767 | .pio_mask = 0x1f, /* pio0-4 */ | 767 | .pio_mask = 0x1f, /* pio0-4 */ |
768 | .port_ops = &sis_66_ops, | 768 | .port_ops = &sis_66_ops, |
769 | }; | 769 | }; |
770 | static const struct ata_port_info sis_info133 = { | 770 | static const struct ata_port_info sis_info133 = { |
771 | .sht = &sis_sht, | 771 | .sht = &sis_sht, |
772 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 772 | .flags = ATA_FLAG_SLAVE_POSS, |
773 | .pio_mask = 0x1f, /* pio0-4 */ | 773 | .pio_mask = 0x1f, /* pio0-4 */ |
774 | .udma_mask = ATA_UDMA6, | 774 | .udma_mask = ATA_UDMA6, |
775 | .port_ops = &sis_133_ops, | 775 | .port_ops = &sis_133_ops, |
@@ -783,7 +783,7 @@ const struct ata_port_info sis_info133_for_sata = { | |||
783 | }; | 783 | }; |
784 | static const struct ata_port_info sis_info133_early = { | 784 | static const struct ata_port_info sis_info133_early = { |
785 | .sht = &sis_sht, | 785 | .sht = &sis_sht, |
786 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 786 | .flags = ATA_FLAG_SLAVE_POSS, |
787 | .pio_mask = 0x1f, /* pio0-4 */ | 787 | .pio_mask = 0x1f, /* pio0-4 */ |
788 | .udma_mask = ATA_UDMA6, | 788 | .udma_mask = ATA_UDMA6, |
789 | .port_ops = &sis_133_early_ops, | 789 | .port_ops = &sis_133_early_ops, |
diff --git a/drivers/ata/pata_sl82c105.c b/drivers/ata/pata_sl82c105.c index e5aaec43694d..bde734189623 100644 --- a/drivers/ata/pata_sl82c105.c +++ b/drivers/ata/pata_sl82c105.c | |||
@@ -303,14 +303,14 @@ static int sl82c105_init_one(struct pci_dev *dev, const struct pci_device_id *id | |||
303 | { | 303 | { |
304 | static const struct ata_port_info info_dma = { | 304 | static const struct ata_port_info info_dma = { |
305 | .sht = &sl82c105_sht, | 305 | .sht = &sl82c105_sht, |
306 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 306 | .flags = ATA_FLAG_SLAVE_POSS, |
307 | .pio_mask = 0x1f, | 307 | .pio_mask = 0x1f, |
308 | .mwdma_mask = 0x07, | 308 | .mwdma_mask = 0x07, |
309 | .port_ops = &sl82c105_port_ops | 309 | .port_ops = &sl82c105_port_ops |
310 | }; | 310 | }; |
311 | static const struct ata_port_info info_early = { | 311 | static const struct ata_port_info info_early = { |
312 | .sht = &sl82c105_sht, | 312 | .sht = &sl82c105_sht, |
313 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 313 | .flags = ATA_FLAG_SLAVE_POSS, |
314 | .pio_mask = 0x1f, | 314 | .pio_mask = 0x1f, |
315 | .port_ops = &sl82c105_port_ops | 315 | .port_ops = &sl82c105_port_ops |
316 | }; | 316 | }; |
diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c index b1d3076dfe51..af21f443db6e 100644 --- a/drivers/ata/pata_triflex.c +++ b/drivers/ata/pata_triflex.c | |||
@@ -235,7 +235,7 @@ static int triflex_init_one(struct pci_dev *dev, const struct pci_device_id *id) | |||
235 | { | 235 | { |
236 | static const struct ata_port_info info = { | 236 | static const struct ata_port_info info = { |
237 | .sht = &triflex_sht, | 237 | .sht = &triflex_sht, |
238 | .flags = ATA_FLAG_SLAVE_POSS | ATA_FLAG_SRST, | 238 | .flags = ATA_FLAG_SLAVE_POSS, |
239 | .pio_mask = 0x1f, | 239 | .pio_mask = 0x1f, |
240 | .mwdma_mask = 0x07, | 240 | .mwdma_mask = 0x07, |
241 | .port_ops = &triflex_port_ops | 241 | .port_ops = &triflex_port_ops |