s390: clean up qdio.h
Fix two typos, document missing fields in the driver initialization data and remove the copy&pasted 'pfmt' field from the qdr struct. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Jens Remus <jremus@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
609488bc97
commit
d655e5b4e1
|
@ -28,7 +28,7 @@
|
||||||
* @sliba: storage list information block address
|
* @sliba: storage list information block address
|
||||||
* @sla: storage list address
|
* @sla: storage list address
|
||||||
* @slsba: storage list state block address
|
* @slsba: storage list state block address
|
||||||
* @akey: access key for DLIB
|
* @akey: access key for SLIB
|
||||||
* @bkey: access key for SL
|
* @bkey: access key for SL
|
||||||
* @ckey: access key for SBALs
|
* @ckey: access key for SBALs
|
||||||
* @dkey: access key for SLSB
|
* @dkey: access key for SLSB
|
||||||
|
@ -50,11 +50,10 @@ struct qdesfmt0 {
|
||||||
/**
|
/**
|
||||||
* struct qdr - queue description record (QDR)
|
* struct qdr - queue description record (QDR)
|
||||||
* @qfmt: queue format
|
* @qfmt: queue format
|
||||||
* @pfmt: implementation dependent parameter format
|
|
||||||
* @ac: adapter characteristics
|
* @ac: adapter characteristics
|
||||||
* @iqdcnt: input queue descriptor count
|
* @iqdcnt: input queue descriptor count
|
||||||
* @oqdcnt: output queue descriptor count
|
* @oqdcnt: output queue descriptor count
|
||||||
* @iqdsz: inpout queue descriptor size
|
* @iqdsz: input queue descriptor size
|
||||||
* @oqdsz: output queue descriptor size
|
* @oqdsz: output queue descriptor size
|
||||||
* @qiba: queue information block address
|
* @qiba: queue information block address
|
||||||
* @qkey: queue information block key
|
* @qkey: queue information block key
|
||||||
|
@ -62,8 +61,7 @@ struct qdesfmt0 {
|
||||||
*/
|
*/
|
||||||
struct qdr {
|
struct qdr {
|
||||||
u32 qfmt : 8;
|
u32 qfmt : 8;
|
||||||
u32 pfmt : 8;
|
u32 : 16;
|
||||||
u32 : 8;
|
|
||||||
u32 ac : 8;
|
u32 ac : 8;
|
||||||
u32 : 8;
|
u32 : 8;
|
||||||
u32 iqdcnt : 8;
|
u32 iqdcnt : 8;
|
||||||
|
@ -327,6 +325,7 @@ typedef void qdio_handler_t(struct ccw_device *, unsigned int, int,
|
||||||
* struct qdio_initialize - qdio initialization data
|
* struct qdio_initialize - qdio initialization data
|
||||||
* @cdev: associated ccw device
|
* @cdev: associated ccw device
|
||||||
* @q_format: queue format
|
* @q_format: queue format
|
||||||
|
* @qdr_ac: feature flags to set
|
||||||
* @adapter_name: name for the adapter
|
* @adapter_name: name for the adapter
|
||||||
* @qib_param_field_format: format for qib_parm_field
|
* @qib_param_field_format: format for qib_parm_field
|
||||||
* @qib_param_field: pointer to 128 bytes or NULL, if no param field
|
* @qib_param_field: pointer to 128 bytes or NULL, if no param field
|
||||||
|
@ -338,6 +337,7 @@ typedef void qdio_handler_t(struct ccw_device *, unsigned int, int,
|
||||||
* @input_handler: handler to be called for input queues
|
* @input_handler: handler to be called for input queues
|
||||||
* @output_handler: handler to be called for output queues
|
* @output_handler: handler to be called for output queues
|
||||||
* @queue_start_poll_array: polling handlers (one per input queue or NULL)
|
* @queue_start_poll_array: polling handlers (one per input queue or NULL)
|
||||||
|
* @scan_threshold: # of in-use buffers that triggers scan on output queue
|
||||||
* @int_parm: interruption parameter
|
* @int_parm: interruption parameter
|
||||||
* @input_sbal_addr_array: address of no_input_qs * 128 pointers
|
* @input_sbal_addr_array: address of no_input_qs * 128 pointers
|
||||||
* @output_sbal_addr_array: address of no_output_qs * 128 pointers
|
* @output_sbal_addr_array: address of no_output_qs * 128 pointers
|
||||||
|
|
Loading…
Reference in New Issue