diff options
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index aa6bcd79d60a..345f4a6865a8 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -76,6 +76,10 @@ const unsigned long sata_deb_timing_long[] = { 100, 2000, 5000 }; | |||
76 | 76 | ||
77 | const struct ata_port_operations ata_base_port_ops = { | 77 | const struct ata_port_operations ata_base_port_ops = { |
78 | .irq_clear = ata_noop_irq_clear, | 78 | .irq_clear = ata_noop_irq_clear, |
79 | .prereset = ata_std_prereset, | ||
80 | .hardreset = sata_std_hardreset, | ||
81 | .postreset = ata_std_postreset, | ||
82 | .error_handler = ata_std_error_handler, | ||
79 | }; | 83 | }; |
80 | 84 | ||
81 | const struct ata_port_operations sata_port_ops = { | 85 | const struct ata_port_operations sata_port_ops = { |
@@ -87,6 +91,11 @@ const struct ata_port_operations sata_port_ops = { | |||
87 | 91 | ||
88 | const struct ata_port_operations sata_pmp_port_ops = { | 92 | const struct ata_port_operations sata_pmp_port_ops = { |
89 | .inherits = &sata_port_ops, | 93 | .inherits = &sata_port_ops, |
94 | |||
95 | .pmp_prereset = sata_pmp_std_prereset, | ||
96 | .pmp_hardreset = sata_pmp_std_hardreset, | ||
97 | .pmp_postreset = sata_pmp_std_postreset, | ||
98 | .error_handler = sata_pmp_error_handler, | ||
90 | }; | 99 | }; |
91 | 100 | ||
92 | const struct ata_port_operations ata_sff_port_ops = { | 101 | const struct ata_port_operations ata_sff_port_ops = { |
@@ -97,6 +106,7 @@ const struct ata_port_operations ata_sff_port_ops = { | |||
97 | 106 | ||
98 | .freeze = ata_bmdma_freeze, | 107 | .freeze = ata_bmdma_freeze, |
99 | .thaw = ata_bmdma_thaw, | 108 | .thaw = ata_bmdma_thaw, |
109 | .softreset = ata_std_softreset, | ||
100 | .error_handler = ata_bmdma_error_handler, | 110 | .error_handler = ata_bmdma_error_handler, |
101 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | 111 | .post_internal_cmd = ata_bmdma_post_internal_cmd, |
102 | 112 | ||
@@ -7935,7 +7945,6 @@ EXPORT_SYMBOL_GPL(ata_bmdma_status); | |||
7935 | EXPORT_SYMBOL_GPL(ata_bmdma_stop); | 7945 | EXPORT_SYMBOL_GPL(ata_bmdma_stop); |
7936 | EXPORT_SYMBOL_GPL(ata_bmdma_freeze); | 7946 | EXPORT_SYMBOL_GPL(ata_bmdma_freeze); |
7937 | EXPORT_SYMBOL_GPL(ata_bmdma_thaw); | 7947 | EXPORT_SYMBOL_GPL(ata_bmdma_thaw); |
7938 | EXPORT_SYMBOL_GPL(ata_bmdma_drive_eh); | ||
7939 | EXPORT_SYMBOL_GPL(ata_bmdma_error_handler); | 7948 | EXPORT_SYMBOL_GPL(ata_bmdma_error_handler); |
7940 | EXPORT_SYMBOL_GPL(ata_bmdma_post_internal_cmd); | 7949 | EXPORT_SYMBOL_GPL(ata_bmdma_post_internal_cmd); |
7941 | EXPORT_SYMBOL_GPL(ata_port_probe); | 7950 | EXPORT_SYMBOL_GPL(ata_port_probe); |
@@ -8005,7 +8014,7 @@ EXPORT_SYMBOL_GPL(sata_pmp_qc_defer_cmd_switch); | |||
8005 | EXPORT_SYMBOL_GPL(sata_pmp_std_prereset); | 8014 | EXPORT_SYMBOL_GPL(sata_pmp_std_prereset); |
8006 | EXPORT_SYMBOL_GPL(sata_pmp_std_hardreset); | 8015 | EXPORT_SYMBOL_GPL(sata_pmp_std_hardreset); |
8007 | EXPORT_SYMBOL_GPL(sata_pmp_std_postreset); | 8016 | EXPORT_SYMBOL_GPL(sata_pmp_std_postreset); |
8008 | EXPORT_SYMBOL_GPL(sata_pmp_do_eh); | 8017 | EXPORT_SYMBOL_GPL(sata_pmp_error_handler); |
8009 | 8018 | ||
8010 | EXPORT_SYMBOL_GPL(__ata_ehi_push_desc); | 8019 | EXPORT_SYMBOL_GPL(__ata_ehi_push_desc); |
8011 | EXPORT_SYMBOL_GPL(ata_ehi_push_desc); | 8020 | EXPORT_SYMBOL_GPL(ata_ehi_push_desc); |
@@ -8024,6 +8033,7 @@ EXPORT_SYMBOL_GPL(ata_eh_thaw_port); | |||
8024 | EXPORT_SYMBOL_GPL(ata_eh_qc_complete); | 8033 | EXPORT_SYMBOL_GPL(ata_eh_qc_complete); |
8025 | EXPORT_SYMBOL_GPL(ata_eh_qc_retry); | 8034 | EXPORT_SYMBOL_GPL(ata_eh_qc_retry); |
8026 | EXPORT_SYMBOL_GPL(ata_do_eh); | 8035 | EXPORT_SYMBOL_GPL(ata_do_eh); |
8036 | EXPORT_SYMBOL_GPL(ata_std_error_handler); | ||
8027 | EXPORT_SYMBOL_GPL(ata_irq_on); | 8037 | EXPORT_SYMBOL_GPL(ata_irq_on); |
8028 | EXPORT_SYMBOL_GPL(ata_dev_try_classify); | 8038 | EXPORT_SYMBOL_GPL(ata_dev_try_classify); |
8029 | 8039 | ||