Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263402AbTECT3R (ORCPT ); Sat, 3 May 2003 15:29:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263407AbTECT3R (ORCPT ); Sat, 3 May 2003 15:29:17 -0400 Received: from AMarseille-201-1-2-221.abo.wanadoo.fr ([193.253.217.221]:29992 "EHLO gaston") by vger.kernel.org with ESMTP id S263402AbTECT3Q (ORCPT ); Sat, 3 May 2003 15:29:16 -0400 Subject: Re: Reserving an ATA interface From: Benjamin Herrenschmidt To: Bartlomiej Zolnierkiewicz Cc: Alan Cox , linux-kernel mailing list In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1051990830.7820.72.camel@gaston> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 03 May 2003 21:40:30 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 20 > > With my patch, since the PCI interface will not set the "hold" flag, > > ide_register_hw() called by ide-cs will call init_hwif_data(), thus > > putting back the hwif to a sane state > > So every time you remove your disks from one of your PCI IDE controllers, > your ide-cs will get diffirent hwif and drives mappings and your RAID > on ide-cs won't be recognized ;-) Yes ;) Note that it's already the case today. Except that with the call to init_hwif_data(), at least, it wont crash the kernel because of wrong IOps, DMA ops or whatever in the hwif. Ben. - 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/