summaryrefslogtreecommitdiffstats
path: root/sys/dev/twe/twereg.h
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2003-08-05 19:55:21 +0000
committerps <ps@FreeBSD.org>2003-08-05 19:55:21 +0000
commit52bff5229a998fce244a92247317fb6536b7a8d8 (patch)
treee2e84f0f50ca033d3797a3fad0fe7927745f9df3 /sys/dev/twe/twereg.h
parentad82646deb3641ae38ecc9edcb28cf49eb9c5c6c (diff)
downloadFreeBSD-src-52bff5229a998fce244a92247317fb6536b7a8d8.zip
FreeBSD-src-52bff5229a998fce244a92247317fb6536b7a8d8.tar.gz
Properly support the 3ware generic API.
- Build SGL's for ATA_PASSTHROUGH commands - Fallback to using the sgl_offset when the opcode is unknown for building SGL's/ - Add ioctl calls for adding and removing units. - Define previously undefined AEN's - Allocate memory for the ioctl payload in multiples of 512bytes. MFC after: 1 week
Diffstat (limited to 'sys/dev/twe/twereg.h')
-rw-r--r--sys/dev/twe/twereg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/twe/twereg.h b/sys/dev/twe/twereg.h
index f139021..d758971 100644
--- a/sys/dev/twe/twereg.h
+++ b/sys/dev/twe/twereg.h
@@ -119,6 +119,7 @@
#define TWE_OP_FLUSH 0x0e
#define TWE_OP_ABORT 0x0f
#define TWE_OP_CHECKSTATUS 0x10
+#define TWE_OP_ATA_PASSTHROUGH 0x11
#define TWE_OP_GET_PARAM 0x12
#define TWE_OP_SET_PARAM 0x13
#define TWE_OP_CREATEUNIT 0x14
@@ -127,7 +128,6 @@
#define TWE_OP_SECTOR_INFO 0x1a
#define TWE_OP_AEN_LISTEN 0x1c
#define TWE_OP_CMD_PACKET 0x1d
-#define TWE_OP_ATA_PASSTHROUGH 0x1e
#define TWE_OP_CMD_WITH_DATA 0x1f
/* command status values */
OpenPOWER on IntegriCloud