diff options
Diffstat (limited to 'drivers/ata/pata_mpiix.c')
-rw-r--r-- | drivers/ata/pata_mpiix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_mpiix.c b/drivers/ata/pata_mpiix.c index 4abe45ac19a2..1718eaca731f 100644 --- a/drivers/ata/pata_mpiix.c +++ b/drivers/ata/pata_mpiix.c | |||
@@ -35,7 +35,7 @@ | |||
35 | #include <linux/libata.h> | 35 | #include <linux/libata.h> |
36 | 36 | ||
37 | #define DRV_NAME "pata_mpiix" | 37 | #define DRV_NAME "pata_mpiix" |
38 | #define DRV_VERSION "0.7.5" | 38 | #define DRV_VERSION "0.7.6" |
39 | 39 | ||
40 | enum { | 40 | enum { |
41 | IDETIM = 0x6C, /* IDE control register */ | 41 | IDETIM = 0x6C, /* IDE control register */ |
@@ -53,7 +53,6 @@ static int mpiix_pre_reset(struct ata_port *ap) | |||
53 | 53 | ||
54 | if (!pci_test_config_bits(pdev, &mpiix_enable_bits)) | 54 | if (!pci_test_config_bits(pdev, &mpiix_enable_bits)) |
55 | return -ENOENT; | 55 | return -ENOENT; |
56 | ap->cbl = ATA_CBL_PATA40; | ||
57 | return ata_std_prereset(ap); | 56 | return ata_std_prereset(ap); |
58 | } | 57 | } |
59 | 58 | ||
@@ -185,6 +184,7 @@ static struct ata_port_operations mpiix_port_ops = { | |||
185 | .thaw = ata_bmdma_thaw, | 184 | .thaw = ata_bmdma_thaw, |
186 | .error_handler = mpiix_error_handler, | 185 | .error_handler = mpiix_error_handler, |
187 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | 186 | .post_internal_cmd = ata_bmdma_post_internal_cmd, |
187 | .cable_detect = ata_cable_40wire, | ||
188 | 188 | ||
189 | .qc_prep = ata_qc_prep, | 189 | .qc_prep = ata_qc_prep, |
190 | .qc_issue = mpiix_qc_issue_prot, | 190 | .qc_issue = mpiix_qc_issue_prot, |