diff options
author | ps <ps@FreeBSD.org> | 2003-08-05 19:55:21 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2003-08-05 19:55:21 +0000 |
commit | 52bff5229a998fce244a92247317fb6536b7a8d8 (patch) | |
tree | e2e84f0f50ca033d3797a3fad0fe7927745f9df3 /sys/dev/twe/twe_compat.h | |
parent | ad82646deb3641ae38ecc9edcb28cf49eb9c5c6c (diff) | |
download | FreeBSD-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/twe_compat.h')
-rw-r--r-- | sys/dev/twe/twe_compat.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/twe/twe_compat.h b/sys/dev/twe/twe_compat.h index aea8ba1..69db4f2 100644 --- a/sys/dev/twe/twe_compat.h +++ b/sys/dev/twe/twe_compat.h @@ -40,6 +40,7 @@ #include <sys/systm.h> #include <sys/malloc.h> #include <sys/kernel.h> +#include <sys/sysctl.h> #include <sys/bus.h> #include <sys/conf.h> @@ -113,7 +114,9 @@ bus_dma_tag_t twe_buffer_dmat; /* data buffer DMA tag */ \ struct resource *twe_irq; /* interrupt */ \ void *twe_intr; /* interrupt handle */ \ - struct intr_config_hook twe_ich; /* delayed-startup hook */ + struct intr_config_hook twe_ich; /* delayed-startup hook */ \ + struct sysctl_ctx_list sysctl_ctx; \ + struct sysctl_oid *sysctl_tree; /* * FreeBSD-specific request elements |