IDE-flash device and hard disk on same controller
From: Heater, Daniel (IndSys, GEFanuc, VMIC) (Daniel.Heater@gefanuc.com)
Date: Mon Aug 19 2002 - 13:31:53 EST
- Next message: Ingo Molnar: "Re: [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6"
- Previous message: Dave McCracken: "Re: [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6"
- Next in thread: Alan Cox: "Re: IDE-flash device and hard disk on same controller"
- Reply: Alan Cox: "Re: IDE-flash device and hard disk on same controller"
- Reply: Padraig Brady: "Re: IDE-flash device and hard disk on same controller"
- Maybe reply: Heater, Daniel (IndSys, GEFanuc, VMIC): "RE: IDE-flash device and hard disk on same controller"
- Maybe reply: Warner, Bill (IndSys, GEFanuc, VMIC): "RE: IDE-flash device and hard disk on same controller"
- Maybe reply: Adam J. Richter: "Re: IDE-flash device and hard disk on same controller"
- Maybe reply: Adam J. Richter: "Re: IDE-flash device and hard disk on same controller"
- Maybe reply: Adam J. Richter: "Re: IDE-flash device and hard disk on same controller"
- Maybe reply: Adam J. Richter: "Re: IDE-flash device and hard disk on same controller"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
The IDE driver, file ide-probe.c currently contains this test do prevent
hard drives and IDE-flash devices (ex CompactFlash) from co-existing on the
same IDE controller.
/*
* Prevent long system lockup probing later for non-existant
* slave drive if the hwif is actually a flash memory card of some
variety:
*/
if (drive_is_flashcard(drive)) {
ide_drive_t *mate =
&HWIF(drive)->drives[1^drive->select.b.unit];
if (!mate->ata_flash) {
mate->present = 0;
mate->noprobe = 1;
}
}
This test's assumption that a spinning hard drive cannot coexist on the same
controller as an IDE-flash device is incorrect. I have a working setup with
such a configuration. I don't think that the IDE subsystem should punish
everyone because _some_ hardware cannot tolerate this configuration.
One solution may be to remove this test from the IDE subsystem and force
users with buggy hardware to explicitly disable probing for a second
device. I think the parameters hdx=none or hdx=noprobe should work for
them.
Comments??
-
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/
- Next message: Ingo Molnar: "Re: [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6"
- Previous message: Dave McCracken: "Re: [patch] O(1) sys_exit(), threading, scalable-exit-2.5.31-A6"
- Next in thread: Alan Cox: "Re: IDE-flash device and hard disk on same controller"
- Reply: Alan Cox: "Re: IDE-flash device and hard disk on same controller"
- Reply: Padraig Brady: "Re: IDE-flash device and hard disk on same controller"
- Maybe reply: Heater, Daniel (IndSys, GEFanuc, VMIC): "RE: IDE-flash device and hard disk on same controller"
- Maybe reply: Warner, Bill (IndSys, GEFanuc, VMIC): "RE: IDE-flash device and hard disk on same controller"
- Maybe reply: Adam J. Richter: "Re: IDE-flash device and hard disk on same controller"
- Maybe reply: Adam J. Richter: "Re: IDE-flash device and hard disk on same controller"
- Maybe reply: Adam J. Richter: "Re: IDE-flash device and hard disk on same controller"
- Maybe reply: Adam J. Richter: "Re: IDE-flash device and hard disk on same controller"
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
This archive was generated by hypermail 2b29
: Fri Aug 23 2002 - 22:00:17 EST