180016Sobrien/******************************************************************************* 280016Sobrien*Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 380016Sobrien* 480016Sobrien*Redistribution and use in source and binary forms, with or without modification, are permitted provided 580016Sobrien*that the following conditions are met: 6130561Sobrien*1. Redistributions of source code must retain the above copyright notice, this list of conditions and the 780016Sobrien*following disclaimer. 880016Sobrien*2. Redistributions in binary form must reproduce the above copyright notice, 980016Sobrien*this list of conditions and the following disclaimer in the documentation and/or other materials provided 1080016Sobrien*with the distribution. 1180016Sobrien* 1280016Sobrien*THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED 1380016Sobrien*WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 1480016Sobrien*FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 15*FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 16*NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 17*BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18*LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 19*SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE 20* 21* $FreeBSD$ 22* 23********************************************************************************/ 24/*******************************************************************************/ 25/** \file 26 * 27 * 28 * data structures for SAS intiator in SAS/SATA TD layer 29 * 30 */ 31 32#ifndef __ITDTYPES_H__ 33 34#define __ITDTYPES_H__ 35 36#include <dev/pms/RefTisa/sallsdk/api/sa.h> 37#include <dev/pms/RefTisa/tisa/api/titypes.h> 38#include <dev/pms/RefTisa/tisa/sassata/sas/common/tdtypes.h> 39#include <dev/pms/RefTisa/tisa/sassata/common/tdlist.h> 40#include <dev/pms/RefTisa/tisa/sassata/sas/ini/itddefs.h> 41 42/** \brief data structure for the options of SAS initiator 43 * 44 * This data structure contains options for SAS initiator such as the maximum 45 * number of allowed targets and DIF capability 46 * 47 */ 48typedef struct itdssOperatingOption_s { 49 bit32 MaxTargets; /**< the maximum number of allowed targets */ 50 /* this is read from a file or #defined 51 then passed to TD layer from tiInitiatorResource_t 52 */ 53 bit32 UsecsPerTick; /* in micro seconds */ 54} itdssOperatingOption_t; 55 56 57 58 59#endif /* __ITDTYPES_H__ */ 60