}
/* enqueue the IRP (h_cq is referenced in al_hdl_ref) */
- if (p_ioctl->notify_errors)
- IoCsqInsertIrp( &h_cq->error.csq, h_ioctl, NULL );
- else
+ if (p_ioctl->notify_comps)
IoCsqInsertIrp( &h_cq->compl.csq, h_ioctl, NULL );
+ else
+ IoCsqInsertIrp( &h_cq->error.csq, h_ioctl, NULL );
cl_status = CL_PENDING;
typedef struct _ual_ndi_notify_cq_ioctl_in\r
{\r
uint64_t h_cq;\r
- boolean_t notify_errors;\r
+ boolean_t notify_comps;\r
\r
} ual_ndi_notify_cq_ioctl_in_t;\r
/*\r
* h_cq\r
* A handle to the CQ to modify.\r
*\r
-* notify_errors\r
-* Type of notification, requested. If TRUE - errors, \r
-* otherwise - completion events.\r
+* notify_comps\r
+* Type of notification, requested. If TRUE - completion events, \r
+* otherwise - errors.\r
*\r
*****/\r
\r