Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 9 Feb 2002 13:21:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 9 Feb 2002 13:21:25 -0500 Received: from tmr-02.dsl.thebiz.net ([216.238.38.204]:4614 "EHLO gatekeeper.tmr.com") by vger.kernel.org with ESMTP id ; Sat, 9 Feb 2002 13:21:09 -0500 Date: Sat, 9 Feb 2002 13:19:58 -0500 (EST) From: Bill Davidsen To: Pavel Machek cc: Dave Jones , kernel list , vojtech@ucw.cz, andre@linuxdiskcert.org Subject: Re: ide cleanup In-Reply-To: <20020206205332.GA3217@elf.ucw.cz> 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 On Wed, 6 Feb 2002, Pavel Machek wrote: > -#ifdef CONFIG_BLK_DEV_PDC4030 > if (IS_PDC4030_DRIVE) { > extern ide_startstop_t promise_rw_disk(ide_drive_t *, struct request *, unsigned long); > return promise_rw_disk(drive, rq, block); > } > -#endif /* CONFIG_BLK_DEV_PDC4030 */ Am I reading this totally wrong, or do you really think it's a good idea to test for a drive even if the user didn't configure such hardware? -- bill davidsen CTO, TMR Associates, Inc Doing interesting things with little computers since 1979. - 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/