From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 6/11] qla2xxx: Add ISP24xx IOCB manipulation routines. Date: Tue, 14 Jun 2005 22:50:41 +0100 Message-ID: <20050614215041.GD5849@infradead.org> References: <20050614053136.12127.506.sendpatchset@plap.qlogic.com> <20050614053207.12127.3402.sendpatchset@plap.qlogic.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:39379 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S261362AbVFNVun (ORCPT ); Tue, 14 Jun 2005 17:50:43 -0400 Content-Disposition: inline In-Reply-To: <20050614053207.12127.3402.sendpatchset@plap.qlogic.com> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Andrew Vasquez Cc: James Bottomley , Linux-SCSI Mailing List > + * @sp: command to send to the ISP > + * > + * Returns non-zero if a failure occured, else zero. > + */ > +int > +qla24xx_start_scsi(srb_t *sp) It'd rather see 24xx having it's own ->queuecommand then adding another dispatch layer slightly below it. Put the code before and after _start_scsi into nice helpers so it's shared.