Date: Thu, 2 Aug 2007 06:09:55 GMT From: Martin Nilsson <martin@gneto.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/115133: [mpt][mfi] Patches to make mfi support LSI SAS1078 chip Message-ID: <200708020609.l7269tqa063118@www.freebsd.org> Resent-Message-ID: <200708020610.l726A9dH098397@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 115133 >Category: misc >Synopsis: [mpt][mfi] Patches to make mfi support LSI SAS1078 chip >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Thu Aug 02 06:10:09 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Nilsson >Release: 7.0-CURRENT >Organization: >Environment: FreeBSD t126.gneto.com 7.0-CURRENT FreeBSD 7.0-CURRENT #5: Wed Aug 1 18:30:14 CEST 2007 root@t126.gneto.com:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The attached patches removes SAS1078 support from mpt which does not work and adds it to the mfi driver. The patches have been taken from the Linux driver on LSI Logics webpage. With the patches the following cards should work: SAS8704ELP SAS8708ELP (tested) SAS8888ELP >How-To-Repeat: >Fix: Patch attached with submission follows: Common subdirectories: mpt.orig/mpilib and mpt/mpilib diff -u mpt.orig/mpt_pci.c mpt/mpt_pci.c --- mpt.orig/mpt_pci.c 2007-05-05 22:18:24.000000000 +0200 +++ mpt/mpt_pci.c 2007-08-01 22:11:22.000000000 +0200 @@ -181,10 +181,6 @@ #define PCI_PRODUCT_LSI_SAS1068E 0x0058 #endif -#ifndef PCI_PRODUCT_LSI_SAS1078 -#define PCI_PRODUCT_LSI_SAS1078 0x0060 -#endif - #ifndef PCIM_CMD_SERRESPEN #define PCIM_CMD_SERRESPEN 0x0100 #endif @@ -264,7 +260,6 @@ case PCI_PRODUCT_LSI_SAS1066E: case PCI_PRODUCT_LSI_SAS1068: case PCI_PRODUCT_LSI_SAS1068E: - case PCI_PRODUCT_LSI_SAS1078: desc = "LSILogic SAS/SATA Adapter"; break; default: @@ -440,7 +435,6 @@ case PCI_PRODUCT_LSI_SAS1066E: case PCI_PRODUCT_LSI_SAS1068: case PCI_PRODUCT_LSI_SAS1068E: - case PCI_PRODUCT_LSI_SAS1078: mpt->is_sas = 1; break; default: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708020609.l7269tqa063118>