1*4e1bc9a0SAchim Leubner /******************************************************************************* 2*4e1bc9a0SAchim Leubner ** 3*4e1bc9a0SAchim Leubner *Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 4*4e1bc9a0SAchim Leubner * 5*4e1bc9a0SAchim Leubner *Redistribution and use in source and binary forms, with or without modification, are permitted provided 6*4e1bc9a0SAchim Leubner *that the following conditions are met: 7*4e1bc9a0SAchim Leubner *1. Redistributions of source code must retain the above copyright notice, this list of conditions and the 8*4e1bc9a0SAchim Leubner *following disclaimer. 9*4e1bc9a0SAchim Leubner *2. Redistributions in binary form must reproduce the above copyright notice, 10*4e1bc9a0SAchim Leubner *this list of conditions and the following disclaimer in the documentation and/or other materials provided 11*4e1bc9a0SAchim Leubner *with the distribution. 12*4e1bc9a0SAchim Leubner * 13*4e1bc9a0SAchim Leubner *THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED 14*4e1bc9a0SAchim Leubner *WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 15*4e1bc9a0SAchim Leubner *FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 16*4e1bc9a0SAchim Leubner *FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 17*4e1bc9a0SAchim Leubner *NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 18*4e1bc9a0SAchim Leubner *BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 19*4e1bc9a0SAchim Leubner *LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 20*4e1bc9a0SAchim Leubner *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE 21*4e1bc9a0SAchim Leubner * 22*4e1bc9a0SAchim Leubner * 23*4e1bc9a0SAchim Leubner ********************************************************************************/ 24*4e1bc9a0SAchim Leubner /*******************************************************************************/ 25*4e1bc9a0SAchim Leubner /** \file 26*4e1bc9a0SAchim Leubner * 27*4e1bc9a0SAchim Leubner * 28*4e1bc9a0SAchim Leubner * #define for SAS intiator in SAS/SATA TD layer 29*4e1bc9a0SAchim Leubner * 30*4e1bc9a0SAchim Leubner */ 31*4e1bc9a0SAchim Leubner 32*4e1bc9a0SAchim Leubner 33*4e1bc9a0SAchim Leubner #ifndef __ITDDEFS_H__ 34*4e1bc9a0SAchim Leubner #define __ITDDEFS_H__ 35*4e1bc9a0SAchim Leubner /* discovery related state */ 36*4e1bc9a0SAchim Leubner #define ITD_DSTATE_NOT_STARTED 0 37*4e1bc9a0SAchim Leubner #define ITD_DSTATE_STARTED 1 38*4e1bc9a0SAchim Leubner #define ITD_DSTATE_COMPLETED 2 39*4e1bc9a0SAchim Leubner 40*4e1bc9a0SAchim Leubner /* SAS/SATA discovery status */ 41*4e1bc9a0SAchim Leubner #define DISCOVERY_NOT_START 0 /**< status indicates discovery not started */ 42*4e1bc9a0SAchim Leubner #define DISCOVERY_UP_STREAM 1 /**< status indicates discover upstream */ 43*4e1bc9a0SAchim Leubner #define DISCOVERY_DOWN_STREAM 2 /**< status indicates discover downstream */ 44*4e1bc9a0SAchim Leubner #define DISCOVERY_CONFIG_ROUTING 3 /**< status indicates discovery config routing table */ 45*4e1bc9a0SAchim Leubner #define DISCOVERY_SAS_DONE 4 /**< status indicates discovery done */ 46*4e1bc9a0SAchim Leubner #define DISCOVERY_REPORT_PHY_SATA 5 /**< status indicates discovery report phy sata */ 47*4e1bc9a0SAchim Leubner #endif /* __ITDDEFS_H__ */ 48