itdglobl.h revision 285809
1156230Smux/******************************************************************************* 2156230Smux*Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 3156230Smux* 4156230Smux*Redistribution and use in source and binary forms, with or without modification, are permitted provided 5156230Smux*that the following conditions are met: 6156230Smux*1. Redistributions of source code must retain the above copyright notice, this list of conditions and the 7156230Smux*following disclaimer. 8156230Smux*2. Redistributions in binary form must reproduce the above copyright notice, 9156230Smux*this list of conditions and the following disclaimer in the documentation and/or other materials provided 10156230Smux*with the distribution. 11156230Smux* 12156230Smux*THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED 13156230Smux*WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 14156230Smux*FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 15156230Smux*FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 16156230Smux*NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 17156230Smux*BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18156230Smux*LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 19156230Smux*SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE 20156230Smux* 21156230Smux* $FreeBSD$ 22156230Smux* 23156230Smux********************************************************************************/ 24156230Smux/*******************************************************************************/ 25156230Smux/** \file 26156230Smux * 27156230Smux * #define for SAS intiator in SAS/SATA TD layer 28156230Smux * 29156230Smux */ 30156230Smux 31156230Smux 32156230Smux#ifndef __ITD_GLOBALS_H__ 33156230Smux 34156230Smux#define __ITD_GLOBALS_H__ 35156230Smux 36156230Smux 37156230Smux/* 38156230Smux * Transport specific default parameters. 39156230Smux */ 40156230Smux#define DEFAULT_NUM_DOMAINS 1 41#define DEFAULT_NUM_AREAS_PER_DOMAIN 1 42#define DEFAULT_DEVSLOTS_PER_AREA 128 43#define DEFAULT_MAX_TARGETS 256 44#define DEFAULT_EVENT_LOG_ELEMENTS 64 45#define DEFAULT_INI_TIMER_TICK 1000000 /* 1 second */ 46#define DEFAULT_TOTAL_DYNAMIC_MEM 0 47 48 49 50 51#endif /* __ITD_GLOBALS_H__ */ 52