Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* $Id: entity.h,v 1.4 2004/03/21 17:26:01 armin Exp $ */ |
| 2 | |
| 3 | #ifndef __DIVAS_USER_MODE_IDI_ENTITY__ |
| 4 | #define __DIVAS_USER_MODE_IDI_ENTITY__ |
| 5 | |
| 6 | #define DIVA_UM_IDI_RC_PENDING 0x00000001 |
| 7 | #define DIVA_UM_IDI_REMOVE_PENDING 0x00000002 |
| 8 | #define DIVA_UM_IDI_TX_FLOW_CONTROL 0x00000004 |
| 9 | #define DIVA_UM_IDI_REMOVED 0x00000008 |
| 10 | #define DIVA_UM_IDI_ASSIGN_PENDING 0x00000010 |
| 11 | |
| 12 | typedef struct _divas_um_idi_entity { |
| 13 | struct list_head link; |
Joe Perches | 475be4d | 2012-02-19 19:52:38 -0800 | [diff] [blame] | 14 | diva_um_idi_adapter_t *adapter; /* Back to adapter */ |
| 15 | ENTITY e; |
| 16 | void *os_ref; |
| 17 | dword status; |
| 18 | void *os_context; |
| 19 | int rc_count; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | diva_um_idi_data_queue_t data; /* definad by user 1 ... MAX */ |
| 21 | diva_um_idi_data_queue_t rc; /* two entries */ |
| 22 | BUFFERS XData; |
| 23 | BUFFERS RData; |
Joe Perches | 475be4d | 2012-02-19 19:52:38 -0800 | [diff] [blame] | 24 | byte buffer[2048 + 512]; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | } divas_um_idi_entity_t; |
| 26 | |
| 27 | |
| 28 | #endif |