Re: Bug In ide-probe.c in 2.2.10 and +

From: Andre Hedrick (andre@linux-ide.org)
Date: Tue Jun 20 2000 - 00:47:42 EST


Francois,

Been there, done that, get a newer kernel.

hdx=ataflash is the override, provided you have a kerenl that is patched
or using 2.3/2.4 kernel.

We do not deadlock kernels with missing second flash card.

Cheers,

On Mon, 19 Jun 2000, Isabelle, Francois wrote:

> In the following, it is assumed that no mate is present on a interface where
> a sandisk resides, this is not always true. I cannot send a patch at this
> time...
>
> /*
> * 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];
> mate->present = 0;
> mate->noprobe = 1; <============================= can
> be pass as an option instead
> <=== It overrides command line
> parameters here, I suggest removing it
> }
> drive->media = ide_disk;
> printk("ATA DISK drive\n");
> return;
>
> Francois Isabelle - isabellf@teknor.com
> FAE: Designer, Applications Sofware
> FAE: Concepteur, Logiciel d'Applications
> Teknor Applicom, a Kontron Company
> Fax:(450) 437-5254
> Tel:(450) 437-4661 ext: 411
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
The Linux ATA/IDE guy

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jun 23 2000 - 21:00:19 EST