summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atascsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata/atascsi.c')
-rw-r--r--sys/dev/ata/atascsi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c
index 134a027250a..c7eb5c0d216 100644
--- a/sys/dev/ata/atascsi.c
+++ b/sys/dev/ata/atascsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atascsi.c,v 1.33 2007/03/22 05:15:39 pascoe Exp $ */
+/* $OpenBSD: atascsi.c,v 1.34 2007/03/23 05:18:47 pascoe Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -379,6 +379,9 @@ atascsi_disk_cmd_done(struct ata_xfer *xa)
printf("%s: error\n", __FUNCTION__);
xs->error = XS_DRIVER_STUFFUP;
break;
+ case ATA_S_TIMEOUT:
+ xs->error = XS_TIMEOUT;
+ break;
default:
panic("atascsi_disk_cmd_done: unexpected ata_xfer state (%d)",
xa->state);