@@ -72,10 +72,6 @@ static bool norandom;
72
72
module_param (norandom , bool , 0644 );
73
73
MODULE_PARM_DESC (norandom , "Disable random offset setup (default: random)" );
74
74
75
- static bool polled ;
76
- module_param (polled , bool , S_IRUGO | S_IWUSR );
77
- MODULE_PARM_DESC (polled , "Use polling for completion instead of interrupts" );
78
-
79
75
static bool verbose ;
80
76
module_param (verbose , bool , S_IRUGO | S_IWUSR );
81
77
MODULE_PARM_DESC (verbose , "Enable \"success\" result messages (default: off)" );
@@ -88,6 +84,10 @@ static unsigned int transfer_size;
88
84
module_param (transfer_size , uint , 0644 );
89
85
MODULE_PARM_DESC (transfer_size , "Optional custom transfer size in bytes (default: not used (0))" );
90
86
87
+ static bool polled ;
88
+ module_param (polled , bool , S_IRUGO | S_IWUSR );
89
+ MODULE_PARM_DESC (polled , "Use polling for completion instead of interrupts" );
90
+
91
91
/**
92
92
* struct dmatest_params - test parameters.
93
93
* @buf_size: size of the memcpy test buffer
@@ -99,6 +99,11 @@ MODULE_PARM_DESC(transfer_size, "Optional custom transfer size in bytes (default
99
99
* @xor_sources: number of xor source buffers
100
100
* @pq_sources: number of p+q source buffers
101
101
* @timeout: transfer timeout in msec, -1 for infinite timeout
102
+ * @noverify: disable data verification
103
+ * @norandom: disable random offset setup
104
+ * @alignment: custom data address alignment taken as 2^alignment
105
+ * @transfer_size: custom transfer size in bytes
106
+ * @polled: use polling for completion instead of interrupts
102
107
*/
103
108
struct dmatest_params {
104
109
unsigned int buf_size ;
0 commit comments