diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-29 13:48:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-29 13:48:21 -0400 |
commit | f73b0a08eae0e28c50db5dd5ab8245546918bfb6 (patch) | |
tree | eddc8c063acc7c70a975a0dadf26655159704b22 /drivers/ata/pata_triflex.c | |
parent | 6b06d2cc6d52830e3e0c001006b26255f47184dd (diff) | |
parent | 225036314e768bbfe8331ea9b0e91ca101afe427 (diff) |
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: (86 commits)
SPIN_LOCK_UNLOCKED cleanup in drivers/ata/pata_winbond.c
drivers/ata/pata_cmd640.c: fix build with CONFIG_PM=n
pata_hpt37x: Further small fixes
pata_hpt3x2n: Add HPT371N support and other bits
ata: printk warning fixes
libata: separate ATA_EHI_DID_RESET into DID_SOFTRESET and DID_HARDRESET
ahci: consolidate common port flags
ata_timing: ensure t->cycle is always correct
libata: add missing call to ->cable_detect() in new EH path
pata_amd: remove contamination added during cable_detect conversion
libata: Handle drives that require a spin-up command before first access
libata: HPA support
libata: kill probe_ent and related helpers
libata: convert the remaining PATA drivers to new init model
libata: convert the remaining SATA drivers to new init model
libata: convert ata_pci_init_native_mode() users to new init model
libata: convert drivers with combined SATA/PATA ports to new init model
libata: add init helpers including ata_pci_prepare_native_host()
libata: convert native PCI host handling to new init model
libata: convert legacy PCI host handling to new init model
...
Diffstat (limited to 'drivers/ata/pata_triflex.c')
-rw-r--r-- | drivers/ata/pata_triflex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_triflex.c b/drivers/ata/pata_triflex.c index 71418f2a0cdb..e618ffd6e944 100644 --- a/drivers/ata/pata_triflex.c +++ b/drivers/ata/pata_triflex.c | |||
@@ -43,7 +43,7 @@ | |||
43 | #include <linux/libata.h> | 43 | #include <linux/libata.h> |
44 | 44 | ||
45 | #define DRV_NAME "pata_triflex" | 45 | #define DRV_NAME "pata_triflex" |
46 | #define DRV_VERSION "0.2.7" | 46 | #define DRV_VERSION "0.2.8" |
47 | 47 | ||
48 | /** | 48 | /** |
49 | * triflex_prereset - probe begin | 49 | * triflex_prereset - probe begin |
@@ -63,7 +63,6 @@ static int triflex_prereset(struct ata_port *ap) | |||
63 | 63 | ||
64 | if (!pci_test_config_bits(pdev, &triflex_enable_bits[ap->port_no])) | 64 | if (!pci_test_config_bits(pdev, &triflex_enable_bits[ap->port_no])) |
65 | return -ENOENT; | 65 | return -ENOENT; |
66 | ap->cbl = ATA_CBL_PATA40; | ||
67 | return ata_std_prereset(ap); | 66 | return ata_std_prereset(ap); |
68 | } | 67 | } |
69 | 68 | ||
@@ -214,6 +213,7 @@ static struct ata_port_operations triflex_port_ops = { | |||
214 | .thaw = ata_bmdma_thaw, | 213 | .thaw = ata_bmdma_thaw, |
215 | .error_handler = triflex_error_handler, | 214 | .error_handler = triflex_error_handler, |
216 | .post_internal_cmd = ata_bmdma_post_internal_cmd, | 215 | .post_internal_cmd = ata_bmdma_post_internal_cmd, |
216 | .cable_detect = ata_cable_40wire, | ||
217 | 217 | ||
218 | .bmdma_setup = ata_bmdma_setup, | 218 | .bmdma_setup = ata_bmdma_setup, |
219 | .bmdma_start = triflex_bmdma_start, | 219 | .bmdma_start = triflex_bmdma_start, |