diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2002-01-30 00:44:52 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2002-01-30 00:44:52 +0000 |
commit | df9110fc04262051735916327f1da5971285d40c (patch) | |
tree | ba6fd93fd627c3c7307a2bfc475a9a07d1aca532 | |
parent | cf644549feec1fc49b15055f91888a9f4360982d (diff) |
IOCTL for retrieving traces from the ATA subsystem
-rw-r--r-- | sys/sys/ataio.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/sys/ataio.h b/sys/sys/ataio.h index c8360622738..2b432c0577d 100644 --- a/sys/sys/ataio.h +++ b/sys/sys/ataio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ataio.h,v 1.1 1999/07/18 21:25:20 csapuntz Exp $ */ +/* $OpenBSD: ataio.h,v 1.2 2002/01/30 00:44:51 csapuntz Exp $ */ /* $NetBSD: ataio.h,v 1.2 1998/11/23 22:58:23 kenh Exp $ */ #ifndef _SYS_ATAIO_H_ @@ -36,4 +36,13 @@ typedef struct atareq { #define ATAIOCCOMMAND _IOWR('Q', 8, atareq_t) +struct atagettrace { + unsigned int buf_size; + void *buf; + unsigned int bytes_copied; + unsigned int bytes_left; +}; + +#define ATAIOGETTRACE _IOWR('Q', 27, struct atagettrace) + #endif /* _SYS_ATAIO_H_ */ |