From owner-freebsd-drivers@FreeBSD.ORG Thu Dec 20 18:01:18 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A4B73AF for ; Thu, 20 Dec 2012 18:01:18 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ea0-f176.google.com (mail-ea0-f176.google.com [209.85.215.176]) by mx1.freebsd.org (Postfix) with ESMTP id DCAB98FC0A for ; Thu, 20 Dec 2012 18:01:17 +0000 (UTC) Received: by mail-ea0-f176.google.com with SMTP id d13so1463538eaa.7 for ; Thu, 20 Dec 2012 10:01:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=5RYxJ1ghqFujKDhd8Zys3xO8DUhn7+ZhS2WBirlkPRY=; b=A2doPNy9q9wpsFgcAg5VnHc+HPYNV+i6ykXrl/8vlKsTVrQcLwWfH+7AIARA7Ntopt KjCEvSAHRelhcfrI5eaO9UXK2cU8z6Kg1gGYwyn+OksvrlSsQ79dIKg0zr3yTB2pFXOh rdhwaAWT41pXDOFa1ANDdRneEJRquE/ZnuDN1D4GzsFgTLQzlbnLz+ss6pVLFUPSCmxq IaHwXHAHrnYHdYCQux4Tk2/1H5I+1lq7sa48z9WCiwv8IB39XKIU3df8CJBz8oxLt8Oz bmuWswE7f0e/dfRf8TRvE8SV5zcIj/A+svGHsWFlEKwCRZSzraIhFBh1OL7odQ759o5b TAvA== MIME-Version: 1.0 Received: by 10.14.194.199 with SMTP id m47mr24999004een.11.1356026476451; Thu, 20 Dec 2012 10:01:16 -0800 (PST) Received: by 10.223.18.22 with HTTP; Thu, 20 Dec 2012 10:01:16 -0800 (PST) Date: Thu, 20 Dec 2012 10:01:16 -0800 Message-ID: Subject: Request for assistance in modifying mfi to support LSI MegaRAID SAS 9266 From: Michael Sierchio To: freebsd-drivers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQl+KDqe4r+Y/8DWPGInrNCAvwYgUNPD8b6VzANCAl3m9NvlobblQKGNRVQ8nTDYnDKqsQpE X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2012 18:01:18 -0000 LSI MegaRAID SAS 9266 is not supported, the newest mentioned in the hardware notes is the 9260. A helpful pointer in the right direction would be welcome. Even if no code changes are required to support the device, I'm currently stuck on not recognizing the device when probed. pciconf yields none50@pci0:130:0:0: class=0x010400 card=0x92661000 chip=0x005b1000 rev=0x03 hdr=0x00 none50@pci0:130:0:0: class=0x010400 card=0x92661000 chip=0x005b1000 rev=0x03 hdr=0x00 vendor = 'LSI Logic (Was: Symbios Logic, NCR)' class = mass storage subclass = RAID I am uncertain how these values map to the definitions in mfi_pci.c struct mfi_ident { uint16_t vendor; uint16_t device; uint16_t subvendor; uint16_t subdevice; int flags; const char *desc; } mfi_identifiers[] = { {0x1000, 0x0060, 0x1028, 0xffff, MFI_FLAGS_1078, "Dell PERC 6"}, {0x1000, 0x0060, 0xffff, 0xffff, MFI_FLAGS_1078, "LSI MegaSAS 1078"}, {0x1000, 0x0078, 0xffff, 0xffff, MFI_FLAGS_GEN2, "LSI MegaSAS Gen2"}, {0x1000, 0x0079, 0x1028, 0x1f15, MFI_FLAGS_GEN2, "Dell PERC H800 Adapter"}, {0x1000, 0x0079, 0x1028, 0x1f16, MFI_FLAGS_GEN2, "Dell PERC H700 Adapter"}, {0x1000, 0x0079, 0x1028, 0x1f17, MFI_FLAGS_GEN2, "Dell PERC H700 Integrated"}, {0x1000, 0x0079, 0x1028, 0x1f18, MFI_FLAGS_GEN2, "Dell PERC H700 Modular"}, {0x1000, 0x0079, 0x1028, 0x1f19, MFI_FLAGS_GEN2, "Dell PERC H700"}, {0x1000, 0x0079, 0x1028, 0x1f1b, MFI_FLAGS_GEN2, "Dell PERC H800"}, {0x1000, 0x0079, 0x1028, 0xffff, MFI_FLAGS_GEN2, "Dell PERC Gen2"}, {0x1000, 0x0079, 0xffff, 0xffff, MFI_FLAGS_GEN2, "LSI MegaSAS Gen2"}, {0x1000, 0x007c, 0xffff, 0xffff, MFI_FLAGS_1078, "LSI MegaSAS 1078"}, {0x1000, 0x0411, 0xffff, 0xffff, MFI_FLAGS_1064R, "LSI MegaSAS 1064R"}, /* Brocton IOP */ {0x1000, 0x0413, 0xffff, 0xffff, MFI_FLAGS_1064R, "LSI MegaSAS 1064R"}, /* Verde ZCR */ {0x1000, 0x9266, 0x1000, 0x005b, MFI_FLAGS_GEN2, "LSI MegaSAS 9266"}, {0x1028, 0x0015, 0xffff, 0xffff, MFI_FLAGS_1064R, "Dell PERC 5/i"}, {0, 0, 0, 0, 0, NULL} }; Thanks. - M