* IDE0(Primary)/Slave Detection Problem
@ 2001-07-11 21:57 Adam D. Scislowicz
0 siblings, 0 replies; only message in thread
From: Adam D. Scislowicz @ 2001-07-11 21:57 UTC (permalink / raw)
To: linux-kernel
While looking through ide-probe.c I came across the following code:
/*
* 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;
}
}
In my case I am using a flash card with a normal harddrive as the slave,
but
this code does not allow for that combination. Their must be a better
way to
handle this, or it should at least print, "Flash Disk Detected, Ignoring
Slave"...
-Adam Scislowicz <adams@fourelle.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-11 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-11 21:57 IDE0(Primary)/Slave Detection Problem Adam D. Scislowicz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.