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

From: Martin Michlmayr
Date: Sun Mar 19 2006 - 23:39:52 EST


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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/