diff options
author | scottl <scottl@FreeBSD.org> | 2007-10-09 17:43:57 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2007-10-09 17:43:57 +0000 |
commit | 14e26607a4e9b3c0e753e6147f5c694a3852681a (patch) | |
tree | 0a6f47e0b56078f5f11728ccdc3d57a67da1375f /sys/dev/twa/tw_cl_init.c | |
parent | f415c5c6969c1dce8c2f39f697a61c2efe489fea (diff) | |
download | FreeBSD-src-14e26607a4e9b3c0e753e6147f5c694a3852681a.zip FreeBSD-src-14e26607a4e9b3c0e753e6147f5c694a3852681a.tar.gz |
Update to version 3.70.03.007 from the vendor. This adds support for new
SAS-enabled cards. It also makes the driver MPSAFE, eliminating some
problems that resulted from CAM becoming MPSAFE. Many thanks to 3Ware/AMCC
for continuing to support FreeBSD.
Submitted by: Manjunath Ranganathaiah
Approved by: re
Diffstat (limited to 'sys/dev/twa/tw_cl_init.c')
-rw-r--r-- | sys/dev/twa/tw_cl_init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/twa/tw_cl_init.c b/sys/dev/twa/tw_cl_init.c index c7ac898..52864b2 100644 --- a/sys/dev/twa/tw_cl_init.c +++ b/sys/dev/twa/tw_cl_init.c @@ -32,6 +32,7 @@ * * Author: Vinod Kashyap * Modifications by: Adam Radford + * Modifications by: Manjunath Ranganathaiah */ @@ -65,7 +66,8 @@ tw_cl_ctlr_supported(TW_INT32 vendor_id, TW_INT32 device_id) if ((vendor_id == TW_CL_VENDOR_ID) && ((device_id == TW_CL_DEVICE_ID_9K) || (device_id == TW_CL_DEVICE_ID_9K_X) || - (device_id == TW_CL_DEVICE_ID_9K_E))) + (device_id == TW_CL_DEVICE_ID_9K_E) || + (device_id == TW_CL_DEVICE_ID_9K_SA))) return(TW_CL_TRUE); return(TW_CL_FALSE); } @@ -116,6 +118,7 @@ tw_cl_get_pci_bar_info(TW_INT32 device_id, TW_INT32 bar_type, case TW_CL_DEVICE_ID_9K_X: case TW_CL_DEVICE_ID_9K_E: + case TW_CL_DEVICE_ID_9K_SA: switch(bar_type) { case TW_CL_BAR_TYPE_IO: *bar_num = 2; @@ -332,7 +335,8 @@ tw_cl_init_ctlr(struct tw_cl_ctlr_handle *ctlr_handle, TW_UINT32 flags, if ((ctlr->flags & TW_CL_64BIT_ADDRESSES) && ((ctlr->device_id == TW_CL_DEVICE_ID_9K) || (ctlr->device_id == TW_CL_DEVICE_ID_9K_X) || - (ctlr->device_id == TW_CL_DEVICE_ID_9K_E))) { + (ctlr->device_id == TW_CL_DEVICE_ID_9K_E) || + (ctlr->device_id == TW_CL_DEVICE_ID_9K_SA))) { ctlr->state |= TW_CLI_CTLR_STATE_G66_WORKAROUND_NEEDED; ctlr->intr_lock = ctlr->io_lock; } else { |