aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2005-03-02 03:59:28 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2005-03-02 03:59:28 +0000
commita50519ed08e2c1f4853871c7ae5c9ca1b127ee5d (patch)
treef4678c05990b10ac78724168afcc5a3e066294d4 /sys
parent048ba27c183ac8d06197c3379666d937655d1630 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ata/ata-lowlevel.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c
index 1e4d0bca77792..4dea2d6f851a1 100644
--- a/sys/dev/ata/ata-lowlevel.c
+++ b/sys/dev/ata/ata-lowlevel.c
@@ -297,6 +297,9 @@ ata_end_transaction(struct ata_request *request)
/* ATA PIO data transfer and control commands */
default:
+ /* XXX Doesn't handle the non-PIO case. */
+ if (request->flags & ATA_R_TIMEOUT)
+ return ATA_OP_FINISHED;
/* on control commands read back registers to the request struct */
if (request->flags & ATA_R_CONTROL) {