diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-03 04:15:51 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-03 04:15:51 +0000 |
commit | 8695298712ca6b05d95e2878ffa7ce38f135ccef (patch) | |
tree | e176e112d37d79ca8393e7f78acd1d4a66ab19ff /sys/scsi/scsi_all.h | |
parent | dad57cbeaa269b36143f1e82dd2e1b74cec4496b (diff) |
modernise scsi_inquiry. the length field has grown and now theres pages to
query.
ok krw@
Diffstat (limited to 'sys/scsi/scsi_all.h')
-rw-r--r-- | sys/scsi/scsi_all.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/scsi_all.h b/sys/scsi/scsi_all.h index cf2155d5256..d15ec399b5b 100644 --- a/sys/scsi/scsi_all.h +++ b/sys/scsi/scsi_all.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_all.h,v 1.40 2006/11/27 23:14:22 beck Exp $ */ +/* $OpenBSD: scsi_all.h,v 1.41 2007/04/03 04:15:50 dlg Exp $ */ /* $NetBSD: scsi_all.h,v 1.10 1996/09/12 01:57:17 thorpej Exp $ */ /* @@ -79,10 +79,10 @@ struct scsi_sense { struct scsi_inquiry { u_int8_t opcode; - u_int8_t byte2; + u_int8_t flags; #define SI_EVPD 0x01 - u_int8_t unused[2]; - u_int8_t length; + u_int8_t pagecode; + u_int8_t length[2]; u_int8_t control; }; |