summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atascsi.h
diff options
context:
space:
mode:
authorChristopher Pascoe <pascoe@cvs.openbsd.org>2007-03-20 08:47:47 +0000
committerChristopher Pascoe <pascoe@cvs.openbsd.org>2007-03-20 08:47:47 +0000
commit51a8fb1fe16c246d747d3f9a90a40798dfbe71da (patch)
tree93f3135bb9bb2543baa0dc31826870a1b499dbf3 /sys/dev/ata/atascsi.h
parentdb37fa8ff4a01b1922ba0e20426bafa804f0b806 (diff)
Add timeout handling for ATA commands.
Diffstat (limited to 'sys/dev/ata/atascsi.h')
-rw-r--r--sys/dev/ata/atascsi.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ata/atascsi.h b/sys/dev/ata/atascsi.h
index 1334d2103f5..61fc35d342b 100644
--- a/sys/dev/ata/atascsi.h
+++ b/sys/dev/ata/atascsi.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atascsi.h,v 1.12 2007/03/20 07:45:11 dlg Exp $ */
+/* $OpenBSD: atascsi.h,v 1.13 2007/03/20 08:47:46 pascoe Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -121,6 +121,8 @@ struct ata_xfer {
#define ATA_S_PENDING 1
#define ATA_S_COMPLETE 2
#define ATA_S_ERROR 3
+#define ATA_S_TIMEOUT 4
+#define ATA_S_ONCHIP 5
#define ATA_S_PUT 6
void *atascsi_private;