aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/twa/tw_osl_share.h
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2007-05-09 04:16:32 +0000
committerScott Long <scottl@FreeBSD.org>2007-05-09 04:16:32 +0000
commit4511a5c893d556e02bd7a04b18e433e3a9972a26 (patch)
treef5057a0d5e1c26c1707951622f8290cef18a57c3 /sys/dev/twa/tw_osl_share.h
parentc085f6bbf6edddc207b21f167c2884b2b0b6792b (diff)
downloadsrc-4511a5c893d556e02bd7a04b18e433e3a9972a26.tar.gz
src-4511a5c893d556e02bd7a04b18e433e3a9972a26.zip
Import version 3.60.03.006 of the TWA driver:
This patch does the following: - Remove un-necessary code that is not even compiling into the driver under TW_OSL_NON_DMA_MEM_ALLOC_PER_REQUEST defines. - Remove bundled firmware image and associated "files" entry for tw_cl_fwimg.c - Remove bundled firmware flashing routines. We now have tw_update userspace FreeBSD controller flash utility. - Fix driver crash on load due to shared interrupt. - Fix 2 lock leaks for Giant lock. - Fix CCB leak. - Add support for 9650SE controllers. Many thanks to 3Ware/AMCC for continuing to support FreeBSD.
Notes
Notes: svn path=/head/; revision=169400
Diffstat (limited to 'sys/dev/twa/tw_osl_share.h')
-rw-r--r--sys/dev/twa/tw_osl_share.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/twa/tw_osl_share.h b/sys/dev/twa/tw_osl_share.h
index f17d49d9679b..2bb28a33bb0d 100644
--- a/sys/dev/twa/tw_osl_share.h
+++ b/sys/dev/twa/tw_osl_share.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2004-05 Applied Micro Circuits Corporation.
+ * Copyright (c) 2004-07 Applied Micro Circuits Corporation.
* Copyright (c) 2004-05 Vinod Kashyap.
* All rights reserved.
*
@@ -31,6 +31,7 @@
* AMCC'S 3ware driver for 9000 series storage controllers.
*
* Author: Vinod Kashyap
+ * Modifications by: Adam Radford
*/
@@ -70,15 +71,11 @@
#define TW_OSL_DEBUG TWA_DEBUG
#endif
-#ifdef TWA_FLASH_FIRMWARE
-#define TW_OSL_FLASH_FIRMWARE
-#endif
-
#ifdef TWA_ENCLOSURE_SUPPORT
#define TW_OSL_ENCLOSURE_SUPPORT
#endif
-#define TW_OSL_DRIVER_VERSION_STRING "3.70.02.012"
+#define TW_OSL_DRIVER_VERSION_STRING "3.60.03.006"
#define TW_OSL_CAN_SLEEP
@@ -86,7 +83,6 @@
typedef TW_VOID *TW_SLEEP_HANDLE;
#endif /* TW_OSL_CAN_SLEEP */
-/*#define TW_OSL_DMA_MEM_ALLOC_PER_REQUEST*/
#define TW_OSL_PCI_CONFIG_ACCESSIBLE
#if _BYTE_ORDER == _BIG_ENDIAN