|
@@ -214,7 +214,8 @@ int Ssfdc_D_ReadSect(struct us_data *us, BYTE *buf, BYTE *redundant)
|
|
|
|
|
|
result = ENE_LoadBinCode(us, SM_RW_PATTERN);
|
|
|
if (result != USB_STOR_XFER_GOOD) {
|
|
|
- dev_err(&us->pusb_dev->dev, "Load SM RW Code Fail !!\n");
|
|
|
+ dev_err(&us->pusb_dev->dev,
|
|
|
+ "Failed to load SmartMedia read/write code\n");
|
|
|
return USB_STOR_TRANSPORT_ERROR;
|
|
|
}
|
|
|
|
|
@@ -266,7 +267,8 @@ int Ssfdc_D_ReadBlock(struct us_data *us, WORD count, BYTE *buf,
|
|
|
|
|
|
result = ENE_LoadBinCode(us, SM_RW_PATTERN);
|
|
|
if (result != USB_STOR_XFER_GOOD) {
|
|
|
- dev_err(&us->pusb_dev->dev, "Load SM RW Code Fail !!\n");
|
|
|
+ dev_err(&us->pusb_dev->dev,
|
|
|
+ "Failed to load SmartMedia read/write code\n");
|
|
|
return USB_STOR_TRANSPORT_ERROR;
|
|
|
}
|
|
|
|
|
@@ -319,7 +321,8 @@ int Ssfdc_D_CopyBlock(struct us_data *us, WORD count, BYTE *buf,
|
|
|
|
|
|
result = ENE_LoadBinCode(us, SM_RW_PATTERN);
|
|
|
if (result != USB_STOR_XFER_GOOD) {
|
|
|
- dev_err(&us->pusb_dev->dev, "Load SM RW Code Fail !!\n");
|
|
|
+ dev_err(&us->pusb_dev->dev,
|
|
|
+ "Failed to load SmartMedia read/write code\n");
|
|
|
return USB_STOR_TRANSPORT_ERROR;
|
|
|
}
|
|
|
|
|
@@ -365,7 +368,8 @@ int Ssfdc_D_WriteSectForCopy(struct us_data *us, BYTE *buf, BYTE *redundant)
|
|
|
|
|
|
result = ENE_LoadBinCode(us, SM_RW_PATTERN);
|
|
|
if (result != USB_STOR_XFER_GOOD) {
|
|
|
- dev_err(&us->pusb_dev->dev, "Load SM RW Code Fail !!\n");
|
|
|
+ dev_err(&us->pusb_dev->dev,
|
|
|
+ "Failed to load SmartMedia read/write code\n");
|
|
|
return USB_STOR_TRANSPORT_ERROR;
|
|
|
}
|
|
|
|
|
@@ -403,7 +407,8 @@ int Ssfdc_D_EraseBlock(struct us_data *us)
|
|
|
|
|
|
result = ENE_LoadBinCode(us, SM_RW_PATTERN);
|
|
|
if (result != USB_STOR_XFER_GOOD) {
|
|
|
- dev_err(&us->pusb_dev->dev, "Load SM RW Code Fail !!\n");
|
|
|
+ dev_err(&us->pusb_dev->dev,
|
|
|
+ "Failed to load SmartMedia read/write code\n");
|
|
|
return USB_STOR_TRANSPORT_ERROR;
|
|
|
}
|
|
|
|
|
@@ -438,7 +443,8 @@ int Ssfdc_D_ReadRedtData(struct us_data *us, BYTE *redundant)
|
|
|
|
|
|
result = ENE_LoadBinCode(us, SM_RW_PATTERN);
|
|
|
if (result != USB_STOR_XFER_GOOD) {
|
|
|
- dev_err(&us->pusb_dev->dev, "Load SM RW Code Fail !!\n");
|
|
|
+ dev_err(&us->pusb_dev->dev,
|
|
|
+ "Failed to load SmartMedia read/write code\n");
|
|
|
return USB_STOR_TRANSPORT_ERROR;
|
|
|
}
|
|
|
|
|
@@ -477,7 +483,8 @@ int Ssfdc_D_WriteRedtData(struct us_data *us, BYTE *redundant)
|
|
|
|
|
|
result = ENE_LoadBinCode(us, SM_RW_PATTERN);
|
|
|
if (result != USB_STOR_XFER_GOOD) {
|
|
|
- dev_err(&us->pusb_dev->dev, "Load SM RW Code Fail !!\n");
|
|
|
+ dev_err(&us->pusb_dev->dev,
|
|
|
+ "Failed to load SmartMedia read/write code\n");
|
|
|
return USB_STOR_TRANSPORT_ERROR;
|
|
|
}
|
|
|
|