summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpr/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorslm <slm@FreeBSD.org>2015-06-04 16:27:18 +0000
committerslm <slm@FreeBSD.org>2015-06-04 16:27:18 +0000
commitceb5f63b1a6fbd04f737f76f4c8ee02749473811 (patch)
tree2158a1eec3a26586d8f1375cae532b9a8b5654c5 /sys/dev/mpr/mpi/mpi2_raid.h
parent7e70fa5ddf08770c1c0fd7766648ce038f7ddfb4 (diff)
downloadFreeBSD-src-ceb5f63b1a6fbd04f737f76f4c8ee02749473811.zip
FreeBSD-src-ceb5f63b1a6fbd04f737f76f4c8ee02749473811.tar.gz
MFC: r283661
- 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 mprssas_async, which gets Advanced Info but not Inquiry data, the setting of supports_SSU was moved to the mprsas_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 mprsas_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 mprsas_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 mpr driver to 9.255.01.00-fbsd PR: 191348
Diffstat (limited to 'sys/dev/mpr/mpi/mpi2_raid.h')
-rw-r--r--sys/dev/mpr/mpi/mpi2_raid.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/mpr/mpi/mpi2_raid.h b/sys/dev/mpr/mpi/mpi2_raid.h
index c6bb598..52ebf07 100644
--- a/sys/dev/mpr/mpi/mpi2_raid.h
+++ b/sys/dev/mpr/mpi/mpi2_raid.h
@@ -1,5 +1,6 @@
/*-
- * Copyright (c) 2013 LSI Corp.
+ * Copyright (c) 2012-2015 LSI Corp.
+ * Copyright (c) 2013-2015 Avago Technologies
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -26,13 +27,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-2013 LSI Corporation.
+ * Copyright (c) 2000-2015 LSI Corporation.
+ * Copyright (c) 2013-2015 Avago Technologies
*
*
* Name: mpi2_raid.h
OpenPOWER on IntegriCloud