diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-07 16:35:17 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-12-07 16:35:17 -0500 |
commit | 21b4e736922f546e0f1aa7b9d6c442f309a2444a (patch) | |
tree | e1be8645297f8ebe87445251743ebcc52081a20d /drivers/ata/libata-core.c | |
parent | 34161db6b14d984fb9b06c735b7b42f8803f6851 (diff) | |
parent | 68380b581383c028830f79ec2670f4a193854aa6 (diff) |
Merge branch 'master' of /home/trondmy/kernel/linux-2.6/ into merge_linus
Diffstat (limited to 'drivers/ata/libata-core.c')
-rw-r--r-- | drivers/ata/libata-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 8816e30fb7a4..011c0a8a2dcc 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -2303,7 +2303,7 @@ int ata_timing_compute(struct ata_device *adev, unsigned short speed, | |||
2303 | * DMA cycle timing is slower/equal than the fastest PIO timing. | 2303 | * DMA cycle timing is slower/equal than the fastest PIO timing. |
2304 | */ | 2304 | */ |
2305 | 2305 | ||
2306 | if (speed > XFER_PIO_4) { | 2306 | if (speed > XFER_PIO_6) { |
2307 | ata_timing_compute(adev, adev->pio_mode, &p, T, UT); | 2307 | ata_timing_compute(adev, adev->pio_mode, &p, T, UT); |
2308 | ata_timing_merge(&p, t, t, ATA_TIMING_ALL); | 2308 | ata_timing_merge(&p, t, t, ATA_TIMING_ALL); |
2309 | } | 2309 | } |
@@ -4960,6 +4960,7 @@ unsigned int ata_qc_issue_prot(struct ata_queued_cmd *qc) | |||
4960 | if (ap->flags & ATA_FLAG_PIO_POLLING) { | 4960 | if (ap->flags & ATA_FLAG_PIO_POLLING) { |
4961 | switch (qc->tf.protocol) { | 4961 | switch (qc->tf.protocol) { |
4962 | case ATA_PROT_PIO: | 4962 | case ATA_PROT_PIO: |
4963 | case ATA_PROT_NODATA: | ||
4963 | case ATA_PROT_ATAPI: | 4964 | case ATA_PROT_ATAPI: |
4964 | case ATA_PROT_ATAPI_NODATA: | 4965 | case ATA_PROT_ATAPI_NODATA: |
4965 | qc->tf.flags |= ATA_TFLAG_POLLING; | 4966 | qc->tf.flags |= ATA_TFLAG_POLLING; |