635374e7eb
* This is new scsi lld device driver from LSI supporting the SAS 2.0 standard. I have split patchs by filename. * Here is list of new 6gb host controllers: LSI SAS2004 LSI SAS2008 LSI SAS2108 LSI SAS2116 * Here are the changes in the 4th posting of this patch set: (1) fix compile errors when SCSI_MPT2SAS_LOGGING is not enabled (2) add mpt2sas to the SCSI Mid Layer Makefile (3) append mpt2sas_ to the naming of all non-static functions (4) fix oops for SMP_PASSTHRU (5) doorbell algorithm imported changes from windows driver * Here are the changes in the 3rd posting of this patch set: (1) add readl following writel from the function that disables interrupts (2) replace 0xFFFFFFFFFFFFFFFFULL with ~0ULL (3) when calling pci_enable_msix, only pass one msix entry (instead of 15). (4) remove the "current HW implementation uses..... " comment in the sources (5) merged bug fix for SIGIO/POLLIN notifcation; reported by the storlib team. * Here are the changes in the 2nd posting of this patch set: (1) use little endian types in the mpi headers (2) merged in bug fix's from inhouse drivers. Signed-off-by: Eric Moore <eric.moore@lsi.com> Tested-by: peter Bogdanovic <pbog@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
62 lines
1.6 KiB
C
62 lines
1.6 KiB
C
/*
|
|
* Copyright (c) 2000-2007 LSI Corporation.
|
|
*
|
|
*
|
|
* Name: mpi2_type.h
|
|
* Title: MPI basic type definitions
|
|
* Creation Date: August 16, 2006
|
|
*
|
|
* mpi2_type.h Version: 02.00.00
|
|
*
|
|
* Version History
|
|
* ---------------
|
|
*
|
|
* Date Version Description
|
|
* -------- -------- ------------------------------------------------------
|
|
* 04-30-07 02.00.00 Corresponds to Fusion-MPT MPI Specification Rev A.
|
|
* --------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef MPI2_TYPE_H
|
|
#define MPI2_TYPE_H
|
|
|
|
|
|
/*******************************************************************************
|
|
* Define MPI2_POINTER if it hasn't already been defined. By default
|
|
* MPI2_POINTER is defined to be a near pointer. MPI2_POINTER can be defined as
|
|
* a far pointer by defining MPI2_POINTER as "far *" before this header file is
|
|
* included.
|
|
*/
|
|
#ifndef MPI2_POINTER
|
|
#define MPI2_POINTER *
|
|
#endif
|
|
|
|
/* the basic types may have already been included by mpi_type.h */
|
|
#ifndef MPI_TYPE_H
|
|
/*****************************************************************************
|
|
*
|
|
* Basic Types
|
|
*
|
|
*****************************************************************************/
|
|
|
|
typedef u8 U8;
|
|
typedef __le16 U16;
|
|
typedef __le32 U32;
|
|
typedef __le64 U64 __attribute__((aligned(4)));
|
|
|
|
/*****************************************************************************
|
|
*
|
|
* Pointer Types
|
|
*
|
|
*****************************************************************************/
|
|
|
|
typedef U8 *PU8;
|
|
typedef U16 *PU16;
|
|
typedef U32 *PU32;
|
|
typedef U64 *PU64;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|