diff options
Diffstat (limited to 'drivers/scsi/tmscsim.c')
-rw-r--r-- | drivers/scsi/tmscsim.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c index 9589c67de535..91322aff241d 100644 --- a/drivers/scsi/tmscsim.c +++ b/drivers/scsi/tmscsim.c | |||
@@ -988,7 +988,15 @@ din_1: | |||
988 | 988 | ||
989 | if( residual ) | 989 | if( residual ) |
990 | { | 990 | { |
991 | static int feedback_requested; | ||
991 | bval = DC390_read8 (ScsiFifo); /* get one residual byte */ | 992 | bval = DC390_read8 (ScsiFifo); /* get one residual byte */ |
993 | |||
994 | if (!feedback_requested) { | ||
995 | feedback_requested = 1; | ||
996 | printk(KERN_WARNING "%s: Please, contact <linux-scsi@vger.kernel.org> " | ||
997 | "to help improve support for your system.\n", __FILE__); | ||
998 | } | ||
999 | |||
992 | ptr = (u8 *) bus_to_virt( pSRB->SGBusAddr ); | 1000 | ptr = (u8 *) bus_to_virt( pSRB->SGBusAddr ); |
993 | *ptr = bval; | 1001 | *ptr = bval; |
994 | pSRB->SGBusAddr++; xferCnt++; | 1002 | pSRB->SGBusAddr++; xferCnt++; |
@@ -2077,8 +2085,8 @@ static int DC390_abort(struct scsi_cmnd *cmd) | |||
2077 | struct dc390_acb *pACB = (struct dc390_acb*) cmd->device->host->hostdata; | 2085 | struct dc390_acb *pACB = (struct dc390_acb*) cmd->device->host->hostdata; |
2078 | struct dc390_dcb *pDCB = (struct dc390_dcb*) cmd->device->hostdata; | 2086 | struct dc390_dcb *pDCB = (struct dc390_dcb*) cmd->device->hostdata; |
2079 | 2087 | ||
2080 | printk("DC390: Abort command (pid %li, Device %02i-%02i)\n", | 2088 | scmd_printk(KERN_WARNING, cmd, |
2081 | cmd->pid, cmd->device->id, cmd->device->lun); | 2089 | "DC390: Abort command (pid %li)\n", cmd->pid); |
2082 | 2090 | ||
2083 | /* abort() is too stupid for already sent commands at the moment. | 2091 | /* abort() is too stupid for already sent commands at the moment. |
2084 | * If it's called we are in trouble anyway, so let's dump some info | 2092 | * If it's called we are in trouble anyway, so let's dump some info |