1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* $Id: entity.h,v 1.4 2004/03/21 17:26:01 armin Exp $ */ 3 4 #ifndef __DIVAS_USER_MODE_IDI_ENTITY__ 5 #define __DIVAS_USER_MODE_IDI_ENTITY__ 6 7 #define DIVA_UM_IDI_RC_PENDING 0x00000001 8 #define DIVA_UM_IDI_REMOVE_PENDING 0x00000002 9 #define DIVA_UM_IDI_TX_FLOW_CONTROL 0x00000004 10 #define DIVA_UM_IDI_REMOVED 0x00000008 11 #define DIVA_UM_IDI_ASSIGN_PENDING 0x00000010 12 13 typedef struct _divas_um_idi_entity { 14 struct list_head link; 15 diva_um_idi_adapter_t *adapter; /* Back to adapter */ 16 ENTITY e; 17 void *os_ref; 18 dword status; 19 void *os_context; 20 int rc_count; 21 diva_um_idi_data_queue_t data; /* definad by user 1 ... MAX */ 22 diva_um_idi_data_queue_t rc; /* two entries */ 23 BUFFERS XData; 24 BUFFERS RData; 25 byte buffer[2048 + 512]; 26 } divas_um_idi_entity_t; 27 28 29 #endif 30