From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Bottomley Subject: Re: [PATCH] Fix reference counting for failed SCSI devices Date: Wed, 25 May 2005 13:51:29 -0400 Message-ID: <1117043489.5210.4.camel@mulgrave> References: <4292F631.9090300@suse.de> <1116975478.7710.28.camel@mulgrave> <4294201D.4070304@suse.de> <1117024043.5071.6.camel@mulgrave> <429473A1.6010402@suse.de> <1117033088.4956.5.camel@mulgrave> <429496C2.3020706@suse.de> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from stat16.steeleye.com ([209.192.50.48]:35820 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S261517AbVEYRvl (ORCPT ); Wed, 25 May 2005 13:51:41 -0400 In-Reply-To: <429496C2.3020706@suse.de> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Hannes Reinecke Cc: SCSI Mailing List , Linux Kernel On Wed, 2005-05-25 at 17:16 +0200, Hannes Reinecke wrote: > I guess it's time to convert aic79xx to the spi_transport class. > Unfortunately my attempt segfaults when removing a device in > attribute_container_device_trigger(); someone is overwriting the ->match > function. Oh well, further debugging needed. Well ... best of luck. Given the problems incurred doing this for aic7xxx (mainly in initial inquiry and domain validation, one of which is outstanding still) it's not going to be easy. Large segments of the aic79xx driver are identical to the aic7xxx driver except that all the functions being ahd_ instead of ahc_, so you should just be able to mirror quite a lot of the aic7xxx updates. However, you need to include a large number of rather nasty u320 parameters in the SPI transport Class (and make sure they're coupled correctly) to get domain validation to work ... the transport class has also only been tested on speeds up to u160, so going to u320 will be a first for it too... James