diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2005-09-16 13:28:01 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-20 13:44:31 -0400 |
commit | fe607aa94f5d25ee84f9a9a4fdf2cce3765e12e4 (patch) | |
tree | ca259d0afaa16ebc9ddc87e287e1358b069f3f60 /drivers/scsi/tmscsim.c | |
parent | beb8abd9a958999e238c31814230368045b942b3 (diff) |
[SCSI] dc395x: atomic_kmap for PIO
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/tmscsim.c')
-rw-r--r-- | drivers/scsi/tmscsim.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/tmscsim.c b/drivers/scsi/tmscsim.c index 9589c67de535..386bd6c67e73 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++; |