ttdreset.c revision 285809
1178825Sdfr/*******************************************************************************
2233294Sstas*Copyright (c) 2014 PMC-Sierra, Inc.  All rights reserved.
3233294Sstas*
4233294Sstas*Redistribution and use in source and binary forms, with or without modification, are permitted provided
5178825Sdfr*that the following conditions are met:
6233294Sstas*1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
7233294Sstas*following disclaimer.
8233294Sstas*2. Redistributions in binary form must reproduce the above copyright notice,
9178825Sdfr*this list of conditions and the following disclaimer in the documentation and/or other materials provided
10233294Sstas*with the distribution.
11233294Sstas*
12178825Sdfr*THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
13233294Sstas*WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14233294Sstas*FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
15233294Sstas*FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
16178825Sdfr*NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
17233294Sstas*BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
18233294Sstas*LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
19233294Sstas*SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
20178825Sdfr
21233294Sstas********************************************************************************/
22233294Sstas#include <osenv.h>
23233294Sstas#include <ostypes.h>
24233294Sstas#include <osdebug.h>
25233294Sstas
26233294Sstas#include <sa.h>
27233294Sstas#include <saapi.h>
28233294Sstas#include <saosapi.h>
29233294Sstas
30233294Sstas#include <titypes.h>
31233294Sstas#include <ostiapi.h>
32178825Sdfr#include <tiapi.h>
33178825Sdfr#include <tiglobal.h>
34178825Sdfr
35178825Sdfr#include <tdtypes.h>
36233294Sstas#include <osstring.h>
37178825Sdfr#include <tdutil.h>
38178825Sdfr
39178825Sdfr#ifdef INITIATOR_DRIVER
40178825Sdfr#include <itdtypes.h>
41178825Sdfr#include <itddefs.h>
42233294Sstas#include <itdglobl.h>
43233294Sstas#endif
44178825Sdfr
45178825Sdfr#ifdef TARGET_DRIVER
46178825Sdfr#include "ttdglobl.h"
47178825Sdfr#include "ttdtxchg.h"
48178825Sdfr#include "ttdtypes.h"
49178825Sdfr#endif
50178825Sdfr
51178825Sdfr#include <tdsatypes.h>
52178825Sdfr#include <tdproto.h>
53178825Sdfr