Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 16:27:40 -0700
From:      "adam radford" <aradford@gmail.com>
To:        "Scott Long" <scottl@samsco.org>, scottl@freebsd.org, jhb@freebsd.org,  freebsd-current@freebsd.org
Subject:   3ware FreeBSD 7.0 update
Message-ID:  <b1bc6a000705111627q66596922p78753c95db38aef3@mail.gmail.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Scott,

Please accept this small patch to the 3ware 'twa' driver for FreeBSD 7.0.

This patch does the following:
- Turn off un-necessary deferred interrupt handling.

Thanks,

-Adam

diff -Naur twa/tw_osl.h twa.new/tw_osl.h
--- twa/tw_osl.h	Tue May  8 21:16:32 2007
+++ twa.new/tw_osl.h	Fri May 11 23:57:47 2007
@@ -52,7 +52,7 @@
 #define TW_OSLI_MAX_NUM_IOS		TW_CL_MAX_SIMULTANEOUS_REQUESTS
 #define TW_OSLI_MAX_NUM_AENS		0x100

-#define TW_OSLI_DEFERRED_INTR_USED
+//#define TW_OSLI_DEFERRED_INTR_USED

 /* Possible values of req->state. */
 #define TW_OSLI_REQ_STATE_INIT		0x0	/* being initialized */
diff -Naur twa/tw_osl_share.h twa.new/tw_osl_share.h
--- twa/tw_osl_share.h	Thu May 10 08:36:58 2007
+++ twa.new/tw_osl_share.h	Sat May 12 00:34:30 2007
@@ -75,7 +75,7 @@
 #define TW_OSL_ENCLOSURE_SUPPORT
 #endif

-#define TW_OSL_DRIVER_VERSION_STRING	"3.70.03.006"
+#define TW_OSL_DRIVER_VERSION_STRING	"3.70.03.007"

 #define	TW_OSL_CAN_SLEEP

[-- Attachment #2 --]
diff -Naur twa/tw_osl.h twa.new/tw_osl.h
--- twa/tw_osl.h	Tue May  8 21:16:32 2007
+++ twa.new/tw_osl.h	Fri May 11 23:57:47 2007
@@ -52,7 +52,7 @@
 #define TW_OSLI_MAX_NUM_IOS		TW_CL_MAX_SIMULTANEOUS_REQUESTS
 #define TW_OSLI_MAX_NUM_AENS		0x100
 
-#define TW_OSLI_DEFERRED_INTR_USED
+//#define TW_OSLI_DEFERRED_INTR_USED
 
 /* Possible values of req->state. */
 #define TW_OSLI_REQ_STATE_INIT		0x0	/* being initialized */
diff -Naur twa/tw_osl_share.h twa.new/tw_osl_share.h
--- twa/tw_osl_share.h	Thu May 10 08:36:58 2007
+++ twa.new/tw_osl_share.h	Sat May 12 00:34:30 2007
@@ -75,7 +75,7 @@
 #define TW_OSL_ENCLOSURE_SUPPORT
 #endif
 
-#define TW_OSL_DRIVER_VERSION_STRING	"3.70.03.006"
+#define TW_OSL_DRIVER_VERSION_STRING	"3.70.03.007"
 
 #define	TW_OSL_CAN_SLEEP
 
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b1bc6a000705111627q66596922p78753c95db38aef3>