Re: Reserving an ATA interface

From: Benjamin Herrenschmidt (benh@kernel.crashing.org)
Date: Sat May 03 2003 - 14:40:30 EST


> > 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/



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:18 EST