aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_oldpiix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_oldpiix.c')
-rw-r--r--drivers/ata/pata_oldpiix.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_oldpiix.c b/drivers/ata/pata_oldpiix.c
index da68cd19efd6..dea4690340d1 100644
--- a/drivers/ata/pata_oldpiix.c
+++ b/drivers/ata/pata_oldpiix.c
@@ -25,7 +25,7 @@
25#include <linux/ata.h> 25#include <linux/ata.h>
26 26
27#define DRV_NAME "pata_oldpiix" 27#define DRV_NAME "pata_oldpiix"
28#define DRV_VERSION "0.5.4" 28#define DRV_VERSION "0.5.5"
29 29
30/** 30/**
31 * oldpiix_pre_reset - probe begin 31 * oldpiix_pre_reset - probe begin
@@ -44,7 +44,6 @@ static int oldpiix_pre_reset(struct ata_port *ap)
44 44
45 if (!pci_test_config_bits(pdev, &oldpiix_enable_bits[ap->port_no])) 45 if (!pci_test_config_bits(pdev, &oldpiix_enable_bits[ap->port_no]))
46 return -ENOENT; 46 return -ENOENT;
47 ap->cbl = ATA_CBL_PATA40;
48 return ata_std_prereset(ap); 47 return ata_std_prereset(ap);
49} 48}
50 49
@@ -65,7 +64,7 @@ static void oldpiix_pata_error_handler(struct ata_port *ap)
65/** 64/**
66 * oldpiix_set_piomode - Initialize host controller PATA PIO timings 65 * oldpiix_set_piomode - Initialize host controller PATA PIO timings
67 * @ap: Port whose timings we are configuring 66 * @ap: Port whose timings we are configuring
68 * @adev: um 67 * @adev: Device whose timings we are configuring
69 * 68 *
70 * Set PIO mode for device, in host controller PCI config space. 69 * Set PIO mode for device, in host controller PCI config space.
71 * 70 *
@@ -255,6 +254,7 @@ static const struct ata_port_operations oldpiix_pata_ops = {
255 .thaw = ata_bmdma_thaw, 254 .thaw = ata_bmdma_thaw,
256 .error_handler = oldpiix_pata_error_handler, 255 .error_handler = oldpiix_pata_error_handler,
257 .post_internal_cmd = ata_bmdma_post_internal_cmd, 256 .post_internal_cmd = ata_bmdma_post_internal_cmd,
257 .cable_detect = ata_cable_40wire,
258 258
259 .bmdma_setup = ata_bmdma_setup, 259 .bmdma_setup = ata_bmdma_setup,
260 .bmdma_start = ata_bmdma_start, 260 .bmdma_start = ata_bmdma_start,