Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 8 Nov 2002 19:42:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 8 Nov 2002 19:42:32 -0500 Received: from e33.co.us.ibm.com ([32.97.110.131]:37317 "EHLO e33.co.us.ibm.com") by vger.kernel.org with ESMTP id ; Fri, 8 Nov 2002 19:42:30 -0500 Date: Fri, 8 Nov 2002 16:50:11 -0800 From: Mike Anderson To: Alan Cox Cc: Russell King , Geert Uytterhoeven , Linux Kernel Development , Rusty Trivial Russell , linux-scsi@vger.kernel.org Subject: Re: [PATCH] SCSI on non-ISA systems Message-ID: <20021109005011.GC1040@beaverton.ibm.com> Mail-Followup-To: Alan Cox , Russell King , Geert Uytterhoeven , Linux Kernel Development , Rusty Trivial Russell , linux-scsi@vger.kernel.org References: <20021108135742.A22790@flint.arm.linux.org.uk> <20021108144234.A24114@flint.arm.linux.org.uk> <1036772421.16651.10.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1036772421.16651.10.camel@irongate.swansea.linux.org.uk> User-Agent: Mutt/1.4i X-Operating-System: Linux 2.0.32 on an i486 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1366 Lines: 34 Alan Cox [alan@lxorguk.ukuu.org.uk] wrote: > On Fri, 2002-11-08 at 14:42, Russell King wrote: > > Probably the correct answer is to get everyone to use an explicit release > > function and just kill scsi_host_generic_release() entirely. > > > > However, I'm sure other people will have differing views on that. > > There are three things I'd like to do in that area > > 1. Make a release function mandatory (and I'm happy to paste it into the > old scsi drivers) This sounds good to get rid of this function. My list of drivers having detect functions shows only 16 of 103 would need the addition of a release function. There is already a check for detect at the top of the scsi_register_host function. When release is added a printk would also be nice to indicate lack of these required functions. Douglas Gilbert is starting to work on updating the api document so we can change the required field to yes if the driver is using the scsi_register_host / scsi_unregister_host interface and not-required if it using Christoph's newer scsi_add_host / scsi_remove_host. -andmike -- Michael Anderson andmike@us.ibm.com - 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/