xref: /freebsd/sys/dev/pms/config.h (revision 2e3f49888ec8851bafb22011533217487764fdb0)
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 #ifndef CONFIG_H
25 #define CONFIG_H
26 
27 #define	LINUX_PERBI_SUPPORT
28 #define	HIALEAH_ENCRYPTION
29 #define	HOTPLUG_SUPPORT
30 #define	AG_CPU_LITTLE_ENDIAN
31 #define	INITIATOR_DRIVER
32 #define	AGTIAPI_SA
33 #define	AGTIAPI_EVENT_LOG
34 // #define	AGTIAPI_DPC
35 #define	AGTIAPI_SA
36 #define	PMC_SPC
37 #define	SPC_MSIX_INTR
38 #define	SPC_INT_ENABLE
39 #define	AGTIAPI_LOCAL_LOCK
40 #define	AGTIAPI_LOCAL_RESET
41 #define	MU_I2O_DISABLE
42 #define	HOST_SAST_ENABLE
43 #define	HOST_PM2_ENABLE
44 #define	TD_DISCOVER
45 #define	SA_ENABLE_HDA_FUNCTIONS
46 // #define	SA_FW_TEST_INTERRUPT_REASSERT
47 // #define	SALLSDK_DEBUG
48 // #define	AGTIAPI_DEBUG
49 // #define	TD_DEBUG_ENABLE
50 // #define	AGTIAPI_IO_DEBUG
51 // #define	AGTIAPI_FLOW_DEBUG
52 // #define	AGTIAPI_INIT_DEBUG
53 #define	PMC_PM8001_BAR64KB
54 // #define	DM_DEBUG
55 #define	FDS_DM
56 // #define	SM_DEBUG
57 #define	FDS_SM
58 #define	SATA_ENABLE
59 #define	CHAR_DEVICE
60 #define	TD_4GB_WORKAROUND
61 
62 #endif  /* CONFIG_H */
63