Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 13 Nov 2002 06:57:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 13 Nov 2002 06:57:27 -0500 Received: from mta01ps.bigpond.com ([144.135.25.133]:60120 "EHLO mta01ps.bigpond.com") by vger.kernel.org with ESMTP id ; Wed, 13 Nov 2002 06:57:26 -0500 Date: Wed, 13 Nov 2002 23:03:56 +1100 From: Michael Still To: Christoph Hellwig cc: Kernel Mailing List , Subject: Re: Linux v2.5.47 In-Reply-To: <20021113002222.B323@infradead.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 678 Lines: 29 On Wed, 13 Nov 2002, Christoph Hellwig wrote: > You can convert it easily into a new-style pci driver with the following > probe routine: Remembering of course that a scsi_register() can fail... > [do basic setup] > sdev = scsi_register(); if(sdev == NULL){ /* Handle error */ } > [do more setup] > return scsi_add_host(); Cheers, Mikal -- Michael Still (mikal@stillhq.com) UTC +10 hours - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/