Print this page
hg changesets 607a5b46a793..b706c96317c3
Fix ncpus for early boot config
Purge the ack to the interrupt before exiting mptsas_intr()
Changes from code review
Initial modifications using the code changes present between
the LSI source code for FreeBSD drivers. Specifically the changes
between from mpslsi-source-17.00.00.00 -> mpslsi-source-03.00.00.00.
This mainly involves using a different scatter/gather element in
frame setup.
Changes to enable driver to compile.
Header paths, object lists, etc.

*** 23,32 **** --- 23,33 ---- * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* * Copyright (c) 2013, Joyent, Inc. All rights reserved. + * Copyright (c) 2014, Tegile Systems Inc. All rights reserved. */ /* * Copyright (c) 2000 to 2010, LSI Corporation. * All rights reserved.
*** 52,63 **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. */ ! #ifndef _MPTSAS_IOCTL_H ! #define _MPTSAS_IOCTL_H #ifdef __cplusplus extern "C" { #endif --- 53,64 ---- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH * DAMAGE. */ ! #ifndef _MPTSAS3_IOCTL_H ! #define _MPTSAS3_IOCTL_H #ifdef __cplusplus extern "C" { #endif
*** 100,117 **** /* * The following is the MPTIOCTL_GET_ADAPTER_DATA data structure. This data * structure is setup so that we hopefully are properly aligned for both * 32-bit and 64-bit mode applications. * ! * Adapter Type - Value = 4 = SCSI Protocol through SAS-2 adapter * * MPI Port Number - The PCI Function number for this device * * PCI Device HW Id - The PCI device number for this device * */ ! #define MPTIOCTL_ADAPTER_TYPE_SAS2 4 typedef struct mptsas_adapter_data { uint32_t StructureLength; uint32_t AdapterType; uint32_t MpiPortNumber; --- 101,118 ---- /* * The following is the MPTIOCTL_GET_ADAPTER_DATA data structure. This data * structure is setup so that we hopefully are properly aligned for both * 32-bit and 64-bit mode applications. * ! * Adapter Type - Value = 6 = SCSI Protocol through SAS-3 adapter * * MPI Port Number - The PCI Function number for this device * * PCI Device HW Id - The PCI device number for this device * */ ! #define MPTIOCTL_ADAPTER_TYPE_SAS3 6 typedef struct mptsas_adapter_data { uint32_t StructureLength; uint32_t AdapterType; uint32_t MpiPortNumber;
*** 355,360 **** #ifdef __cplusplus } #endif ! #endif /* _MPTSAS_IOCTL_H */ --- 356,361 ---- #ifdef __cplusplus } #endif ! #endif /* _MPTSAS3_IOCTL_H */