misc/115133: [mpt][mfi] Patches to make mfi support LSI SAS1078 chip
Martin Nilsson
martin at gneto.com
Thu Aug 2 06:10:09 UTC 2007
>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 at 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:
More information about the freebsd-bugs
mailing list