lkml.org 
[lkml]   [1996]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectAMD PCscsi broken by 2.1.0
Hi guys.

The AM53C974 SCSI driver broke with kernel 2.1.0. The following tiny
patch fixes that problem (but not the various other problems that this
version of the driver has).

phil
--
--- clean-linux/linux/drivers/scsi/AM53C974.c Mon May 13 23:56:40 1996
+++ linux/drivers/scsi/AM53C974.c Wed Sep 25 18:45:18 1996
@@ -2005,7 +2015,7 @@
AM53C974_write_8(STCMREG, (unsigned char)((length & 0xff00) >> 8));
AM53C974_write_8(STCHREG, (unsigned char)((length & 0xff0000) >> 16));
AM53C974_write_32(DMASTC, length & 0xffffff);
-AM53C974_write_32(DMASPA, (unsigned long)data);
+AM53C974_write_32(DMASPA, virt_to_bus((unsigned long)data));
AM53C974_write_8(CMDREG, CMDREG_IT | CMDREG_DMA);
AM53C974_write_8(DMACMD, (dir << 7) | DMACMD_INTE_D | DMACMD_START);
}

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.046 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site