itdglobl.h revision 285242
1285242Sachim/******************************************************************************* 2285242Sachim*Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 3285242Sachim* 4285242Sachim*Redistribution and use in source and binary forms, with or without modification, are permitted provided 5285242Sachim*that the following conditions are met: 6285242Sachim*1. Redistributions of source code must retain the above copyright notice, this list of conditions and the 7285242Sachim*following disclaimer. 8285242Sachim*2. Redistributions in binary form must reproduce the above copyright notice, 9285242Sachim*this list of conditions and the following disclaimer in the documentation and/or other materials provided 10285242Sachim*with the distribution. 11285242Sachim* 12285242Sachim*THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED 13285242Sachim*WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 14285242Sachim*FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 15285242Sachim*FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 16285242Sachim*NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR 17285242Sachim*BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 18285242Sachim*LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 19285242Sachim*SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE 20285242Sachim* 21285242Sachim* $FreeBSD: projects/pms/sys/dev/pms/RefTisa/tisa/sassata/sas/ini/itdglobl.h 285242 2015-07-07 13:17:02Z achim $ 22285242Sachim* 23285242Sachim********************************************************************************/ 24285242Sachim/*******************************************************************************/ 25285242Sachim/** \file 26285242Sachim * 27285242Sachim * #define for SAS intiator in SAS/SATA TD layer 28285242Sachim * 29285242Sachim */ 30285242Sachim 31285242Sachim 32285242Sachim#ifndef __ITD_GLOBALS_H__ 33285242Sachim 34285242Sachim#define __ITD_GLOBALS_H__ 35285242Sachim 36285242Sachim 37285242Sachim/* 38285242Sachim * Transport specific default parameters. 39285242Sachim */ 40285242Sachim#define DEFAULT_NUM_DOMAINS 1 41285242Sachim#define DEFAULT_NUM_AREAS_PER_DOMAIN 1 42285242Sachim#define DEFAULT_DEVSLOTS_PER_AREA 128 43285242Sachim#define DEFAULT_MAX_TARGETS 256 44285242Sachim#define DEFAULT_EVENT_LOG_ELEMENTS 64 45285242Sachim#define DEFAULT_INI_TIMER_TICK 1000000 /* 1 second */ 46285242Sachim#define DEFAULT_TOTAL_DYNAMIC_MEM 0 47285242Sachim 48285242Sachim 49285242Sachim 50285242Sachim 51285242Sachim#endif /* __ITD_GLOBALS_H__ */ 52