From owner-freebsd-current@FreeBSD.ORG Fri May 11 23:27:41 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E9F016A409 for ; Fri, 11 May 2007 23:27:41 +0000 (UTC) (envelope-from aradford@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id F32C713C46C for ; Fri, 11 May 2007 23:27:40 +0000 (UTC) (envelope-from aradford@gmail.com) Received: by an-out-0708.google.com with SMTP id d23so267634and for ; Fri, 11 May 2007 16:27:40 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=e8q9Mam1kjYxP7v/Baa1uqJJl1VUvoTlX9IDUMF38ecUbcV1wysO2JFqlLcX3tbvuWdETpt4WH0f3R4pAV6dwIWCcweNt2yeO8q0Blq1KhHcpWFrmGUPeuoHVjxthf1LzrnUd3jzXuuzGlIOYko75SnHyz00wxPkwgjNHiLoPuQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=oMX/jY8XMOmUxcWFOX1LCOTGtHJpsB1E2ft2Q/s0Gh6vKAohm6jObsDod7G02Khk13IywkAFV/k51WMe+PjXgkoUHCz+A4Qec5uv6tMkdGAW/kLkr1Wm7OhAvpdkWHmxbxgNXMpWgTpyHaJE4BPa6eUV3RbYPD5s8m776VbQIwY= Received: by 10.100.108.11 with SMTP id g11mr2638193anc.1178926060049; Fri, 11 May 2007 16:27:40 -0700 (PDT) Received: by 10.100.239.10 with HTTP; Fri, 11 May 2007 16:27:40 -0700 (PDT) Message-ID: Date: Fri, 11 May 2007 16:27:40 -0700 From: "adam radford" To: "Scott Long" , scottl@freebsd.org, jhb@freebsd.org, freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_193308_13252704.1178926060002" Cc: Subject: 3ware FreeBSD 7.0 update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 May 2007 23:27:41 -0000 ------=_Part_193308_13252704.1178926060002 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_193308_13252704.1178926060002 Content-Type: text/x-patch; name=3ware_freebsd7.0.patch; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: base64 X-Attachment-Id: f_f1l9z4v0 Content-Disposition: attachment; filename="3ware_freebsd7.0.patch" ZGlmZiAtTmF1ciB0d2EvdHdfb3NsLmggdHdhLm5ldy90d19vc2wuaAotLS0gdHdhL3R3X29zbC5o CVR1ZSBNYXkgIDggMjE6MTY6MzIgMjAwNworKysgdHdhLm5ldy90d19vc2wuaAlGcmkgTWF5IDEx IDIzOjU3OjQ3IDIwMDcKQEAgLTUyLDcgKzUyLDcgQEAKICNkZWZpbmUgVFdfT1NMSV9NQVhfTlVN X0lPUwkJVFdfQ0xfTUFYX1NJTVVMVEFORU9VU19SRVFVRVNUUwogI2RlZmluZSBUV19PU0xJX01B WF9OVU1fQUVOUwkJMHgxMDAKIAotI2RlZmluZSBUV19PU0xJX0RFRkVSUkVEX0lOVFJfVVNFRAor Ly8jZGVmaW5lIFRXX09TTElfREVGRVJSRURfSU5UUl9VU0VECiAKIC8qIFBvc3NpYmxlIHZhbHVl cyBvZiByZXEtPnN0YXRlLiAqLwogI2RlZmluZSBUV19PU0xJX1JFUV9TVEFURV9JTklUCQkweDAJ LyogYmVpbmcgaW5pdGlhbGl6ZWQgKi8KZGlmZiAtTmF1ciB0d2EvdHdfb3NsX3NoYXJlLmggdHdh Lm5ldy90d19vc2xfc2hhcmUuaAotLS0gdHdhL3R3X29zbF9zaGFyZS5oCVRodSBNYXkgMTAgMDg6 MzY6NTggMjAwNworKysgdHdhLm5ldy90d19vc2xfc2hhcmUuaAlTYXQgTWF5IDEyIDAwOjM0OjMw IDIwMDcKQEAgLTc1LDcgKzc1LDcgQEAKICNkZWZpbmUgVFdfT1NMX0VOQ0xPU1VSRV9TVVBQT1JU CiAjZW5kaWYKIAotI2RlZmluZSBUV19PU0xfRFJJVkVSX1ZFUlNJT05fU1RSSU5HCSIzLjcwLjAz LjAwNiIKKyNkZWZpbmUgVFdfT1NMX0RSSVZFUl9WRVJTSU9OX1NUUklORwkiMy43MC4wMy4wMDci CiAKICNkZWZpbmUJVFdfT1NMX0NBTl9TTEVFUAogCg== ------=_Part_193308_13252704.1178926060002--