[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070331092644.GA25989@infradead.org>
Date: Sat, 31 Mar 2007 10:26:44 +0100
From: Christoph Hellwig <hch@...radead.org>
To: Ed Lin <ed.lin@...mise.com>
Cc: linux-scsi <linux-scsi@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
"james.Bottomley" <james.Bottomley@...elEye.com>,
jeff <jeff@...zik.org>, promise_linux <promise_linux@...mise.com>
Subject: Re: [PATCH 1/4] [SCSI]stex: fix id mapping issue
On Fri, Mar 30, 2007 at 03:21:33PM -0700, Ed Lin wrote:
> + if (hba->cardtype == st_shasta) {
> req->lun = lun;
> req->target = id;
> + } else if (hba->cardtype == st_yosemite){
> + req->lun = id * ST_MAX_LUN_PER_TARGET + lun;
> + req->target = 0;
> + } else {
> + /* st_vsc and st_vsc1 */
> + req->lun = 0;
> + req->target = id * ST_MAX_LUN_PER_TARGET + lun;
I don't get why you can't export id as targer and lun as lun for
the !st_shasta types. Could you explain in detail what the problem
with that approach would be?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists