aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_ns87410.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_ns87410.c')
-rw-r--r--drivers/ata/pata_ns87410.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_ns87410.c b/drivers/ata/pata_ns87410.c
index 9944a28daa9c..078aeda9cf8d 100644
--- a/drivers/ata/pata_ns87410.c
+++ b/drivers/ata/pata_ns87410.c
@@ -28,13 +28,13 @@
28#include <linux/libata.h> 28#include <linux/libata.h>
29 29
30#define DRV_NAME "pata_ns87410" 30#define DRV_NAME "pata_ns87410"
31#define DRV_VERSION "0.4.3" 31#define DRV_VERSION "0.4.6"
32 32
33/** 33/**
34 * ns87410_pre_reset - probe begin 34 * ns87410_pre_reset - probe begin
35 * @ap: ATA port 35 * @ap: ATA port
36 * 36 *
37 * Set up cable type and use generic probe init 37 * Check enabled ports
38 */ 38 */
39 39
40static int ns87410_pre_reset(struct ata_port *ap) 40static int ns87410_pre_reset(struct ata_port *ap)
@@ -47,7 +47,6 @@ static int ns87410_pre_reset(struct ata_port *ap)
47 47
48 if (!pci_test_config_bits(pdev, &ns87410_enable_bits[ap->port_no])) 48 if (!pci_test_config_bits(pdev, &ns87410_enable_bits[ap->port_no]))
49 return -ENOENT; 49 return -ENOENT;
50 ap->cbl = ATA_CBL_PATA40;
51 return ata_std_prereset(ap); 50 return ata_std_prereset(ap);
52} 51}
53 52
@@ -177,6 +176,7 @@ static struct ata_port_operations ns87410_port_ops = {
177 .thaw = ata_bmdma_thaw, 176 .thaw = ata_bmdma_thaw,
178 .error_handler = ns87410_error_handler, 177 .error_handler = ns87410_error_handler,
179 .post_internal_cmd = ata_bmdma_post_internal_cmd, 178 .post_internal_cmd = ata_bmdma_post_internal_cmd,
179 .cable_detect = ata_cable_40wire,
180 180
181 .qc_prep = ata_qc_prep, 181 .qc_prep = ata_qc_prep,
182 .qc_issue = ns87410_qc_issue_prot, 182 .qc_issue = ns87410_qc_issue_prot,