Bug In ide-probe.c in 2.2.10 and +

From: Isabelle, Francois (Isabellf@Teknor.com)
Date: Mon Jun 19 2000 - 13:06:40 EST


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/



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