xref: /freebsd/sys/dev/pms/RefTisa/tisa/sassata/sas/ini/itdglobl.h (revision 2ff63af9b88c7413b7d71715b5532625752a248e)
1 /*******************************************************************************
2 *Copyright (c) 2014 PMC-Sierra, Inc.  All rights reserved.
3 *
4 *Redistribution and use in source and binary forms, with or without modification, are permitted provided
5 *that the following conditions are met:
6 *1. Redistributions of source code must retain the above copyright notice, this list of conditions and the
7 *following disclaimer.
8 *2. Redistributions in binary form must reproduce the above copyright notice,
9 *this list of conditions and the following disclaimer in the documentation and/or other materials provided
10 *with the distribution.
11 *
12 *THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED
13 *WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 *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 *
22 ********************************************************************************/
23 /*******************************************************************************/
24 /** \file
25  *
26  * #define for SAS intiator in SAS/SATA TD layer
27  *
28  */
29 
30 
31 #ifndef __ITD_GLOBALS_H__
32 
33 #define __ITD_GLOBALS_H__
34 
35 
36 /*
37  * Transport specific default parameters.
38  */
39 #define DEFAULT_NUM_DOMAINS             1
40 #define DEFAULT_NUM_AREAS_PER_DOMAIN    1
41 #define DEFAULT_DEVSLOTS_PER_AREA       128
42 #define DEFAULT_MAX_TARGETS             256
43 #define DEFAULT_EVENT_LOG_ELEMENTS      64
44 #define DEFAULT_INI_TIMER_TICK          1000000     /* 1 second */
45 #define DEFAULT_TOTAL_DYNAMIC_MEM       0
46 
47 
48 
49 
50 #endif  /* __ITD_GLOBALS_H__ */
51