summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mpireg.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-07-01 03:30:32 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-07-01 03:30:32 +0000
commit47e3f6618b17ae8ff83acca35f935a9e7a4acae1 (patch)
tree90ddfe04666e54241a7d30714481e9eeabc567e5 /sys/dev/ic/mpireg.h
parentd1cebdbf3fc124a26fb41fd8b6a0ba9a418be80d (diff)
man, i suck. when i split one of the dwords up in the io command i got the
location of the commands direction wrong. somehow this didnt affect the 1030 chip i was testing on, but it borked vmware and my fc controller. i guess the 1030 was using the cdb to figure out the direction. shifting the direction field into the right place fixes things. found by Jason Crawford, tested by brad@
Diffstat (limited to 'sys/dev/ic/mpireg.h')
-rw-r--r--sys/dev/ic/mpireg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mpireg.h b/sys/dev/ic/mpireg.h
index cd6d6a03a77..b14a69601e0 100644
--- a/sys/dev/ic/mpireg.h
+++ b/sys/dev/ic/mpireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpireg.h,v 1.21 2006/06/29 10:43:21 dlg Exp $ */
+/* $OpenBSD: mpireg.h,v 1.22 2006/07/01 03:30:31 dlg Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -640,11 +640,11 @@ struct mpi_msg_scsi_io {
#define MPI_SCSIIO_ATTR_ACA_Q (0x4)
#define MPI_SCSIIO_ATTR_UNTAGGED (0x5)
#define MPI_SCSIIO_ATTR_NO_DISCONNECT (0x7)
+ u_int8_t reserved3;
u_int8_t direction;
#define MPI_SCSIIO_DIR_NONE (0x0)
#define MPI_SCSIIO_DIR_WRITE (0x1)
#define MPI_SCSIIO_DIR_READ (0x2)
- u_int8_t extra_cdb_len;
#define MPI_CDB_LEN 16
u_int8_t cdb[MPI_CDB_LEN];