summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpr/mprvar.h
diff options
context:
space:
mode:
authorslm <slm@FreeBSD.org>2016-05-09 16:19:13 +0000
committerslm <slm@FreeBSD.org>2016-05-09 16:19:13 +0000
commit1f91a62e29c2cc858291a13fd9597225a819e5a8 (patch)
tree16a000eab55614215f6b88e29eb0603be4744da8 /sys/dev/mpr/mprvar.h
parent9b9ab04340b8ac0377759d2197acb215b4d1981a (diff)
downloadFreeBSD-src-1f91a62e29c2cc858291a13fd9597225a819e5a8.zip
FreeBSD-src-1f91a62e29c2cc858291a13fd9597225a819e5a8.tar.gz
Add support for the Broadcom (Avago/LSI) 9305 16 and 24 port HBA's.
Reviewed by: ken, scottl, ambrisko, asomers Approved by: ken, scottl, ambrisko MFC after: 1 week Relnotes: yes Differential Revision: https://reviews.freebsd.org/D6098
Diffstat (limited to 'sys/dev/mpr/mprvar.h')
-rw-r--r--sys/dev/mpr/mprvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mpr/mprvar.h b/sys/dev/mpr/mprvar.h
index 750ed0d..8b7426d 100644
--- a/sys/dev/mpr/mprvar.h
+++ b/sys/dev/mpr/mprvar.h
@@ -46,6 +46,8 @@
#define MPR_SGE64_SIZE 12
#define MPR_SGE32_SIZE 8
#define MPR_SGC_SIZE 8
+#define MPR_DEFAULT_CHAIN_SEG_SIZE 8
+#define MPR_MAX_CHAIN_ELEMENT_SIZE 16
#define MPR_FUNCTRACE(sc) \
mpr_dprint((sc), MPR_TRACE, "%s\n", __func__)
@@ -263,6 +265,8 @@ struct mpr_softc {
int chain_free;
int max_chains;
int chain_free_lowwater;
+ uint32_t chain_frame_size;
+ uint16_t chain_seg_size;
u_int enable_ssu;
int spinup_wait_time;
uint64_t chain_alloc_fail;
OpenPOWER on IntegriCloud