xref: /freebsd/sys/dev/pms/RefTisa/tisa/sassata/sas/tgt/ttdtimer.c (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
1 /*******************************************************************************
2 **
3 *Copyright (c) 2014 PMC-Sierra, Inc.  All rights reserved.
4 *
5 *Redistribution and use in source and binary forms, with or without modification, are permitted provided
6 *that the following conditions are met:
7 *1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
8 *following disclaimer.
9 *2. Redistributions in binary form must reproduce the above copyright notice,
10 *this list of conditions and the following disclaimer in the documentation and/or other materials provided
11 *with the distribution.
12 *
13 *THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
14 *WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
15 *FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16 *FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
17 *NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
18 *BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
19 *LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
20 *SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
21 
22 ********************************************************************************/
23 /*******************************************************************************/
24 /** \file
25  *
26  * $RCSfile: ttdtimer.c,v $
27  *
28  * Copyright 2006 PMC-Sierra, Inc.
29  *
30  * $Author: hasungwo $
31  * $Revision: 112322 $
32  * $Date: 2012-01-04 19:23:42 -0800 (Wed, 04 Jan 2012) $
33  *
34  * This file contains initiator IO related functions in TD layer
35  *
36  */
37 #include <osenv.h>
38 #include <ostypes.h>
39 #include <osdebug.h>
40 
41 #include <sa.h>
42 #include <saapi.h>
43 #include <saosapi.h>
44 
45 #include <titypes.h>
46 #include <ostiapi.h>
47 #include <tiapi.h>
48 #include <tiglobal.h>
49 
50 #include <tdtypes.h>
51 #include <osstring.h>
52 #include <tdutil.h>
53 
54 #ifdef INITIATOR_DRIVER
55 #include <itdtypes.h>
56 #include <itddefs.h>
57 #include <itdglobl.h>
58 #endif
59 
60 #ifdef TARGET_DRIVER
61 #include "ttdglobl.h"
62 #include "ttdtxchg.h"
63 #include "ttdtypes.h"
64 #endif
65 
66 #include <tdsatypes.h>
67 #include <tdproto.h>
68 
69 /*****************************************************************************
70 *
71 * tiTargetTimerTick
72 *
73 *  Purpose:  This function is called by the os-specific module
74 *
75 *  Parameters:
76 *
77 *    tiRoot:            Pointer to driver/port instance.
78 *
79 *
80 *  Return: None
81 *
82 *
83 *****************************************************************************/
84 
85 osGLOBAL void
86 tiTGTTimerTick(tiRoot_t  *tiRoot)
87 {
88   /* does nothing for now */
89   return;
90 }
91