Subject: [PATCH] dec_esp.c compile fix

From: Jan-Benedict Glaw <[email-masked]>
Date: Sun, 11 Aug 2002 02:59:53 +0200

Hi!

Karsten Merker and I just made dec_esp.c compileable again. Please
apply, but beware: it's untested because we currently don't have HDDs
here...

MfG, JBG

Index: dec_esp.c
===================================================================
RCS file: /cvs/linux/drivers/scsi/dec_esp.c,v
retrieving revision 1.10.2.2
diff -u -r1.10.2.2 dec_esp.c
--- dec_esp.c	2002/07/24 17:55:47	1.10.2.2
+++ dec_esp.c	2002/08/11 00:25:15
@@ -447,15 +447,15 @@
     struct mmu_sglist *sg = (struct mmu_sglist *) sp->SCp.buffer;
 
     while (sz >= 0) {
-		sg[sz].dvma_addr = PHYSADDR(sg[sz].addr);
+		sg[sz].dvma_address = PHYSADDR(sg[sz].addr);
 	sz--;
     }
-	sp->SCp.ptr = (char *) ((unsigned long) sp->SCp.buffer->dvma_address);
+	sp->SCp.ptr = (char *) ((unsigned long) sp->SCp.buffer->dma_address);
 }
 
 static void dma_advance_sg(Scsi_Cmnd * sp)
 {
-	sp->SCp.ptr = (char *) ((unsigned long) sp->SCp.buffer->dvma_address);
+	sp->SCp.ptr = (char *) ((unsigned long) sp->SCp.buffer->dma_address);
 }
 
 static void pmaz_dma_drain(struct NCR_ESP *esp)

-- 
Jan-Benedict Glaw   .   [email-masked]   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/