[PATCH 12/12] [SCSI] mem_start is a physical address already

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



mem_start is a physical address already so there's no need to call
CPHYSADDR().  This brings the file in sync with the linux-mips tree.

Signed-off-by: Martin Michlmayr <tbm@xxxxxxxxxx>
Acked-by: Maciej W. Rozycki <macro@xxxxxxxxxxxxxx>


--- linux-2.6/drivers/scsi/dec_esp.c	2006-03-05 19:35:05.000000000 +0000
+++ mips.git/drivers/scsi/dec_esp.c	2006-03-05 18:51:16.000000000 +0000
@@ -230,7 +230,7 @@
 			mem_start = get_tc_base_addr(slot);
 
 			/* Store base addr into esp struct */
-			esp->slot = CPHYSADDR(mem_start);
+			esp->slot = mem_start;
 
 			esp->dregs = 0;
 			esp->eregs = (void *)CKSEG1ADDR(mem_start +

-- 
Martin Michlmayr
http://www.cyrius.com/


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux