Deleted Added
full compact
lxcommon.h (285662) lxcommon.h (299081)
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,

--- 4 unchanged lines hidden (view full) ---

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*
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,

--- 4 unchanged lines hidden (view full) ---

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* $FreeBSD: head/sys/dev/pms/freebsd/driver/common/lxcommon.h 285242 2015-07-07 13:17:02Z achim $
21* $FreeBSD: head/sys/dev/pms/freebsd/driver/common/lxcommon.h 299081 2016-05-04 17:52:53Z pfg $
22*
23*******************************************************************************/
24/******************************************************************************
25
26Module Name:
27 lxcommon.h
28Abstract:
29 TISA Initiator/target driver module constant define header file

--- 417 unchanged lines hidden (view full) ---

447 // ## use as a map instead of presirq
448 struct resource *msix_entries[MAX_MSIX_NUM_VECTOR];
449#endif
450 U32 maxInterruptVectors;
451} ag_card_info_t;
452
453/*
454** Optional Adjustable Parameters Structures.
22*
23*******************************************************************************/
24/******************************************************************************
25
26Module Name:
27 lxcommon.h
28Abstract:
29 TISA Initiator/target driver module constant define header file

--- 417 unchanged lines hidden (view full) ---

447 // ## use as a map instead of presirq
448 struct resource *msix_entries[MAX_MSIX_NUM_VECTOR];
449#endif
450 U32 maxInterruptVectors;
451} ag_card_info_t;
452
453/*
454** Optional Adjustable Parameters Structures.
455** Not using pointer stucture for easy read and access tree structure.
455** Not using pointer structure for easy read and access tree structure.
456** In the future if more layer of key tree involved, it might be a good
457** idea to change the structure and program.
458*/
459typedef struct _ag_param_value{
460 char valueName[AGTIAPI_MAX_NAME];
461 char valueString[AGTIAPI_STRING_MAX];
462 struct _ag_param_value *next;
463} ag_value_t;

--- 168 unchanged lines hidden (view full) ---

632
633/*
634** link list basic pointers
635*/
636typedef struct _LINK_LIST
637{
638 PLINK_NODE pHead;
639 bit32 Count;
456** In the future if more layer of key tree involved, it might be a good
457** idea to change the structure and program.
458*/
459typedef struct _ag_param_value{
460 char valueName[AGTIAPI_MAX_NAME];
461 char valueString[AGTIAPI_STRING_MAX];
462 struct _ag_param_value *next;
463} ag_value_t;

--- 168 unchanged lines hidden (view full) ---

632
633/*
634** link list basic pointers
635*/
636typedef struct _LINK_LIST
637{
638 PLINK_NODE pHead;
639 bit32 Count;
640 LINK_NODE Head __cacheline_aligned; // allways one link to speed up insert&rm
640 LINK_NODE Head __cacheline_aligned; // always one link to speed up insert&rm
641} LINK_LIST, * PLINK_LIST __cacheline_aligned;
642
643
644/********************************************************************
645** MACROS
646********************************************************************/
647/*******************************************************************************
648**

--- 238 unchanged lines hidden ---
641} LINK_LIST, * PLINK_LIST __cacheline_aligned;
642
643
644/********************************************************************
645** MACROS
646********************************************************************/
647/*******************************************************************************
648**

--- 238 unchanged lines hidden ---