@@ -1301,32 +1301,32 @@ static unsigned int pdc20621_dimm_init(struct ata_host *host)
1301
1301
}
1302
1302
1303
1303
if (dimm_test ) {
1304
- u8 test_parttern1 [40 ] =
1304
+ u8 test_pattern1 [40 ] =
1305
1305
{0x55 ,0xAA ,'P' ,'r' ,'o' ,'m' ,'i' ,'s' ,'e' ,' ' ,
1306
1306
'N' ,'o' ,'t' ,' ' ,'Y' ,'e' ,'t' ,' ' ,
1307
1307
'D' ,'e' ,'f' ,'i' ,'n' ,'e' ,'d' ,' ' ,
1308
1308
'1' ,'.' ,'1' ,'0' ,
1309
1309
'9' ,'8' ,'0' ,'3' ,'1' ,'6' ,'1' ,'2' ,0 ,0 };
1310
- u8 test_parttern2 [40 ] = {0 };
1310
+ u8 test_pattern2 [40 ] = {0 };
1311
1311
1312
- pdc20621_put_to_dimm (host , test_parttern2 , 0x10040 , 40 );
1313
- pdc20621_put_to_dimm (host , test_parttern2 , 0x40 , 40 );
1312
+ pdc20621_put_to_dimm (host , test_pattern2 , 0x10040 , 40 );
1313
+ pdc20621_put_to_dimm (host , test_pattern2 , 0x40 , 40 );
1314
1314
1315
- pdc20621_put_to_dimm (host , test_parttern1 , 0x10040 , 40 );
1316
- pdc20621_get_from_dimm (host , test_parttern2 , 0x40 , 40 );
1317
- dev_info (host -> dev , "DIMM test pattern 1: %x, %x, %s\n" , test_parttern2 [0 ],
1318
- test_parttern2 [1 ], & (test_parttern2 [2 ]));
1319
- pdc20621_get_from_dimm (host , test_parttern2 , 0x10040 ,
1315
+ pdc20621_put_to_dimm (host , test_pattern1 , 0x10040 , 40 );
1316
+ pdc20621_get_from_dimm (host , test_pattern2 , 0x40 , 40 );
1317
+ dev_info (host -> dev , "DIMM test pattern 1: %x, %x, %s\n" , test_pattern2 [0 ],
1318
+ test_pattern2 [1 ], & (test_pattern2 [2 ]));
1319
+ pdc20621_get_from_dimm (host , test_pattern2 , 0x10040 ,
1320
1320
40 );
1321
1321
dev_info (host -> dev , "DIMM test pattern 2: %x, %x, %s\n" ,
1322
- test_parttern2 [0 ],
1323
- test_parttern2 [1 ], & (test_parttern2 [2 ]));
1322
+ test_pattern2 [0 ],
1323
+ test_pattern2 [1 ], & (test_pattern2 [2 ]));
1324
1324
1325
- pdc20621_put_to_dimm (host , test_parttern1 , 0x40 , 40 );
1326
- pdc20621_get_from_dimm (host , test_parttern2 , 0x40 , 40 );
1325
+ pdc20621_put_to_dimm (host , test_pattern1 , 0x40 , 40 );
1326
+ pdc20621_get_from_dimm (host , test_pattern2 , 0x40 , 40 );
1327
1327
dev_info (host -> dev , "DIMM test pattern 3: %x, %x, %s\n" ,
1328
- test_parttern2 [0 ],
1329
- test_parttern2 [1 ], & (test_parttern2 [2 ]));
1328
+ test_pattern2 [0 ],
1329
+ test_pattern2 [1 ], & (test_pattern2 [2 ]));
1330
1330
}
1331
1331
1332
1332
/* ECC initiliazation. */
0 commit comments