linux-mips
[Top] [All Lists]

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

To: akpm@osdl.org
Subject: [PATCH 12/12] [SCSI] mem_start is a physical address already
From: Martin Michlmayr <tbm@cyrius.com>
Date: Mon, 20 Mar 2006 04:41:27 +0000
Cc: linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, linux-scsi@vger.kernel.org
In-reply-to: <20060320043802.GA20389@deprecation.cyrius.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20060320043802.GA20389@deprecation.cyrius.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11+cvs20060126
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@cyrius.com>
Acked-by: Maciej W. Rozycki <macro@linux-mips.org>


--- 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/

<Prev in Thread] Current Thread [Next in Thread>