From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Subject: Re: [PATCH v2 35/36] atari_NCR5380: Move static co-routine variables to host data Date: Thu, 30 Oct 2014 09:42:45 +0100 Message-ID: <5451FA05.7000101@suse.de> References: <20141027052607.105914311@telegraphics.com.au> <20141027052615.575437286@telegraphics.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20141027052615.575437286@telegraphics.com.au> Sender: linux-scsi-owner@vger.kernel.org To: Finn Thain , "James E.J. Bottomley" Cc: Michael Schmitz , Sam Creasey , linux-scsi@vger.kernel.org, linux-m68k@vger.kernel.org List-Id: linux-m68k@vger.kernel.org On 10/27/2014 06:26 AM, Finn Thain wrote: > Unlike NCR5380.c, the atari_NCR5380.c core driver is limited to a sin= gle > instance because co-routine state is stored globally. >=20 > Fix this by removing the static scsi host pointer. For the co-routine= , > obtain this pointer from the work_struct pointer instead. For the int= errupt > handler, obtain it from the dev_id argument. >=20 > Signed-off-by: Finn Thain >=20 Reviewed-by: Hannes Reinecke Cheers, Hannes --=20 Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: J. Hawn, J. Guild, F. Imend=F6rffer, HRB 16746 (AG N=FCrnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html