Re: ide cleanup

From: Bill Davidsen (davidsen@tmr.com)
Date: Sat Feb 09 2002 - 13:19:58 EST


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 <davidsen@tmr.com>
  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/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:27 EST