|
@@ -304,10 +304,10 @@ static int myri10ge_command ( struct myri10ge_private *priv,
|
304
|
304
|
command->response_addr.high = 0;
|
305
|
305
|
command->response_addr.low
|
306
|
306
|
= htonl ( virt_to_bus ( &priv->dma->command_response ) );
|
307
|
|
- for ( i=0; i<36; i+=4 )
|
308
|
|
- * ( uint32 * ) &command->pad[i] = 0;
|
|
307
|
+ for ( i=0; i<9; i++ )
|
|
308
|
+ command->pad[i] = 0;
|
309
|
309
|
wmb();
|
310
|
|
- * ( uint32 * ) &command->pad[36] = 0;
|
|
310
|
+ command->pad[9] = 0;
|
311
|
311
|
|
312
|
312
|
/* Wait up to 2 seconds for a response. */
|
313
|
313
|
|