summaryrefslogtreecommitdiffstats
path: root/sys/dev/mps/mpi/mpi2_tool.h
diff options
context:
space:
mode:
authorslm <slm@FreeBSD.org>2015-02-24 22:07:42 +0000
committerslm <slm@FreeBSD.org>2015-02-24 22:07:42 +0000
commit3903a681113acec3726f42bff3025abf877608e5 (patch)
tree46f970963519c295b45ef898a5b5cadf8cbee77f /sys/dev/mps/mpi/mpi2_tool.h
parent8d11dd01a19b095bf6c81fc93fbe0fd479296553 (diff)
downloadFreeBSD-src-3903a681113acec3726f42bff3025abf877608e5.zip
FreeBSD-src-3903a681113acec3726f42bff3025abf877608e5.tar.gz
- Updated all files with 2015 Avago copyright, and updated LSI's copyright
dates. - Changed all of the PCI device strings from LSI to Avago Technologies (LSI). - Added a sysctl variable to control how StartStopUnit behavior works. User can select to spin down disks based on if disk is SSD or HDD. - Inquiry data is required to tell if a disk will support SSU at shutdown or not. Due to the addition of mpssas_async, which gets Advanced Info but not Inquiry data, the setting of supports_SSU was moved to the mpssas_scsiio_complete function, which snoops for any Inquiry commands. And, since disks are shutdown as a target and not a LUN, this process was simplified by basing it on targets and not LUNs. - Added a sysctl variable that sets the amount of time to retry after sending a failed SATA ID command. This helps with some bad disks and large disks that require a lot of time to spin up. Part of this change was to add a callout to handle timeouts with the SATA ID command. The callout function is called mpssas_ata_id_timeout(). (Fixes PR 191348) - Changed the way resets work by allowing I/O to continue to devices that are not currently under a reset condition. This uses devq's instead of simq's and makes use of the MPSSAS_TARGET_INRESET flag. This change also adds a function called mpssas_prepare_tm(). - Some changes were made to reduce code duplication when getting a SAS address for a SATA disk. - Fixed some formatting and whitespace. - Bump version of mps driver to 20.00.00.00-fbsd PR: 191348 Reviewed by: ken, scottl Approved by: ken, scottl MFC after: 2 weeks
Diffstat (limited to 'sys/dev/mps/mpi/mpi2_tool.h')
-rw-r--r--sys/dev/mps/mpi/mpi2_tool.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/mps/mpi/mpi2_tool.h b/sys/dev/mps/mpi/mpi2_tool.h
index 73ece21..b9f0f53 100644
--- a/sys/dev/mps/mpi/mpi2_tool.h
+++ b/sys/dev/mps/mpi/mpi2_tool.h
@@ -1,5 +1,6 @@
/*-
- * Copyright (c) 2011, 2012 LSI Corp.
+ * Copyright (c) 2007-2015 LSI Corp.
+ * Copyright (c) 2013-2015 Avago Technologies
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -23,13 +24,14 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * LSI MPT-Fusion Host Adapter FreeBSD
+ * Avago Technologies (LSI) MPT-Fusion Host Adapter FreeBSD
*
* $FreeBSD$
*/
/*
- * Copyright (c) 2000-2012 LSI Corporation.
+ * Copyright (c) 2007-2015 LSI Corporation.
+ * Copyright (c) 2013-2015 Avago Technologies
*
*
* Name: mpi2_tool.h
OpenPOWER on IntegriCloud